Commit Graph

13358 Commits

Author SHA1 Message Date
d679eff3fa fix: remove old hotfix for web3 inner instructions (#15604) 2021-03-01 13:44:43 -08:00
ccb604f8c3 Pass audit ignores to bpf program audit 2021-03-01 21:10:46 +00:00
85252777a6 Add RUSTSEC-2020-0146 to audit ignores 2021-03-01 21:10:46 +00:00
ef63ffce7d Bump ed25519-dalek to 1.0.1 2021-03-01 21:10:46 +00:00
24af9961d2 hotfix: explorer temporary disable vote instruction card (#15596) 2021-03-01 18:05:51 +00:00
aee7012aed Update validator_list.rs 2021-03-01 10:07:57 -07:00
23535bb032 Update validator_list.rs 2021-03-01 10:00:20 -07:00
abe7fbde13 Update validator_list.rs 2021-03-01 09:57:31 -07:00
8a06fc8846 chore: bump @typescript-eslint/parser from 4.15.1 to 4.15.2 in /web3.js (#15594)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.15.1 to 4.15.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.15.2/packages/parser)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-01 13:09:07 +00:00
ebb298819f chore: bump rollup from 2.39.0 to 2.40.0 in /web3.js (#15593)
Bumps [rollup](https://github.com/rollup/rollup) from 2.39.0 to 2.40.0.
- [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.39.0...v2.40.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-01 12:43:49 +00:00
0946691209 chore: bump @rollup/plugin-replace from 2.4.0 to 2.4.1 in /web3.js (#15592)
Bumps [@rollup/plugin-replace](https://github.com/rollup/plugins) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/replace-v2.4.0...replace-v2.4.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-01 11:58:05 +00:00
a03a412468 chore: bump @babel/plugin-proposal-class-properties in /web3.js (#15591)
Bumps [@babel/plugin-proposal-class-properties](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-class-properties) from 7.12.13 to 7.13.0.
- [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.13.0/packages/babel-plugin-proposal-class-properties)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-01 11:30:13 +00:00
958b2281bb chore:(deps): bump @project-serum/serum in /explorer (#15590)
Bumps [@project-serum/serum](https://github.com/project-serum/serum-ts) from 0.13.23 to 0.13.24.
- [Release notes](https://github.com/project-serum/serum-ts/releases)
- [Commits](https://github.com/project-serum/serum-ts/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-01 10:31:10 +00:00
f1d4c58d28 chore: bump @babel/runtime from 7.12.18 to 7.13.8 in /web3.js (#15587)
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) from 7.12.18 to 7.13.8.
- [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.13.8/packages/babel-runtime)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-01 10:08:53 +00:00
2e54138efc chore:(deps): bump @solana/spl-token-registry in /explorer (#15588)
Bumps [@solana/spl-token-registry](https://github.com/solana-labs/token-list) from 0.1.7 to 0.1.9.
- [Release notes](https://github.com/solana-labs/token-list/releases)
- [Commits](https://github.com/solana-labs/token-list/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-01 10:06:14 +00:00
5b9fbc6f53 chore:(deps): bump @testing-library/user-event in /explorer (#15586)
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 12.7.3 to 12.8.0.
- [Release notes](https://github.com/testing-library/user-event/releases)
- [Changelog](https://github.com/testing-library/user-event/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/user-event/compare/v12.7.3...v12.8.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-01 09:36:40 +00:00
ae96ba3459 Plumb slot update pubsub notifications (#15488) 2021-02-28 23:29:11 -08:00
33eaa2b238 Sort forks in "ledger processed..." log message 2021-02-28 17:32:50 -08:00
334b581df2 Skip poh speed test for local demo (#15580) 2021-02-28 13:03:56 -08:00
21e08b5b2c CLI: Support querying fees by blockhash 2021-02-27 12:45:14 -07:00
ebd56f7ff4 cli-output: Minor refactor of CliFees 2021-02-27 12:45:14 -07:00
3998807dcc Update testnet break RPC node identity 2021-02-27 09:34:04 -08:00
30c7ac2157 SoM: Support destaking based on infrastructure concentration 2021-02-27 09:46:44 +00:00
c35ca969b5 SoM: Add client for validators.app API 2021-02-27 09:46:44 +00:00
e7895e4411 notifier: Add log notifier 2021-02-27 09:46:44 +00:00
97eaf3c334 Fix finalize_dead_slot_removal() of cached slots decrementing refcount (#15534) 2021-02-26 17:49:37 -08:00
e92cff3efa create-snapshot subcommad now accepts the ROOT keyword 2021-02-26 16:40:10 -08:00
501696243f --help cleanup 2021-02-26 16:40:10 -08:00
9142a17bc2 Update validator_list.rs 2021-02-26 17:27:00 -07:00
e7bb1b7cd5 feat: introduce upgradeable bpf loader instruction cards (#15563)
* feat: introduce upgradeable bpf loader instruction cards

* feat: text-muted datatype labels consistently
2021-02-26 15:50:37 -08:00
b934e1af17 Update validator_list.rs 2021-02-26 16:48:57 -07:00
f7a049f87f coalesces vote packets into one Packets (#15566) 2021-02-26 23:23:08 +00:00
8399851d11 check program owners (#15495)
* check program owners

* BankSlotDelta should change because InstructionError variant added

Co-authored-by: Tyera Eulberg <tyera@solana.com>
2021-02-26 22:21:34 +00:00
d47f1fae40 Check delinquency before restarting 2021-02-26 13:34:04 -08:00
0dc482e987 Add wait-for-restart-window subcommand 2021-02-26 13:34:04 -08:00
6f3964c8cb Update validator_list.rs 2021-02-26 13:01:08 -07:00
28a8f142fc feat: standardize timestamps throughout explorer (#15562)
* feat: timestamps should use local time everywhere but cluster stats, monospace text

* feat: normalize timestamp through explorer
2021-02-26 18:47:03 +00:00
05409e51ce Increase tpu coalescing and add parameter (#15536)
Should create larger entries on average
2021-02-26 09:15:45 -08:00
5a9896706c indexes epoch slots in crds table (#15459)
ClusterInfo::get_epoch_slots_since scans the entire crds table to obtain
epoch-slots inserted since a timestamp:
https://github.com/solana-labs/solana/blob/013daa8f4/core/src/cluster_info.rs#L1245-L1262
The alternative is to index epoch-slots in crds table ordered by their
insert timestamp.
2021-02-26 14:12:04 +00:00
d5f4058968 chore:(deps): bump @solana/web3.js from 0.92.2 to 0.93.0 in /explorer (#15558)
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 0.92.2 to 0.93.0.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases)
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.92.2...v0.93.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-26 09:39:22 +00:00
1c22facc4a chore:(deps): bump @types/chart.js from 2.9.29 to 2.9.31 in /explorer (#15557)
Bumps [@types/chart.js](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chart.js) from 2.9.29 to 2.9.31.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chart.js)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-26 09:28:27 +00:00
27582a489d chore:(deps): bump @solana/spl-token-registry in /explorer (#15556)
Bumps [@solana/spl-token-registry](https://github.com/solana-labs/token-list) from 0.1.4 to 0.1.7.
- [Release notes](https://github.com/solana-labs/token-list/releases)
- [Commits](https://github.com/solana-labs/token-list/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-26 09:13:34 +00:00
bb06817e16 feat: update superstruct and future proof type validations (#15491)
* chore: update superstruct

* fix: fix program account notification type coercion
2021-02-26 15:06:12 +08:00
d866f742e2 fix: createAccountWithSeed account handling (#15482) 2021-02-25 23:47:22 -07:00
817b163703 Stop removing stake from neutral nodes
This PR is a proposal to not remove stake from nodes that couldn't get any slot because their stake was too small.

This happened in testnet with at least 2 pubkeys:
ED3Y3cuH3wtHXT8TmbDE5toHU6kwQzevWtvkP6rGFNgc
5dB4Ygb8Sf3Sssdxxrpbb4NFX9bMrYnieiz11Vr5xJkJ

They were good producers in epoch 162 and in #tds-stake they were given 50k bonus stake.

But epoch 163 was a special one, lots of new joiners made nodes with a few stake (less than 1k) have a zero slot schedule.

Check lines 479 to 485. If a node didn't get a slot, the node is not considered a quality neither a poor producer, which is correct.

But removing its bonus stake in the line 1032 to 1050 is not correct IMHO...

We should consider someone good until they prove they are bad right? And if you don't give a single slot (chance) for them to prove there's no reason to say they were bad....

Thanks and I'm happy to discuss this more...
2021-02-25 20:08:48 -08:00
9b204febf3 Add accounts cluster bench (#14096)
* Add accounts cluster bench

* Transaction executor

* Re-allow clippy::integer_arithmetic

* Enable spl-token accounts and fixup transaction send/conf

* saturating_sub for debug builds

* Initialize RpcClients with confirmed commitment

Co-authored-by: Tyera Eulberg <tyera@solana.com>
2021-02-25 19:51:46 -08:00
d62c8e7f3b fix: explorer vote card has incorrect timestamp conversion (#15552) 2021-02-26 03:22:12 +00:00
a6b9327cd0 Fix root scan in ledger tool (#15532) 2021-02-25 15:52:16 -08:00
28a9926ba1 Log devbuild branch and commit for locally built testnet (#15541) 2021-02-25 14:57:40 -07:00
1ad2c9f741 Revert "Make UiTokenAmount::ui_amount a String (#15447)" (#15542)
This reverts commit d14374bc9f.
2021-02-25 21:53:40 +00:00