Jeff Washington (jwash)
802fd49905
typo ( #14774 )
2021-01-22 13:36:26 -06:00
Trent Nelson
e9c98f2416
CLI: Don't scare the users
2021-01-22 11:16:27 -07:00
Trent Nelson
90e1778cd2
CLI: Allow missing pubkey in `--verbose` config output
2021-01-22 11:16:27 -07:00
Trent Nelson
8f8d593457
CLI: Strive for at least one signer
2021-01-22 11:16:27 -07:00
Jeff Washington (jwash)
18bd0c9a5b
speed up merkle calculation ( #14710 )
2021-01-22 09:21:50 -06:00
dependabot[bot]
e31eb09e3e
chore:(deps): bump @testing-library/user-event in /explorer ( #14769 )
...
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event ) from 12.6.0 to 12.6.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.6.0...v12.6.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-22 09:25:07 +00:00
dependabot[bot]
37ad3b6c6d
chore:(deps): bump @sentry/react from 6.0.0 to 6.0.1 in /explorer ( #14768 )
...
Bumps [@sentry/react](https://github.com/getsentry/sentry-javascript ) from 6.0.0 to 6.0.1.
- [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/6.0.0...6.0.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-22 09:08:39 +00:00
Tyera Eulberg
71e9958e06
Rpc: Add custom error for BigTable data not found ( #14762 )
...
* Expose not-found bigtable error
* Add custom rpc error for bigtable data not found
* Return custom rpc error when bigtable block is not found
* Generalize long-term storage
2021-01-22 04:40:47 +00:00
Trent Nelson
12410541a4
CLI: Add `calculate-rent` subcommand
2021-01-21 15:45:05 -07:00
Trent Nelson
2820d0a23d
cli-output: Genericize `writeln_name_value()`
2021-01-21 15:45:05 -07:00
behzad nouri
e4da6761a7
fixes test_filter_current flakiness ( #14749 )
2021-01-21 21:53:10 +00:00
Michael Vines
3c6dbd21d2
Add ic_msg()/ic_logger_msg() macros
2021-01-21 21:41:33 +00:00
Tyera Eulberg
ca95302038
Update bigtable confirm to use confirmation_status ( #14750 )
2021-01-21 20:36:11 +00:00
sakridge
ca7914aa3d
Partial accounts clean ( #14652 )
...
Clean less keys by tracking the two cases:
* Touched keys per slot in uncleaned_keys derived from
accounts delta hash operation.
* Set of keys with any zero-lamport updates.
2021-01-21 11:01:53 -08:00
behzad nouri
d52c94a366
adds missing block_time field ( #14743 )
2021-01-21 18:29:48 +00:00
behzad nouri
8e581601d6
patches crds vote-index assignment bug ( #14438 )
...
If tower is full, old votes are evicted from the front of the deque:
https://github.com/solana-labs/solana/blob/2074e407c/programs/vote/src/vote_state/mod.rs#L367-L373
whereas recent votes if expire are evicted from the back:
https://github.com/solana-labs/solana/blob/2074e407c/programs/vote/src/vote_state/mod.rs#L529-L537
As a result, from a single tower_index scalar, we cannot infer which crds-vote
should be overwritten:
https://github.com/solana-labs/solana/blob/2074e407c/core/src/crds_value.rs#L576
In addition there is an off by one bug in the existing code. tower_index is
bounded by MAX_LOCKOUT_HISTORY - 1:
https://github.com/solana-labs/solana/blob/2074e407c/core/src/consensus.rs#L382
So, it is at most 30, whereas MAX_VOTES is 32:
https://github.com/solana-labs/solana/blob/2074e407c/core/src/crds_value.rs#L29
Which means that this branch is never taken:
https://github.com/solana-labs/solana/blob/2074e407c/core/src/crds_value.rs#L590-L593
so crds table alwasys keeps 29 **oldest** votes by wallclock, and then
only overrides the 30st one each time. (i.e a tally of only two most
recent votes).
2021-01-21 13:08:07 +00:00
dependabot[bot]
fcd72f309a
chore: bump semantic-release from 17.3.4 to 17.3.6 in /web3.js ( #14740 )
...
Bumps [semantic-release](https://github.com/semantic-release/semantic-release ) from 17.3.4 to 17.3.6.
- [Release notes](https://github.com/semantic-release/semantic-release/releases )
- [Commits](https://github.com/semantic-release/semantic-release/compare/v17.3.4...v17.3.6 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-21 09:54:55 +00:00
dependabot[bot]
f8e6969eb2
chore:(deps): bump @solana/web3.js from 0.90.0 to 0.90.1 in /explorer ( #14737 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.90.0 to 0.90.1.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.90.0...v0.90.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-21 09:26:22 +00:00
dependabot[bot]
ebc97b711a
chore: bump rollup from 2.37.0 to 2.37.1 in /web3.js ( #14736 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.37.0 to 2.37.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.37.0...v2.37.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-21 09:24:20 +00:00
Jack May
aa96ad042b
Add signer/writable de/escalation tests ( #14726 )
2021-01-21 09:19:46 +00:00
Michael Vines
04ce33a04e
Ensure sanitary transactions
2021-01-20 23:59:32 -08:00
Michael Vines
e9b5d65f40
`solana decode-transaction` no longer panics on unsanitary transactions
2021-01-20 23:59:32 -08:00
Michael Vines
5ac536d0fb
Minor doc clarification
2021-01-20 23:58:39 -08:00
Josh
1e45b3e6d2
explorer: introduce transfer with seed instruction card ( #14730 )
2021-01-20 23:49:32 -08:00
Michael Vines
072e5e54d8
Add generalized voting process to enable full inflation
2021-01-20 23:37:21 -08:00
Josh
1de6d28eaf
Add block_time to getConfirmedSignaturesForAddress2 and getConfirmedTransaction ( #14572 )
...
* add block_time to get_confirmed_signatures_for_address2 and protobuf implementation for tx_by_addr
* add tests for convert
* update cargo lock
* run cargo format after rebase
* introduce legacy TransactionByAddrInfo
* move LegacyTransactionByAddrInfo back to storage-bigtable
2021-01-20 22:10:35 -08:00
Trent Nelson
447e3de1f2
Nonce address doesn't sign AdvanceNonceAccount
2021-01-21 04:14:36 +00:00
Trent Nelson
7c48743669
fix(web3): align doc comments with class field names
2021-01-21 03:51:11 +00:00
Tyera Eulberg
0e87572eb0
Return confirmation-status ( #14709 )
2021-01-20 18:32:48 -07:00
Trent Nelson
2783aee483
SDK: Sanitize base58 signature input
2021-01-20 23:59:26 +00:00
Trent Nelson
250b3969d4
SDK: Sanitize base58 pubkey input
2021-01-20 23:59:26 +00:00
Tyera Eulberg
c64d4f7693
Default to highest finalized block if no slot provided ( #14701 )
2021-01-20 13:51:57 -07:00
Tyera Eulberg
a7086a0f83
Cli: promote commitment to a global arg + config.yml ( #14684 )
...
* Make commitment a global arg
* Add commitment to solana/cli/config.yml
* Fixup a couple Display/Verbose bugs
2021-01-20 09:48:10 -07:00
Dan Albert
ed90ef76d4
Update validator_list.rs
2021-01-20 08:50:01 -07:00
dependabot[bot]
df8cafe941
chore:(deps): bump @types/node from 14.14.21 to 14.14.22 in /explorer ( #14690 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.14.21 to 14.14.22.
- [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>
2021-01-20 10:20:21 +00:00
dependabot[bot]
9003d8f808
chore: bump semantic-release from 17.3.3 to 17.3.4 in /web3.js ( #14688 )
...
Bumps [semantic-release](https://github.com/semantic-release/semantic-release ) from 17.3.3 to 17.3.4.
- [Release notes](https://github.com/semantic-release/semantic-release/releases )
- [Commits](https://github.com/semantic-release/semantic-release/compare/v17.3.3...v17.3.4 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-20 09:53:08 +00:00
dependabot[bot]
dfd265b971
chore:(deps): bump @sentry/react from 5.30.0 to 6.0.0 in /explorer ( #14689 )
...
Bumps [@sentry/react](https://github.com/getsentry/sentry-javascript ) from 5.30.0 to 6.0.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.30.0...6.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-20 09:49:58 +00:00
dependabot[bot]
7f79c70831
chore:(deps): bump bootstrap from 4.5.3 to 4.6.0 in /explorer ( #14687 )
...
Bumps [bootstrap](https://github.com/twbs/bootstrap ) from 4.5.3 to 4.6.0.
- [Release notes](https://github.com/twbs/bootstrap/releases )
- [Commits](https://github.com/twbs/bootstrap/compare/v4.5.3...v4.6.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-20 09:22:44 +00:00
dependabot[bot]
3ca8295ec5
chore: bump rollup from 2.36.2 to 2.37.0 in /web3.js ( #14686 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.36.2 to 2.37.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.36.2...v2.37.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-20 09:21:11 +00:00
carllin
2745b79b74
Parallel cache scan ( #14544 )
...
* Parallel cache scan
* PR comments
* PR comments
Co-authored-by: Carl Lin <carl@solana.com>
2021-01-20 08:50:17 +00:00
Jack May
a480b63234
Bail on small deploy buffers ( #14677 )
2021-01-20 01:56:44 +00:00
Jack May
e3bd9e5300
Prevent the invoke and upgrade of programs in the same tx batch ( #14653 )
...
* Prevent the invoke and upgrade of programs in the same tx batch
* Pass program address as writable in the upgrade instruction
2021-01-19 16:24:44 -08:00
Tyera Eulberg
4964b0fe61
Cli: default to single gossip ( #14673 )
...
* Init cli RpcClient with chosen commitment; default to single_gossip
* Fill in missing client methods
* Cli tests: make RpcClient commitment specific
* Simply rpc_client calls, using configured commitment
* Check validator vote account with single-gossip commitment
2021-01-19 15:33:03 -07:00
Michael Vines
fba4e51171
Add retries for getConfirmBlocks RPC operations for robustness
2021-01-19 21:08:07 +00:00
Michael Vines
e99d7d3458
Require a notifier before affecting stake
2021-01-19 11:01:08 -08:00
Michael Vines
332371635d
Generalize notification handling
2021-01-19 11:01:08 -08:00
Ryo Onodera
dcaa025822
Configure Bigtable's timeout, enabling by default ( #14657 )
...
* Configure bigtable's timeout when read-only
* Review comments
* Apply nits (thanks!)
Co-authored-by: Michael Vines <mvines@gmail.com>
* Timeout in the streamed decoding as well
Co-authored-by: Michael Vines <mvines@gmail.com>
2021-01-19 13:57:16 +00:00
dependabot[bot]
8a604de3c3
chore:(deps): bump @types/bn.js from 4.11.6 to 5.1.0 in /explorer ( #14666 )
...
Bumps [@types/bn.js](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/bn.js ) from 4.11.6 to 5.1.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/bn.js )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-19 09:31:11 +00:00
dependabot[bot]
cbbfeb8f3e
chore: bump eslint-config-prettier from 7.0.0 to 7.2.0 in /web3.js ( #14665 )
...
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 7.0.0 to 7.2.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v7.0.0...v7.2.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-19 09:31:02 +00:00
dependabot[bot]
cb868dd6ad
chore:(deps): bump @project-serum/serum in /explorer ( #14664 )
...
Bumps [@project-serum/serum](https://github.com/project-serum/serum-ts ) from 0.13.18 to 0.13.19.
- [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-01-19 09:11:35 +00:00