mergify[bot]
ab7dff16a2
Feature-gate stake program (bp #13394 ) ( #13438 )
...
* Feature-gate stake program (#13394 )
* Add legacy stake-program handling
* Strip out duplicative legacy code
* Add feature for stake-program-fix
* Feature-deploy new stake program
* Expand comment
(cherry picked from commit 1b1d9f6b0c )
# Conflicts:
# runtime/src/builtins.rs
# runtime/src/feature_set.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-11-06 14:00:37 +00:00
mergify[bot]
ef776c0a0e
Allow feature builtins to overwrite existing builtins (bp #13403 ) ( #13419 )
...
* Allow feature builtins to overwrite existing builtins (#13403 )
* Allow feature builtins to overwrite existing builtins
* Add feature_builtin ActivationType
* Correctly retain idempotent for replacing case
* Fix test
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
(cherry picked from commit bc62313c66 )
# Conflicts:
# ledger/src/builtins.rs
# runtime/src/bank.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-11-05 17:53:03 +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]
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
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
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]
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]
d5d1a344c3
Switch programs activation to whole-set based gating (bp #11750 ) ( #11837 )
...
* Switch programs activation to whole-set based gating (#11750 )
* Implement Debug for MessageProcessor
* Switch from delta-based gating to whole-set gating
* Remove dbg!
* Fix clippy
* Clippy
* Add test
* add loader to stable operating mode at proper epoch
* refresh_programs_and_inflation after ancestor setup
* Callback via snapshot; avoid account re-add; Debug
* Fix test
* Fix test and fix the past history
* Make callback management stricter and cleaner
* Fix test
* Test overwrite and frozen for native programs
* Test epoch callback with genesis-programs
* Add assertions for parent bank
* Add tests and some minor cleaning
* Remove unsteady assertion...
* Fix test...
* Fix DOS
* Skip ensuring account by dual (whole/delta) gating
* Fix frozen abi implementation...
* Move compute budget constatnt init back into bank
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
(cherry picked from commit db4bbb3569 )
# Conflicts:
# genesis-programs/src/lib.rs
* Fix conflicts
Co-authored-by: Jack May <jack@solana.com >
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-08-25 19:00:41 +00:00
mergify[bot]
6540d3c63e
Make BPF Loader static (bp #11516 ) ( #11790 )
...
* Make BPF Loader static (#11516 )
(cherry picked from commit 7c736f71fe )
# Conflicts:
# Cargo.lock
# core/Cargo.toml
# core/src/lib.rs
# core/src/validator.rs
# genesis-programs/src/lib.rs
# programs/bpf_loader/src/deprecated.rs
# programs/bpf_loader/src/lib.rs
# sdk/src/entrypoint_native.rs
# sdk/src/lib.rs
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-08-22 01:54:50 +00:00