Commit Graph

12617 Commits

Author SHA1 Message Date
d296963c27 Update validator_list.rs 2020-12-16 20:39:08 -07:00
33de9300d2 explorer: add Kin to token registry (#14168) 2020-12-16 19:29:26 -08:00
5617ab65d8 Revert "Ignore RUSTSEC-2020-0077 until next 1.4 release"
This reverts commit 1792100e2b.
2020-12-17 01:54:22 +00:00
6875113d82 Bump SPL crates 2020-12-17 01:54:22 +00:00
ac0d32bc7e Add blockstore skipped api (#14145)
* Add blockstore api to determine if a slot was skipped

* Return custom rpc error if slot is skipped
2020-12-16 13:40:36 -07:00
636a455790 Create a random -keypair.json file alongside the program deploy artifact for easy upgrades 2020-12-16 19:51:16 +00:00
9993d2c623 Use AsRef 2020-12-16 19:51:16 +00:00
41a93ced23 fix formatting error in docs 2020-12-16 10:38:37 -08:00
bd393b8697 chore: bump byte-unit from 4.0.8 to 4.0.9
Bumps [byte-unit](https://github.com/magiclen/byte-unit) from 4.0.8 to 4.0.9.
- [Release notes](https://github.com/magiclen/byte-unit/releases)
- [Commits](https://github.com/magiclen/byte-unit/compare/v4.0.8...v4.0.9)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-16 10:38:01 -08:00
bebfa6e93c Correctly show reward percent changes 2020-12-16 08:51:41 -08:00
49c3f14016 Remove lock files from programs/bpf/rust (#14148) 2020-12-16 02:14:04 -08:00
125865f7ec chore: bump @babel/preset-env from 7.12.10 to 7.12.11 in /web3.js (#14156)
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.12.10 to 7.12.11.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.11/packages/babel-preset-env)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-16 09:41:20 +00:00
1a86d374a9 chore: bump marked from 1.2.6 to 1.2.7 in /web3.js (#14154)
Bumps [marked](https://github.com/markedjs/marked) from 1.2.6 to 1.2.7.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js)
- [Commits](https://github.com/markedjs/marked/compare/v1.2.6...v1.2.7)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-16 09:27:21 +00:00
281bca1c91 chore:(deps): bump @sentry/react from 5.28.0 to 5.29.0 in /explorer (#14155)
Bumps [@sentry/react](https://github.com/getsentry/sentry-javascript) from 5.28.0 to 5.29.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/5.28.0...5.29.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-16 09:27:15 +00:00
ce9c5142c6 chore: bump assert_cmd from 1.0.1 to 1.0.2 (#14103)
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/assert-rs/assert_cmd/releases)
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v1.0.1...v1.0.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-16 16:22:02 +09:00
025f886e10 check for resize access violations (#14142) 2020-12-15 23:21:08 -08:00
501fd83afd Fix up upgradeable bpf loader activation 2020-12-16 06:36:14 +00:00
3a154e8056 explorer: Token history dropdown filter (#14032)
* feat: add filter on token history card

* rename to filter

* use unicode ellipsis

* better naming

* filter options read better and use just pubkey strings

* memoize filtered list

* only fetch filtered

* pre filter tokens

* fix prettier
2020-12-15 20:19:50 -08:00
db4ac17259 Switch solana deploy commitment default from "max" to "singleGossip" 2020-12-15 19:18:10 -08:00
d4a174fb7c Partial shred deserialize cleanup and shred type differentiation (#14094)
* Partial shred deserialize cleanup and shred type differentiation in retransmit

* consolidate packet hashing logic
2020-12-15 16:50:40 -08:00
aeda8d8b91 Remove stray println 2020-12-15 16:44:31 -08:00
31f8daa73b Update validator_list.rs 2020-12-15 16:58:18 -07:00
00c46c528e Add --reset flag to allow for easy ledger reset 2020-12-15 21:51:37 +00:00
f3272db7f7 Prevent multiple test-validators from using the same ledger directory 2020-12-15 21:51:37 +00:00
d2af09a647 Clean up Cargo.toml 2020-12-15 21:51:37 +00:00
75e9e321de Fix race between setting tick height and calculating accounts hash (#14101)
Co-authored-by: Carl Lin <carl@solana.com>
2020-12-15 12:45:40 -08:00
582418de5e Cleanup ledger builtins (#14083) 2020-12-15 12:23:49 -08:00
1e977ac025 Bump version to v1.6.0 2020-12-15 18:28:04 +00:00
d513b0c4ca Add Program loader/environment instruction errors (#14120) 2020-12-15 09:54:07 -08:00
03fc031611 Update serialization docs 2020-12-15 08:53:51 -08:00
53fe0bb5eb Remove regular expressions, speeds up untar (#14119) 2020-12-15 08:48:21 -08:00
ab98c1f2d4 Add try_find_program_address syscall (#14118) 2020-12-15 08:15:01 -08:00
8dc5f6327c chore: bump rollup from 2.34.2 to 2.35.1 in /web3.js (#14122)
Bumps [rollup](https://github.com/rollup/rollup) from 2.34.2 to 2.35.1.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.34.2...v2.35.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-15 09:25:36 +00:00
833cbf27b1 chore:(deps): bump prettier from 2.2.0 to 2.2.1 in /explorer (#14121)
Bumps [prettier](https://github.com/prettier/prettier) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.2.0...2.2.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-15 09:10:08 +00:00
7c8276d2ac fix: coerce partially decoded instructions on parsed confirmed transactions (#13979)
* feat: coerce partially decoded instructions on parsed confirmed transactions

* fix: flow tests

* fix: need to check this again
2020-12-14 19:22:22 -08:00
c2b7115031 indexes crds values associated with a pubkey (#14088)
record_labels returns all the possible labels for a record identified by
a pubkey, used in updating timestamp of crds values:
https://github.com/solana-labs/solana/blob/1792100e2/core/src/crds_value.rs#L560-L577
https://github.com/solana-labs/solana/blob/1792100e2/core/src/crds.rs#L240-L251
The code relies on CrdsValueLabel to be limited to a small deterministic
set of possible values for a fixed pubkey. As we expand crds values to
include duplicate shreds, this limits what the duplicate proofs can be
keyed by in the table.
In addition the computation of these labels is inefficient and will
become more so as duplicate shreds and more types of crds values are
added. An alternative is to maintain an index of all crds values
associated with a pubkey.
2020-12-15 01:49:22 +00:00
5294f70189 Remove some non-warnings (#14115) 2020-12-14 16:26:17 -08:00
9e90394583 Upgradeable loader (#13689) 2020-12-14 15:35:10 -08:00
79fb646872 Restore coverage build 2020-12-14 22:17:33 +00:00
6fa492b580 Revert "Temporarily disable coverage"
This reverts commit 17ecb8b614.
2020-12-14 22:17:33 +00:00
24be4fc8f8 Add v1.5 and v1.6 backport support 2020-12-14 13:28:01 -08:00
64ae82f681 Update validator_list.rs 2020-12-14 14:24:08 -07:00
e907510a1a clippy 2020-12-14 13:11:50 -08:00
42be09afb6 Terminology fixes (#14112) 2020-12-14 13:04:26 -08:00
eb35c03bef Fida token (#14111) 2020-12-14 08:11:13 -08:00
9593ba9092 Temporarily disable coverage 2020-12-14 08:03:29 -08:00
7143aaa89b Clippy 2020-12-14 08:03:29 -08:00
0d139d7ef3 Upgrade to Rust 1.48.0 2020-12-14 08:03:29 -08:00
de9ac43ebf Simple cap by including sysvars and native programs (#13884)
* Simpler cap by including sysvars and native programs

* Fix tests

* Add comment

* revert some unrelated code

* Update test_bank_update_sysvar_account for cap.

* Test cap. for add_native_program using new helper

* Improve the cap adjustment with new tests

* Fix typo...

* Adjust test for improved code coverage

* Rename simpler_capitalization => simple_capitalization

* More rename and bonus commenting
2020-12-14 21:03:24 +09:00
4bcc8afdc0 chore: bump typescript from 4.1.2 to 4.1.3 in /web3.js (#14109)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-14 10:48:13 +00:00