mergify[bot]
d712a908c2
Port fix_recent_blockhashes_sysvar_delay to FeatureSet ( #12503 )
...
(cherry picked from commit 5d6410c1cb
)
# Conflicts:
# runtime/src/feature_set.rs
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-09-26 20:26:58 +00:00
mergify[bot]
e3ca1a81b4
Add copy-on-write executor cache (bp #12502 ) ( #12511 )
...
* Add copy-on-write executor cache (#12502 )
* Add copy-on-write executor cache
* Add remove_executor function to the bank
(cherry picked from commit 965f653471
)
# Conflicts:
# runtime/src/bank.rs
* rebase
Co-authored-by: Jack May <jack@solana.com >
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-09-26 20:26:50 +00:00
mergify[bot]
bc3aa53e02
Runtime feature activation framework (bp #12376 ) ( #12497 )
...
* Runtime feature activation framework
(cherry picked from commit 93259f0bae
)
# Conflicts:
# runtime/src/bank.rs
* Add feature set identifier to gossiped version information
(cherry picked from commit 35f5f9fc7b
)
# Conflicts:
# Cargo.lock
# version/Cargo.toml
* Port instructions sysvar and secp256k1 program activation to FeatureSet
(cherry picked from commit c10da16d7b
)
# Conflicts:
# runtime/src/bank.rs
# runtime/src/message_processor.rs
* Add feature management commands
(cherry picked from commit 93ed0ab2bb
)
# Conflicts:
# Cargo.lock
# cli/Cargo.toml
* Make test_process_rest_api less fragile
(cherry picked from commit 7526bb96f3
)
* Remove id field
(cherry picked from commit cc6ba1e131
)
* FeatureSet test
(cherry picked from commit 92406cf9a0
)
* cargo fmt
(cherry picked from commit 199940d683
)
* cli review feedback
(cherry picked from commit 3a2b8c5e5b
)
* Rename active() to is_active()
(cherry picked from commit e39fac9f01
)
* Resolve merge conflicts
* Remove continues from compute_active_feature_set()
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-09-26 17:49:53 +00:00
Michael Vines
6a698af235
Deerror
2020-09-25 22:19:09 -07:00
Michael Vines
7ec38bd71c
Improve 'Failed to create snapshot archive' warning message
...
(cherry picked from commit 5dcf348098
)
2020-09-25 21:06:05 -07:00
mergify[bot]
8e3882287a
Add epoch rewards metric datapoint (bp #12505 ) ( #12509 )
...
* Add epoch rewards metric datapoint
(cherry picked from commit e50386f928
)
# Conflicts:
# runtime/src/bank.rs
* Update bank.rs
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-09-26 04:02:23 +00:00
mergify[bot]
250d2ba74a
Pre-construct cpi instruction recorders before message processing ( #12467 ) ( #12504 )
...
(cherry picked from commit 1c970bb39f
)
Co-authored-by: Justin Starry <justin@solana.com >
2020-09-26 00:40:32 +00:00
mergify[bot]
b96e0e3d27
Drain the entire compute budget (bp #12478 ) ( #12492 )
...
* Drain the entire compute budget (#12478 )
(cherry picked from commit d00453f747
)
* fix conflict
Co-authored-by: Jack May <jack@solana.com >
2020-09-25 23:22:19 +00:00
mergify[bot]
e85c792f70
Add RPC notify and banking keys debug (bp #12396 ) ( #12452 )
...
* Add RPC notify and banking keys debug (#12396 )
(cherry picked from commit 68e5a2ef56
)
# Conflicts:
# core/src/validator.rs
* Rebase
Co-authored-by: sakridge <sakridge@gmail.com >
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-09-25 21:05:21 +00:00
mergify[bot]
c44f6981b1
adds an atomic variant of the bloom filter ( #12422 ) ( #12459 )
...
For crds_gossip_pull, we want to parallelize build_crds_filters, which
requires concurrent writes to bloom filters.
This commit implements a variant of the bloom filter which uses atomics
for its bits vector and so is thread-safe.
(cherry picked from commit bb183938d9
)
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2020-09-24 19:49:10 +00:00
mergify[bot]
7212bb12ea
Record and store invoked instructions in transaction meta ( #12311 ) ( #12449 )
...
* Record invoked instructions and store in transaction meta
* Enable cpi recording if transaction sender is some
* Rename invoked to innerInstructions
(cherry picked from commit 6601ec8f26
)
Co-authored-by: Justin Starry <justin@solana.com >
2020-09-24 15:42:34 +00:00
Tyera Eulberg
ec4938a9f3
Bump version to 1.3.14 ( #12444 )
2020-09-24 07:42:54 +00:00
mergify[bot]
41ca59ea0e
Move dropping AppendVecs outside lock ( #12408 ) ( #12429 )
...
* Move drop outside lock
Co-authored-by: Carl Lin <carl@solana.com >
(cherry picked from commit 55be8d4016
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-09-23 23:03:44 +00:00
mergify[bot]
0f3208dece
Cleanup and feature gate instruction processing ( #12359 ) ( #12384 )
...
(cherry picked from commit 22d8b3c3f8
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-09-22 06:19:14 +00:00
mergify[bot]
a85a2839e4
Add way to look at tx instructions ( #11943 ) ( #12375 )
...
Co-authored-by: sakridge <sakridge@gmail.com >
2020-09-22 00:59:46 +00:00
mergify[bot]
8af90c9c08
Add keccak-secp256k1 instruction ( #11839 ) ( #12368 )
...
* Implement keccak-secp256k1 instruction
Verifies eth addreses with ecrecover function
* Move secp256k1 test
Co-authored-by: sakridge <sakridge@gmail.com >
2020-09-21 18:09:05 +00:00
Michael Vines
bc774e3ea6
Bump version to v1.3.13
2020-09-20 05:40:32 +00:00
mergify[bot]
8ea4c1c2c0
Friendlier error message for mapping failures ( #12213 ) ( #12255 )
...
(cherry picked from commit 3d4b9bb00d
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-09-16 00:21:11 +00:00
mergify[bot]
11ff80c64b
Cache re-usable work performed by the loader (bp #12135 ) ( #12216 )
...
* Cache re-usable work performed by the loader (#12135 )
(cherry picked from commit 3278d78f08
)
# Conflicts:
# programs/bpf/Cargo.toml
# programs/bpf/tests/programs.rs
# programs/bpf_loader/Cargo.toml
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-09-15 21:25:32 +00:00
Ryo Onodera
7267257073
Bump version to v1.3.12 ( #12249 )
2020-09-15 20:15:03 +00:00
Ryo Onodera
52ee9155b5
Bump version to v1.3.11 ( #12238 )
2020-09-15 10:25:22 +00:00
mergify[bot]
65a1884c7b
Enable stricter check on rent-exempt accounts on testnet ( #12224 ) ( #12226 )
...
(cherry picked from commit 241e6f1ecf
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-09-15 08:07:23 +00:00
mergify[bot]
c1a9c826f3
Enable retirement of rent collect in Bank::deposit() on testnet ( #12223 ) ( #12227 )
...
(cherry picked from commit 629572831b
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-09-15 07:53:36 +00:00
mergify[bot]
d9d8ec480a
Enable eager-rent-collect-across-gapped-epochs bugfix ( #12219 ) ( #12222 )
...
(cherry picked from commit 7d48339b7c
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-09-15 06:14:35 +00:00
mergify[bot]
640bf7015f
Check bank capitalization (bp #11927 ) ( #12184 )
...
* Check bank capitalization (#11927 )
* Check bank capitalization
* Simplify and unify capitalization calculation
* Improve and add tests
* Avoid overflow and inhibit automatic restart
* Fix test
* Tweak checked sum for cap. and add tests
* Fix broken build after merge conflicts..
* Rename to ClusterType
* Rename confusing method
* Clarify comment
* Verify cap. in rent and inflation tests
Co-authored-by: Stephen Akridge <sakridge@gmail.com >
(cherry picked from commit de4a613610
)
# Conflicts:
# Cargo.lock
# accounts-bench/Cargo.toml
* Fix conflict 1/2
* Fix conflict 2/2
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-09-11 18:04:10 +00:00
mergify[bot]
ed237af4d8
Prevent unbound memory growth by blockstore_processor ( #12110 ) ( #12122 )
...
* Prevent unbound memory growth by blockstore_processor
* Promote log to info! considering infrequency
* Exclude the time of freeing from interval...
* Skip not-shrinkable slots even if forced
* Add comment
(cherry picked from commit c274e26eb8
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-09-09 04:09:27 +00:00
Michael Vines
415c80c204
Bump version to v1.3.10
2020-09-09 01:29:39 +00:00
mergify[bot]
e45f1df5dd
Reduce cap by rent's leftover as temporary measure ( #12111 ) ( #12118 )
...
* Reduce cap by rent's leftover as temporary measure
* Reset testnet cap. on start and more logs
(cherry picked from commit 5b2442d54e
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-09-08 20:02:46 +00:00
mergify[bot]
a5cad340ed
Forward transactions to the expected leader instead of your own TPU port (bp #12004 ) ( #12108 )
...
* Forward transactions to the expected leader instead of your own TPU port (#12004 )
* Use PoHRecorder to send to the right leader
* cleanup
* fmt
* clippy
* Cleanup, fix bug
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit c67f8bd821
)
# Conflicts:
# banks-server/Cargo.toml
* Update Cargo.toml
Co-authored-by: anatoly yakovenko <anatoly@solana.com >
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-09-08 16:51:33 +00:00
Ryo Onodera
2341394e8b
Rename to ClusterType and restore devnet compat. (manual bp) ( #12069 )
...
* Rename to ClusterType and restore devnet compat.
* De-duplicate parse code and add comments
* Adjust default Devnet genesis & reduce it in tests
2020-09-08 23:54:54 +09:00
mergify[bot]
f3f86f43ee
Compress snapshot archive within the validator to reduce system dependencies, and default to zstd compression (bp #12085 ) ( #12087 )
...
* Compress snapshot archive within the validator to reduce system dependencies
(cherry picked from commit d3750b47d2
)
* Default snapshot compression to zstd instead of bzip2 for quicker snapshot generation
(cherry picked from commit 9ade73841f
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-09-07 06:55:38 +00:00
mergify[bot]
ae8acada8c
Add unlock epochs for blake3 ( #12054 ) ( #12056 )
...
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit a13efc52b3
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-09-04 23:33:53 +00:00
Josh
bd76810623
Bump version to 1.3.9 ( #12034 )
2020-09-03 16:55:24 -07:00
mergify[bot]
991f188f23
Fix test ( #12013 ) ( #12017 )
...
(cherry picked from commit 36a294aae0
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-09-03 17:16:59 +09:00
mergify[bot]
8f02fdcc11
Purge storage rewards from accounts db for testnet ( #11996 ) ( #12011 )
...
* Purge storage rewards from accounts db for testnet
* Fix test failing only on stable
(cherry picked from commit fb71ee60aa
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-09-03 08:01:37 +00:00
mergify[bot]
3e78850331
Move forward token2 native mint testnet epoch ( #12007 ) ( #12010 )
...
(cherry picked from commit 4b1cb51a3e
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-09-03 07:48:55 +00:00
mergify[bot]
f29a741582
Clarify comments and names in inflation code ( #11977 ) ( #12008 )
...
(cherry picked from commit 89bca6110a
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-09-03 06:47:13 +00:00
mergify[bot]
0b0710d522
Use conventional special self notation ( #11990 ) ( #11997 )
...
(cherry picked from commit 46aac4819a
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-09-02 11:59:16 +00:00
mergify[bot]
2f3fced8a8
Switch account hashing to blake3 ( #11969 ) ( #11992 )
...
* Switch account hashing to blake3
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit af08221aec
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-09-02 08:40:07 +00:00
mergify[bot]
57f149e415
Ensure that the spl-token 2 native mint account is owned by the spl-token 2 program. ( #11974 )
...
Workaround for https://github.com/solana-labs/solana-program-library/issues/374 until spl-token 3 is shipped
(cherry picked from commit 7341e60043
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-09-01 18:16:22 +00:00
mergify[bot]
8ece3847f9
Add tests for the Debug and activation Vecs ( #11926 ) ( #11968 )
...
* Add tests for the Debug and activation Vecs
* Rename a bit
(cherry picked from commit 11ac4eb21d
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-09-01 09:54:27 +00:00
mergify[bot]
0d23ad00b1
Update to rayon 1.4.0 ( #11898 ) ( #11902 )
...
(cherry picked from commit c4253dc0f9
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-09-01 04:53:39 +00:00
mergify[bot]
eb65ff750e
Simplify get_programs(), specify a real Preview activation epoch for new BPFLoader ( #11930 )
...
(cherry picked from commit f385af25e5
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-08-31 17:21:07 +00:00
Michael Vines
663dc9959f
Bump version to v1.3.8
2020-08-31 10:18:42 -07:00
Michael Vines
83a17acc17
Add methods to adjust rent burn percentage, and hashes per tick
2020-08-30 16:50:43 -07:00
Michael Vines
311b419f8a
Bump version to v1.3.7
2020-08-29 11:42:14 -07:00
Jon Cinque
c6416fca6e
Bump version to 1.3.6 ( #11890 )
2020-08-28 16:58:59 +02:00
mergify[bot]
d2611f54a0
Make ledger-tool accounts print rent_epoch and slot ( #11845 ) ( #11870 )
...
(cherry picked from commit 57174cdabe
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-08-27 04:49:24 +00:00
mergify[bot]
67d9faaefc
Bump compute budget ( #11864 ) ( #11867 )
...
* Bump compute budget
* nudge
(cherry picked from commit ea179ad762
)
Co-authored-by: Jack May <jack@solana.com >
2020-08-26 23:12:01 +00:00
mergify[bot]
85df8cb4c5
Accounts hash calculation metrics ( #11433 ) ( #11860 )
...
(cherry picked from commit 770d3d383c
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-08-26 19:31:52 +00:00