e4032ec87f
Ignore flaky test_banking_stage_entries_only and test_banking_stage_entryfication ( #15958 )
...
(cherry picked from commit 8a9b51952e
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-03-17 20:25:13 +00:00
e3bab5a987
Revert to removing only tmp-
...
(cherry picked from commit a5d144b00f
)
2021-03-17 11:13:42 -07:00
5f426ee2dc
Revert to snapshots 2
...
(cherry picked from commit 20b53eb4b4
)
2021-03-17 11:13:42 -07:00
a76426514e
Revert to snapshots
...
Co-authored-by: Michael Vines <mvines@gmail.com >
(cherry picked from commit 0b42379ed7
)
2021-03-17 11:13:42 -07:00
4c48740647
add missed suggestion
...
(cherry picked from commit a43b3674c7
)
2021-03-17 11:13:42 -07:00
d9c7f78717
Apply suggestions from code review
...
Co-authored-by: Michael Vines <mvines@gmail.com >
(cherry picked from commit cfb01e26dd
)
2021-03-17 11:13:42 -07:00
305fbe38e9
Add option for separate snapshot location
...
(cherry picked from commit 6126878f509c69e23480a5ec22b3271e2b16e072)
(cherry picked from commit 0209d334bd
)
2021-03-17 11:13:42 -07:00
a6b7cc202a
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:14 -07:00
3584a764f9
Replace solana-program-test when building example-helloworld
2021-03-17 09:09:08 -07:00
eed62bc408
Add helper for paring down signers to those requried by a tx message (bp #15899 ) ( #15937 )
...
* 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 05:22:40 +00:00
6a334a8bef
CLI: Support dumping the TX message in sign-only mode ( #15932 )
...
(cherry picked from commit 672e9c640f
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-03-17 04:41:08 +00:00
be05c8b121
Bump version to 1.5.16
2021-03-16 13:29:52 -07:00
9bd3773934
nit: fix spelling ( #15908 ) ( #15910 )
...
(cherry picked from commit 5760cf0f41
)
Co-authored-by: Jack May <jack@solana.com >
v1.5.15
2021-03-16 11:51:15 -07:00
999f81c56d
Charge compute budget for bytes passed via cpi (bp #15874 ) ( #15904 )
...
* Charge compute budget for bytes passed via cpi (#15874 )
(cherry picked from commit ad9901d7c6
)
# Conflicts:
# programs/bpf_loader/src/syscalls.rs
# sdk/src/feature_set.rs
# sdk/src/process_instruction.rs
* fix conflicts
* nudge
Co-authored-by: Jack May <jack@solana.com >
2021-03-16 18:47:40 +00:00
1967b90489
fix: compute pre/post token balances on all accounts if token program present ( #15900 ) ( #15922 )
...
* 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:46:53 +00:00
22ca850ce7
Add AccountSharedData stub for forwards compatibility with the v1.6 release line
2021-03-16 11:36:10 -07:00
824daab8f6
Cli: better estimate of epoch time elapsed/remaining (bp #15893 ) ( #15917 )
...
* Cli: better estimate of epoch time elapsed/remaining (#15893 )
* 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
)
# Conflicts:
# cli-output/src/cli_output.rs
* Fix conflict
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-03-16 17:59:31 +00:00
191e51b01d
Wallclock BankingStage Throttle ( #15731 ) ( #15889 )
...
(cherry picked from commit c1ba265dd9
)
Co-authored-by: carllin <carl@solana.com >
2021-03-16 08:40:03 +00:00
0de081c776
Pin solana crate versions to prevent downstream users from accidentally mixing crate versions
2021-03-16 00:32:15 -07:00
9a151259b2
=1.5.15
2021-03-16 00:32:15 -07:00
3da1f67d40
Build full SPL in CI
2021-03-15 23:30:35 -07:00
39a2fbe2bf
Add Instruction::new_with_bincode
...
Programs can now prepare for the deprecation of `Instruction::new` in v1.6
2021-03-16 05:21:33 +00:00
7a08d47588
Export tokio for program-test clients ( #15894 )
...
(cherry picked from commit 430ed6d774
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-03-16 05:03:03 +00:00
3f3f3bb443
increment_cargo_version.sh tune ups (bp #15880 ) ( #15891 )
...
* 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 01:58:15 +00:00
e2f893d743
Fix real_number_string_trimmed zero-decimal behavior ( #15873 ) ( #15876 )
...
* 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 23:45:36 +00:00
1a66968126
Update cargo lock files on version bump
2021-03-15 20:54:55 +00:00
437f0bb8c6
Rpc: support extended config for getConfirmedBlock (bp #15827 ) ( #15832 )
...
* 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
(cherry picked from commit 5b2da19c93
)
# Conflicts:
# core/src/rpc.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-03-13 00:02:26 +00:00
16f8fcd711
solana-install update
now updates a named release to the latest patch version (bp #15828 ) ( #15830 )
...
* `solana-install update` now updates a named release to the latest patch version
(cherry picked from commit 79280b304b
)
# Conflicts:
# install/Cargo.toml
* resolve conflicts
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-03-12 22:27:05 +00:00
f511625887
Add more slot update notifications (bp #15734 ) ( #15821 )
...
* 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
(cherry picked from commit 918d04e3f0
)
* fix tests
* fix fmt
Co-authored-by: Justin Starry <justin@solana.com >
2021-03-12 15:25:45 +00:00
4c3bfcaedf
Remove old feature: simple_capitalization (bp #15763 ) ( #15814 )
...
* 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
(cherry picked from commit 4bbeb9c033
)
# Conflicts:
# runtime/src/accounts_db.rs
# runtime/src/bank.rs
* Fix conflicts
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2021-03-12 05:21:55 +00:00
f44eeb4165
cli: improve deploy error reporting ( #15806 ) ( #15810 )
...
(cherry picked from commit e1ceb430e3
)
Co-authored-by: Jack May <jack@solana.com >
2021-03-11 23:00:37 +00:00
29730b5a19
Default --ledger arg to "ledger" for solana-validator
and solana-ledger-tool
( #15809 )
...
(cherry picked from commit aa2b2d6b75
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-03-11 22:28:34 +00:00
6e214bbc04
Docs fixups (bp #15801 ) ( #15802 )
...
* docs: add docs links for crates published to crates.io
(cherry picked from commit 24d18b3cf2
)
# Conflicts:
# core/Cargo.toml
# measure/Cargo.toml
# programs/bpf/rust/finalize/Cargo.toml
* docs: add rust client api entry
(cherry picked from commit 3e6c7c4a3e
)
* docs: rename 'deployed programs' section to 'on-chain programs'
(cherry picked from commit 0e452c8d91
)
* docs: 'builtins' -> 'runtime facilities'
(cherry picked from commit 9c8be34906
)
* docs: stabilize spl token jsonrpc methods
(cherry picked from commit 45190f6281
)
* docs: deprecate lastvalidslot field of jsonrpc getfees
(cherry picked from commit c4ee1ab710
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-03-11 21:49:14 +00:00
a79ba512a8
add catchup average speed and remaining time ( #15608 ) ( #15805 )
...
* add catchup average speed and remaining time
* code style and improve average time remaining calculation
* code style
* remove instant time remaining
* negative speed perceives better
* Some little improves and comments of catchup avg and eta
* format code of catchup avg and eta
* fix copy-paste error
(cherry picked from commit c078e01fa9
)
Co-authored-by: DimAn <diman@diman.io >
2021-03-11 16:15:24 +00:00
e777436cfd
sdk: add macro for unchecked div with const denominator ( #15803 )
...
(cherry picked from commit 79ac1997de
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-03-11 10:03:30 +00:00
b4f5627a5b
Improve load_largest_accounts more (bp #15785 ) ( #15792 )
...
* Improve load_largest_accounts more (#15785 )
* Add load_largest_accounts bench
* Check lamports before address filter
* Use BinaryHeap, add Accounts test
* Use pubkey reference in the min-heap
Also, flatten code with early returns
Co-authored-by: Greg Fitzgerald <greg@solana.com >
(cherry picked from commit 9c1198c0c7
)
# Conflicts:
# runtime/src/accounts.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-03-10 20:14:40 +00:00
d4790be689
Improve load_largest_accounts and add Bank test ( #15775 ) ( #15783 )
...
(cherry picked from commit 5991cef5f5
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-03-10 01:36:08 +00:00
58a9639810
Add tracer key for tracing transaction path through the network ( #15732 ) ( #15771 )
...
(cherry picked from commit 2bee9435f3
)
Co-authored-by: carllin <carl@solana.com >
2021-03-09 04:44:16 +00:00
74b13605c0
Report datapoint on number of retransmit shreds ( #15694 ) ( #15769 )
...
(cherry picked from commit 331c45decf
)
Co-authored-by: carllin <carl@solana.com >
2021-03-09 03:08:36 +00:00
9fbc03d517
Bump version to 1.5.15 ( #15768 )
2021-03-09 01:48:54 +00:00
7f1368e792
Remove old feature: cumulative_rent_related_fixes (bp #15754 ) ( #15757 )
...
* Remove old feature: cumulative_rent_related_fixes (#15754 )
(cherry picked from commit 8b0c6db871
)
# Conflicts:
# runtime/src/accounts.rs
# runtime/src/bank.rs
# sdk/src/feature_set.rs
* Fix conflicts
* Remove stale comment
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
v1.5.14
2021-03-08 12:34:08 +09:00
c60e21b900
PoH batch size calibration ( #15717 ) ( #15747 )
...
(cherry picked from commit d09112fa6d
)
# Conflicts:
# local-cluster/src/validator_configs.rs
Co-authored-by: sakridge <sakridge@gmail.com >
2021-03-06 04:29:54 +00:00
30781bb7b1
consolidate DEFAULT_HASHES_PER_TICK ( #14463 ) ( #15748 )
...
(cherry picked from commit 773b21b34e
)
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-03-06 02:59:43 +00:00
2114864626
Convert blockstore TransactionStatus column family to protobufs (bp #15733 ) ( #15737 )
...
* Convert blockstore TransactionStatus column family to protobufs (#15733 )
* Prevent panic if TransactionStatus can't be deserialized
* Convert Blockstore TransactionStatus column to protobuf
* Add compatability test
(cherry picked from commit 7e65289729
)
# Conflicts:
# ledger/Cargo.toml
* Fix conflict
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-03-05 17:37:54 +00:00
fc29ee7001
Add timeout to prevent infinite loop ( #15715 ) ( #15735 )
...
(cherry picked from commit 1fc8836631
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-03-05 13:52:20 +00:00
166fa33433
Update deploy-a-program.md ( #15727 ) ( #15728 )
...
(cherry picked from commit 9c8e7564ed
)
Co-authored-by: Kasim Te <kasimte@gmail.com >
2021-03-05 09:02:50 +00:00
2ba5828a75
Use OrderedIterator to produce TransactionLogInfo ( #15712 ) ( #15719 )
...
* Add failing test
* Fix iteration_order issue with stored logs
(cherry picked from commit 872f7117c3
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-03-05 01:36:08 +00:00
98f5f58975
Permit the snapshots/status_cache file to be sparse ( #15713 )
...
(cherry picked from commit 1e2f5a5f55
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-03-04 22:05:37 +00:00
5f7258640b
cli: add program show for non-upgradeable programs (bp #15707 ) ( #15709 )
...
* cli: add program show for non-upgradeable programs (#15707 )
(cherry picked from commit 2177e0aff8
)
# Conflicts:
# cli/src/program.rs
* fix conflicts
Co-authored-by: Jack May <jack@solana.com >
2021-03-04 21:27:48 +00:00
e9d04b5517
docs: address post-merge review of #15649
...
(cherry picked from commit d6ea2f392b
)
2021-03-04 11:49:14 -07:00