08b9da8397
drop poh lock after record ( #15930 )
...
(cherry picked from commit 5460fb10a2
)
2021-03-17 17:24:53 -07:00
2bc21ecba2
Allow unbounded wallclock processing time in tests ( #15961 ) ( #15966 )
...
(cherry picked from commit f548a04fae
)
Co-authored-by: carllin <carl@solana.com >
2021-03-18 00:22:06 +00:00
5b2a65fab3
add metrics for tick producer and poh_recorder ( #15931 )
...
(cherry picked from commit 40997d0aef
)
2021-03-17 16:36:50 -07:00
f5d56eabf3
Build full SPL in CI (bp #15886 ) ( #15964 )
...
* Build full SPL in CI
(cherry picked from commit 82269f1351
)
* Avoid changing signature of ProgramTest::add_account
(cherry picked from commit 03180b502d
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-03-17 22:46:55 +00:00
af45efb62c
Notice the user when the --mint, --bpf-program, or --clone arguments are ignored
...
(cherry picked from commit 59c19d9fbf
)
2021-03-17 14:10:14 -07:00
f528cda832
Ignore flaky test_banking_stage_entries_only and test_banking_stage_entryfication ( #15959 )
...
(cherry picked from commit 8a9b51952e
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-03-17 20:34:30 +00:00
eeef9f4e59
Separate snapshot location (bp #15840 ) ( #15956 )
...
* Add option for separate snapshot location
(cherry picked from commit 6126878f509c69e23480a5ec22b3271e2b16e072)
(cherry picked from commit 0209d334bd
)
* Apply suggestions from code review
Co-authored-by: Michael Vines <mvines@gmail.com >
(cherry picked from commit cfb01e26dd
)
* add missed suggestion
(cherry picked from commit a43b3674c7
)
* Revert to snapshots
Co-authored-by: Michael Vines <mvines@gmail.com >
(cherry picked from commit 0b42379ed7
)
* Revert to snapshots 2
(cherry picked from commit 20b53eb4b4
)
* Revert to removing only tmp-
(cherry picked from commit a5d144b00f
)
Co-authored-by: DimAn <diman@diman.io >
Co-authored-by: DimAn <andiman7000@gmail.com >
2021-03-17 20:25:18 +00:00
32124b59e9
Download snapshot files with a tmp-
prefix so they'll automatically be cleaned up if interrupted
...
(cherry picked from commit 58b980f9cd
)
2021-03-17 10:18:18 -07:00
aa9772f9c0
Replace solana-program-test when building example-helloworld
2021-03-17 09:08:41 -07:00
5f183bd773
Add helper for paring down signers to those requried by a tx message (bp #15899 ) ( #15938 )
...
* sdk: Add accessor for signer pubkeys of a tx message
(cherry picked from commit bf33ce8906
)
* clap-utils: Add helper to `CliSignerInfo` for getting signers for a message
(cherry picked from commit 4e99f1e634
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-03-17 07:48:47 +00:00
2238e5001b
solana-install init
can now select a pre-release from Github (#15936 )
...
(cherry picked from commit d9176c1903
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-03-17 04:31:55 +00:00
79fa7ef55c
CLI: Support dumping the TX message in sign-only mode ( #15933 )
...
(cherry picked from commit 672e9c640f
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-03-17 04:13:21 +00:00
07df827411
Bump tokio to 1.1 ( #15926 ) ( #15928 )
...
(cherry picked from commit 654449ce91
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-03-16 23:29:55 +00:00
a259ff0e72
Wallclock BankingStage Throttle ( #15731 ) ( #15890 )
...
(cherry picked from commit c1ba265dd9
)
Co-authored-by: carllin <carl@solana.com >
2021-03-16 21:12:59 +00:00
d7d3e767e7
fix: compute pre/post token balances on all accounts if token program present ( #15900 ) ( #15923 )
...
* fix: compute pre/post token balances on all accounts if token program present
* fix: skip token program in balance query
* fix: prevent program ids from being collected
(cherry picked from commit 61112d4826
)
Co-authored-by: Josh <josh.hundley@gmail.com >
2021-03-16 18:23:29 +00:00
6e8aa9af17
nit: fix spelling ( #15908 ) ( #15911 )
...
(cherry picked from commit 5760cf0f41
)
# Conflicts:
# sdk/src/feature_set.rs
Co-authored-by: Jack May <jack@solana.com >
2021-03-16 10:58:39 -07:00
0236de7bc8
Encourage use of the default --ledger location ( #15921 )
...
(cherry picked from commit 1c261d293f
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-03-16 16:58:14 +00:00
899bd1572a
Show flags for accounts in tx by solana confirm ( #15804 ) ( #15906 )
...
* Show flags for accounts in tx by solana confirm
* Address review comments
* Improve comment a bit
* Apply suggestions from code review
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
* Further apply review suggestions
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
(cherry picked from commit 74aa32175b
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2021-03-16 10:43:06 +00:00
97ec4cd44e
Cli: better estimate of epoch time elapsed/remaining ( #15893 ) ( #15918 )
...
* Add rpc_client api for getRecentPerformanceSamples
* Prep fn for variable avg slot time
* Use recent-perf-samples to more-accurately estimate epoch completed times
* Spell out average
(cherry picked from commit 3726358f51
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-03-16 09:58:51 +00:00
5500970a7e
Add cargo-bpf-test --no-run flag, matching cargo-test ( #15916 )
...
(cherry picked from commit eb19e11688
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-03-16 09:45:35 +00:00
caea04d8d5
Pin solana crate versions to prevent downstream users from accidentally mixing crate versions
2021-03-16 08:41:28 +00:00
b1a90c3580
=1.6.1
2021-03-16 08:41:28 +00:00
5bd4e38345
Charge compute budget for bytes passed via cpi ( #15874 ) ( #15905 )
...
(cherry picked from commit ad9901d7c6
)
Co-authored-by: Jack May <jack@solana.com >
2021-03-16 07:57:32 +00:00
fddba08571
Improve Instruction::new deprecation warning ( #15896 )
...
(cherry picked from commit 8567b41d5f
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-03-16 05:18:31 +00:00
87963764fa
Export tokio for program-test clients
...
(cherry picked from commit 430ed6d774
)
2021-03-15 22:14:17 -07:00
b691a159dd
increment_cargo_version.sh tune ups (bp #15880 ) ( #15892 )
...
* Disallow version bump with dirty working tree
(cherry picked from commit 853e735edf
)
* Ignore `not_paths` for `*.md` files when bumping version
(cherry picked from commit 510760d81b
)
* Also ignore `*/node_modules/*` paths when bumping version
(cherry picked from commit 2bf46b789f
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-03-16 02:07:46 +00:00
5af1d48be8
Display actual account length ( #15875 ) ( #15884 )
...
(cherry picked from commit 60e5fd11c9
)
Co-authored-by: Jack May <jack@solana.com >
2021-03-16 01:01:25 +00:00
3b3ec3313f
Fix real_number_string_trimmed zero-decimal behavior ( #15873 ) ( #15877 )
...
* Add failing test
* Don't strip zeroes from zero-decimal amounts
* Add zero-case test
(cherry picked from commit c40bd5f394
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-03-15 21:33:01 +00:00
be00246fb5
Bump version to v1.6.1
2021-03-15 14:47:58 -06:00
1d80ba9edf
Update cargo lock files on version bump
2021-03-15 14:47:58 -06:00
4bcf976ecd
Fix delinquent stake display ( #15839 )
...
(cherry picked from commit eab182188a
)
Co-authored-by: Michael Vines <mvines@gmail.com >
v1.6.0
2021-03-13 20:27:25 +00:00
186b342453
explorer: Update superstruct ( #15835 )
2021-03-13 13:31:52 +08:00
5b2da19c93
Rpc: support extended config for getConfirmedBlock ( #15827 )
...
* Add rpc confirmed-block config wrapper to support struct of extended config
* Update docs
* Make config wrapper generic and use in getConfirmedTransaction as well
* Update/clean confirmed-tx docs
2021-03-12 22:19:45 +00:00
79280b304b
solana-install update
now updates a named release to the latest patch version
2021-03-12 12:30:51 -08:00
66b4124a68
cli-config: Ovf in ws port calculation
2021-03-12 10:26:15 -07:00
193e370186
frozen-abi: Ovf in digester child depth calculation
2021-03-12 09:41:33 -07:00
14985420fd
frozen-abi: Ovf in enum variant count
2021-03-12 09:41:33 -07:00
567e54aaa3
frozen-abi: disallow integer arithmetic lint
2021-03-12 09:41:33 -07:00
f2865dfd63
requires stakes for propagating crds values through gossip ( #15561 )
2021-03-12 15:50:14 +00:00
be99cef593
explorer: Filter program search results by cluster ( #15820 )
2021-03-12 22:10:38 +08:00
822cb93495
chore: bump @commitlint/travis-cli from 11.0.0 to 12.0.1 in /web3.js ( #15672 )
...
Bumps [@commitlint/travis-cli](https://github.com/conventional-changelog/commitlint ) from 11.0.0 to 12.0.1.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases )
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/conventional-changelog/commitlint/compare/v11.0.0...v12.0.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-12 21:45:25 +08:00
c496177a86
chore: bump bn.js from 5.1.3 to 5.2.0 in /web3.js ( #15673 )
...
Bumps [bn.js](https://github.com/indutny/bn.js ) from 5.1.3 to 5.2.0.
- [Release notes](https://github.com/indutny/bn.js/releases )
- [Changelog](https://github.com/indutny/bn.js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/indutny/bn.js/compare/v5.1.3...v5.2.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-12 21:45:18 +08:00
004f98fba9
chore:(deps): bump @solana/spl-token-registry in /explorer ( #15819 )
...
Bumps [@solana/spl-token-registry](https://github.com/solana-labs/token-list ) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/solana-labs/token-list/releases )
- [Commits](https://github.com/solana-labs/token-list/compare/0.2.0...0.2.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-12 21:44:52 +08:00
918d04e3f0
Add more slot update notifications ( #15734 )
...
* Add more slot update notifications
* fix merge
* Address feedback and add integration test
* switch to datapoint
* remove unused shred method
* fix clippy
* new thread for rpc completed slots
* remove extra constant
* fixes
* rely on channel closing
* fix check
2021-03-12 21:44:06 +08:00
28c27893b9
chore:(deps): bump @sentry/react from 6.2.0 to 6.2.2 in /explorer ( #15818 )
...
Bumps [@sentry/react](https://github.com/getsentry/sentry-javascript ) from 6.2.0 to 6.2.2.
- [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.2.0...6.2.2 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-12 09:17:37 +00:00
e5b644e830
Add trait for saturating arithmetic ( #15812 )
...
* Add SaturatingArithmetic trait
* Use Duration saturating arithmetic
* Use new macro to fix poh_config
2021-03-12 06:22:40 +00:00
cc38ae72e7
Skip deserialization of readonly accounts ( #15813 )
2021-03-11 19:28:21 -08:00
4bbeb9c033
Remove old feature: simple_capitalization ( #15763 )
...
* Remove old feature: simple_capitalization
* Fix another failing test in core
* Finish up test cleanup
* Further clean up a bit
2021-03-12 11:12:40 +09:00
209dbb6f7c
sec: Create private repo as part of new advisory step
2021-03-12 01:40:21 +00:00
952c3bcbb7
AccountSharedData construction ( #15790 )
2021-03-11 18:09:04 -06:00