Commit Graph

12524 Commits

Author SHA1 Message Date
88ae321d3f Add counter metrics to rpc-subscriptions (#13596) 2020-11-14 12:40:24 -07:00
b37d73cd56 chore: bump ws from 7.3.1 to 7.4.0 in /web3.js
Bumps [ws](https://github.com/websockets/ws) from 7.3.1 to 7.4.0.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.3.1...7.4.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-14 08:32:17 -08:00
2b309ec046 chore: bump eslint from 7.12.1 to 7.13.0 in /web3.js
Bumps [eslint](https://github.com/eslint/eslint) from 7.12.1 to 7.13.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.12.1...v7.13.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-14 08:31:57 -08:00
e57001e5cd chore: bump buffer from 6.0.1 to 6.0.2 in /web3.js
Bumps [buffer](https://github.com/feross/buffer) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/feross/buffer/releases)
- [Commits](https://github.com/feross/buffer/compare/v6.0.1...v6.0.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-14 08:31:45 -08:00
fc54fb88ae chore: bump futures from 0.3.5 to 0.3.8
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.5 to 0.3.8.
- [Release notes](https://github.com/rust-lang/futures-rs/releases)
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.5...0.3.8)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-14 08:31:19 -08:00
baa6b3a261 Add stable program logging for BPF and native programs 2020-11-14 08:26:01 -08:00
13f3043c8a tell curl to follow redirects to fix net scripts (#13589) 2020-11-13 19:56:37 -08:00
34bf80ba9c Send pubsub metrics to metrics server (#13584) 2020-11-13 19:31:23 +00:00
887b0e4b72 Add doc content and feedback (#13563) 2020-11-13 10:18:04 -08:00
01a4889b53 clippy 2020-11-13 07:21:38 -08:00
d611337394 Fix overflow in entry hash count verification 2020-11-13 07:21:38 -08:00
c97a7d1105 Small cleaning update_epoch_stakes (#13576) 2020-11-13 11:16:38 +00:00
a8a77614fe Fix potential undefined behavior (#13555)
* Switch to ouroboros 0.5.1

* Update other lock files
2020-11-13 18:12:41 +09:00
cbcde43765 chore:(deps): bump @types/react-select in /explorer (#13574)
Bumps [@types/react-select](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-select) from 3.0.25 to 3.0.26.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-select)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-13 09:09:33 +00:00
6dc735e996 ip-echo-server: Don't use framed decoder, it can't be read-limited 2020-11-13 07:53:19 +00:00
328f59ebef --gossip-host may now be specified with --entrypoint 2020-11-13 06:20:15 +00:00
9f95704706 Add --offline flag 2020-11-12 20:03:12 -08:00
48dd9f7efd Move secp256k1 instruction helper to the sdk (#13560) 2020-11-12 16:58:40 -08:00
c1f3f9d27b Stop searching for incorrect shred version after a minute (#13512) 2020-11-12 14:01:13 -08:00
598e5f58d5 Add wait for max stake command (#13532) 2020-11-12 13:48:34 -08:00
30ef53cb13 fix bpf lddw check (#13554) 2020-11-12 13:13:42 -08:00
4e4e12b384 filters out offline nodes from pull options (#13533)
Inactive nodes are still observing incoming gossip traffic:
https://discord.com/channels/428295358100013066/670512312339398668/776140351291260968
likely because of pull-requests.

Previous related issues and commits:
https://github.com/solana-labs/solana/issues/12409
https://github.com/solana-labs/solana/pull/12620
https://github.com/solana-labs/solana/pull/12674

This commit implements same logic as
https://github.com/solana-labs/solana/pull/12674
to exclude inactive nodes from pull options, with the same periodic
retry logic for offline staked nodes in order to mitigate eclipse
attack.
2020-11-12 16:09:37 +00:00
9821a7754c Discard pre hard fork persisted tower if hard-forking (#13536)
* Discard pre hard fork persisted tower if hard-forking

* Relax config.require_tower

* Add cluster test

* nits

* Remove unnecessary check

Co-authored-by: Ryo Onodera <ryoqun@gmail.com>
Co-authored-by: Carl Lin <carl@solana.com>
2020-11-12 23:29:04 +09:00
cfa598616e chore:(deps): bump @testing-library/react in /explorer (#13549)
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 11.1.1 to 11.1.2.
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-testing-library/compare/v11.1.1...v11.1.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-12 09:09:43 +00:00
76b5066dc9 chore:(deps): bump @solana/web3.js from 0.86.4 to 0.87.0 in /explorer (#13548)
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 0.86.4 to 0.87.0.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases)
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.86.4...v0.87.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-12 09:09:34 +00:00
554060b3c5 explorer: Add additional tokens and icons to registry (#13544)
* Add NFTs to the explorer
* Add missing tokens
2020-11-11 22:19:42 -08:00
d2cfeb31b9 ip-echo-server: Limit socket read to expected reply length 2020-11-12 05:53:18 +00:00
7481ba5618 ip-echo-server: Add helper to compute reply length 2020-11-12 05:53:18 +00:00
aab5f24518 ip-echo-server: Name the header length magic number 2020-11-12 05:53:18 +00:00
114b91afe6 program-test now generates new blockhashes for test usage 2020-11-11 20:29:00 -08:00
dadea873a9 Send BanksClient RPC requests before returning futures (#13539)
* Send RPC requests before returning futures

* Add process_transactions()
2020-11-11 18:56:26 -07:00
eb306da148 Report and bail on broken links (#13540) 2020-11-11 17:46:24 -08:00
89b474e192 Fix slow/stuck unstaking due to toggling in epoch (#13501)
* Fix slow/stuck unstaking due to toggling in epoch

* nits

* nits

* Add stake_program_v2 feature status check to cli

Co-authored-by: Tyera Eulberg <tyera@solana.com>
2020-11-11 14:11:57 -07:00
38f15e41b5 Validator: Periodically log what we're waiting for during --wait-for-supermajority 2020-11-11 20:03:26 +00:00
58354d166b feat: increase timeout in confirmTransaction (#13478)
Developers have reported needing to change the timeout to suit their
use cases, or not completely understanding what the timeout meant for
their transaction, since it could timeout and still get processed.  This
increases the default timeout to `confirmTransaction` and adds more
information to the error message.
2020-11-11 13:12:09 +01:00
ab70c15709 chore:(deps): bump @testing-library/user-event in /explorer (#13526)
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 12.2.0 to 12.2.2.
- [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.2.0...v12.2.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-11 09:10:00 +00:00
58724cb687 Use a non-zero fee_calculator for a more realistic test environment 2020-11-11 00:46:28 -08:00
e390c8cb7f Add stubs and heap region definitions (#13521)
* Add stubs and heap region definitions

* nudge
2020-11-11 05:50:16 +00:00
2660b44d91 Remove need for BanksClientExt trait (#13519) 2020-11-10 19:30:25 -07:00
2c2432fddc Refactor function (#13294)
Co-authored-by: Carl Lin <carl@solana.com>
2020-11-10 17:20:35 -08:00
91f4e99b4c Fix parsing CreateAccountWithSeed instructions (#13513)
* Reduce required num_system_accounts and handle 2-account instructions properly

* Update CreateAccountWithSeed account docs to be correct

* Add CreateAccountWithSeed test
2020-11-10 23:51:53 +00:00
9ca8e98525 Add printf declaration (#13514) 2020-11-10 23:40:48 +00:00
23c558510a add missing c logging stubs (#13511) 2020-11-10 22:19:54 +00:00
2a96e722b4 watchtower: Fix all clear duration message 2020-11-10 09:20:39 -08:00
599dae8f09 Make testnet section less ambiguous (#13504) 2020-11-10 10:03:57 -07:00
3282334741 Bump token version fetched for localnet (#13490) 2020-11-10 10:00:08 -07:00
70c4626efe Fix signature access (#13491) 2020-11-10 08:35:03 -08:00
a97c04b400 Send RPC notification when account is deleted (#13440)
* Send RPC notification when account is deleted

* Remove unwrap
2020-11-10 19:48:42 +08:00
122b707a7d chore:(deps): bump @types/node from 14.14.6 to 14.14.7 in /explorer (#13494)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.6 to 14.14.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-10 09:13:11 +00:00
f9719361a5 chore:(deps): bump @types/react-select in /explorer (#13493)
Bumps [@types/react-select](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-select) from 3.0.23 to 3.0.25.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-select)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-10 09:10:49 +00:00