mergify[bot]
ad31768dd9
Add adjustable stack size and call depth (bp #12728 ) ( #12769 )
...
* Add adjustable stack size and call depth (#12728 )
(cherry picked from commit c3907be623
)
# Conflicts:
# programs/bpf/Cargo.lock
# programs/bpf/Cargo.toml
# programs/bpf/build.rs
# programs/bpf_loader/Cargo.toml
# programs/bpf_loader/src/lib.rs
# runtime/src/feature_set.rs
# runtime/src/process_instruction.rs
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-10-09 23:27:59 +00:00
mergify[bot]
48d08f2010
Bump max invoke depth to 4 (bp #12742 ) ( #12763 )
...
* Bump max invoke depth to 4 (#12742 )
(cherry picked from commit 2cd7cd3149
)
# Conflicts:
# programs/bpf/rust/invoked/src/processor.rs
# runtime/src/feature_set.rs
# runtime/src/message_processor.rs
# runtime/src/process_instruction.rs
* fix conflicts
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-10-09 21:12:35 +00:00
mergify[bot]
fced68c3f4
Add inflation_kill_switch feature ( #12748 )
...
(cherry picked from commit c8807d227a
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-09 05:39:17 +00:00
mergify[bot]
bded162ed8
fix conflicts ( #12733 )
...
Co-authored-by: Jack May <jack@solana.com >
2020-10-08 20:40:59 +00:00
mergify[bot]
765dd1b775
Nit, short name (bp #12195 ) ( #12732 )
...
* Nit, short name (#12195 )
(cherry picked from commit daba17a95c
)
# Conflicts:
# runtime/src/bank.rs
* fix conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-10-08 20:03:15 +00:00
mergify[bot]
b74fbdf7eb
Pipe FeatureSet though InvokeContext (bp #12536 ) ( #12730 )
...
* Pipe FeatureSet though InvokeContext (#12536 )
* Pipe FeatureSet though InvokeContext
* gate program size cap
* nit
(cherry picked from commit 74fcb184b2
)
# Conflicts:
# runtime/src/bank.rs
# runtime/src/feature_set.rs
* fix conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-10-08 18:18:51 +00:00
Michael Vines
bc1b95d6d0
Bump version to v1.3.16
2020-10-03 04:24:03 +00:00
mergify[bot]
a983430ddb
Check CPI program is executable ( #12644 ) ( #12649 )
...
(cherry picked from commit adeb06e550
)
Co-authored-by: Jack May <jack@solana.com >
2020-10-02 22:27:29 +00:00
mergify[bot]
29af9d1a36
Avoid overflow when computing rent distribution (bp #12112 ) ( #12607 )
...
* Avoid overflow when computing rent distribution (#12112 )
* Avoid overflow when computing rent distribution
* Use assert_eq!....
* Fix tests
* Add test
* Use FeatureSet
* Add comments
* Address review comments
* Tweak a bit.
* Fix fmt
(cherry picked from commit e3773d919c
)
# Conflicts:
# runtime/src/bank.rs
# runtime/src/feature_set.rs
* Fix conflict
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-10-02 01:37:47 +00:00
mergify[bot]
17de653ce0
Move nonce utils from runtime to sdk (bp #12577 ) ( #12583 )
...
* runtime: Move prepare_if_nonce_account into accounts
(cherry picked from commit caec631344
)
* Move nonced tx helpers to SDK
(cherry picked from commit 65b868f4eb
)
* Move remaining nonce utils from runtime to SDK
(cherry picked from commit 3c7b9c2938
)
# Conflicts:
# runtime/src/bank.rs
* Fix conflict
Co-authored-by: Trent Nelson <trent@solana.com >
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-10-01 06:25:25 +00:00
mergify[bot]
afbdcf3068
Include post balance information for rewards ( #12598 ) ( #12602 )
...
* Include post balance information for rewards
* Add post-balance to stored Reward struct
* Handle extended Reward in bigtable
Co-authored-by: Michael Vines <mvines@gmail.com >
(cherry picked from commit c31a34fbcb
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-10-01 01:05:37 +00:00
mergify[bot]
700c8c1ec1
epoch_rewards datapoint now includes the correct rewards epoch (previous epoch) ( #12582 )
...
(cherry picked from commit f57af4fec2
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-09-30 06:56:05 +00:00
mergify[bot]
6d1bea7fb4
Include active stake in 'epoch_rewards' datapoint ( #12573 )
...
(cherry picked from commit 82848d6c73
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-09-30 01:08:04 +00:00
Trent Nelson
24c60cf3db
Bump version to v1.3.15
2020-09-29 20:57:08 +00:00
mergify[bot]
966d0f72bb
Move process_instruction defs to runtime ( #12507 ) ( #12549 )
...
(cherry picked from commit 2ff983647f
)
Co-authored-by: Jack May <jack@solana.com >
2020-09-29 15:52:38 +00:00
mergify[bot]
5b322a995f
Rpc -> proper optimistic confirmation ( #12514 ) ( #12537 )
...
* Add service to track the most recent optimistically confirmed bank
* Plumb service into ClusterInfoVoteListener and ReplayStage
* Clean up test
* Use OptimisticallyConfirmedBank in RPC
* Remove superfluous notifications from RpcSubscriptions
* Use crossbeam to avoid mpsc recv_timeout panic
* Review comments
* Remove superfluous last_checked_slots, but pass in OptimisticallyConfirmedBank for complete correctness
(cherry picked from commit 89621adca7
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-09-29 03:49:18 +00:00
mergify[bot]
4cf69365b2
Port BPFLoader2 activation to FeatureSet (bp #12490 ) ( #12530 )
...
* Cargo.lock
(cherry picked from commit 6071d0d206
)
# Conflicts:
# Cargo.lock
* Port BPFLoader2 activation to FeatureSet and rework built-in program activation
(cherry picked from commit 31696a1d72
)
# Conflicts:
# core/Cargo.toml
# genesis-programs/Cargo.toml
# genesis/Cargo.toml
# ledger/Cargo.toml
# local-cluster/Cargo.toml
# runtime/src/bank.rs
* Add Builtin AbiExample
(cherry picked from commit 833ad20b01
)
* Rebase
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-09-28 23:12:05 +00:00
mergify[bot]
873b4ee830
Add a couple feature tests ( #12529 )
...
(cherry picked from commit 2956cc5aed
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-09-28 20:31:09 +00:00
mergify[bot]
672d9c9f62
Add feature to resolve spl-token v2 multisig bug ( #12525 )
...
(cherry picked from commit f9a74b51ef
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-09-28 18:14:20 +00:00
Michael Vines
4bd29c1b32
Add pico-inflation feature
...
(cherry picked from commit aa5c008fa8
)
2020-09-28 09:34:35 -07:00
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