mergify[bot]
9dd5d4407b
Sanitize base58 pubkeys and sigs (bp #14708 ) ( #14711 )
...
* SDK: Sanitize base58 pubkey input
(cherry picked from commit 250b3969d4 )
* SDK: Sanitize base58 signature input
(cherry picked from commit 2783aee483 )
Co-authored-by: Trent Nelson <trent@solana.com >
2021-01-21 02:37:50 +00:00
mergify[bot]
ad89be3c85
Cli: promote commitment to a global arg + config.yml (bp #14684 ) ( #14697 )
...
* Cli: promote commitment to a global arg + config.yml (#14684 )
* Make commitment a global arg
* Add commitment to solana/cli/config.yml
* Fixup a couple Display/Verbose bugs
(cherry picked from commit a7086a0f83 )
# Conflicts:
# cli/src/program.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-01-20 19:39:45 +00:00
mergify[bot]
540e23c987
Prevent the invoke and upgrade of programs in the same tx batch (bp #14653 ) ( #14679 )
...
* Prevent the invoke and upgrade of programs in the same tx batch (#14653 )
* Prevent the invoke and upgrade of programs in the same tx batch
* Pass program address as writable in the upgrade instruction
(cherry picked from commit e3bd9e5300 )
# Conflicts:
# programs/bpf/Cargo.lock
# programs/bpf/Cargo.toml
# programs/bpf/tests/programs.rs
* fix conflicts
Co-authored-by: Jack May <jack@solana.com >
2021-01-19 18:28:23 -08:00
mergify[bot]
1460b844bc
feature gates turbine retransmit peers patch (bp #14631 ) ( #14658 )
...
* feature gates turbine retransmit peers patch (#14631 )
(cherry picked from commit c6ae0667e6 )
# Conflicts:
# sdk/src/feature_set.rs
* removes backport merge conflicts
* adds .clone for backport
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2021-01-19 06:11:21 +00:00
Tyera Eulberg
375295a605
v1.4: Update timestamp max allowable drift to 50% of PoH ( #14532 )
...
* Add timestamp warp
* Change max_allowable_drift to 50%
* Fill in PR#
* Fix rpc test setup
2021-01-11 22:49:19 +00:00
mergify[bot]
667402531f
Bail on all CPI errors (bp #14500 ) ( #14506 )
...
* Bail on all CPI errors (#14500 )
* Bail on all CPI errors
* whitespace
(cherry picked from commit ec48631fc5 )
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2021-01-10 06:27:27 +00:00
mergify[bot]
35b42e1541
Gate cpi program account passing (bp #14443 ) ( #14505 )
...
* Gate cpi program account passing (#14443 )
(cherry picked from commit a8b5a32b50 )
# Conflicts:
# sdk/src/feature_set.rs
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2021-01-09 03:16:26 +00:00
mergify[bot]
56acbcdf5f
Improve solana catchup ( #14313 ) ( #14423 )
...
* Improve solana catchup
* Overidable port, retry, args error clean up
* print cleanup
* Reduce diff
* Tweak warns a bit
(cherry picked from commit aa4da339ff )
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2021-01-05 02:53:38 +00:00
mergify[bot]
b8d3800f57
Add try_find_program_address syscall (bp #14118 ) ( #14421 )
...
* Add try_find_program_address syscall (#14118 )
(cherry picked from commit ab98c1f2d4 )
# Conflicts:
# programs/bpf_loader/src/syscalls.rs
# sdk/program/src/pubkey.rs
# sdk/src/feature_set.rs
* fix conflicts
Co-authored-by: Jack May <jack@solana.com >
2021-01-05 01:41:41 +00:00
mergify[bot]
6960eed856
Upgradeable programs needs program account's program id (bp #14417 ) ( #14419 )
...
* Upgradeable programs needs program account's address as program id (#14417 )
(cherry picked from commit 0619805806 )
# Conflicts:
# programs/bpf_loader/src/lib.rs
* fix conflicts
Co-authored-by: Jack May <jack@solana.com >
2021-01-05 00:42:20 +00:00
mergify[bot]
bbafd9783b
Add secondary indexes ( #14212 ) ( #14381 )
...
(cherry picked from commit 5affd8aa72 )
Co-authored-by: carllin <wumu727@gmail.com >
2021-01-01 07:29:48 +00:00
mergify[bot]
3fa08e620a
Gate CPI authorized programs (bp #14361 ) ( #14364 )
...
* Gate CPI authorized programs (#14361 )
(cherry picked from commit 2d8dacb72b )
# Conflicts:
# programs/bpf_loader/src/syscalls.rs
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-12-31 03:43:55 +00:00
mergify[bot]
b88c56cd36
Limit CPI instruction size (bp #14317 ) ( #14354 )
...
* Limit CPI instruction size (#14317 )
(cherry picked from commit 5524938a50 )
# Conflicts:
# programs/bpf_loader/src/syscalls.rs
# sdk/src/feature_set.rs
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-12-30 20:23:52 +00:00
mergify[bot]
4e6e415e40
Upgradeable programs called same as non-upgradeable ( #14239 ) ( #14347 )
...
* Upgradeable programs called same as non-upgradeable
* nudge
(cherry picked from commit ab205b682a )
Co-authored-by: Jack May <jack@solana.com >
2020-12-30 06:53:16 +00:00
mergify[bot]
403220a559
Add CPI support for upgradeable loader (bp #14193 ) ( #14335 )
...
* Add CPI support for upgradeable loader (#14193 )
(cherry picked from commit e8cc0bef6c )
* update crate version
* nudge
Co-authored-by: Jack May <jack@solana.com >
2020-12-29 23:05:40 +00:00
mergify[bot]
db55eead5c
Upgradeable loader (bp #13689 ) ( #14318 )
...
* Upgradeable loader (#13689 )
(cherry picked from commit 9e90394583 )
# Conflicts:
# cli/src/cli.rs
# ledger/src/builtins.rs
# programs/bpf_loader/src/lib.rs
# sdk/src/feature_set.rs
* fix conflits
* fix commitment
* fix local cluster test
Co-authored-by: Jack May <jack@solana.com >
2020-12-29 20:01:17 +00:00
Michael Vines
bc8300a308
Add transactionCount field to GetEpochInfo
...
(cherry picked from commit efc091e28a )
2020-12-24 14:13:54 -08:00
mergify[bot]
6f2b37b015
Deinit zero-lamport account data (bp #14242 ) ( #14265 )
...
* Deinitialize nonce data upon zero balance
(cherry picked from commit 3881ae10fb )
* vote: Add helper for creating current-versioned states
(cherry picked from commit 5b903318b2 )
* Deinitialize vote data upon zero balance
(cherry picked from commit db5bd6ea1a )
* Deinitialize stake data upon zero balance
(cherry picked from commit 50710473a8 )
Co-authored-by: Trent Nelson <trent@solana.com >
2020-12-23 04:34:52 +00:00
mergify[bot]
7e4bd087ae
Feature-gate stake-program-v3 (bp #14232 ) ( #14249 )
...
* Feature-gate stake-program-v3 (#14232 )
* Remove deprecated legacy stake program
* Add legacy stake program
* Strip out duplicative legacy code
* Feature-deploy stake-program-v3
* Add ownership check in stake processor
(cherry picked from commit 7042f11791 )
# Conflicts:
# programs/stake/src/stake_instruction.rs
# sdk/src/feature_set.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-12-23 00:12:01 +00:00
mergify[bot]
238b596773
cargo-build-bpf: Create a random -keypair.json file alongside the program deploy artifact for easy upgrades (bp #14162 ) ( #14164 )
...
* Use AsRef
(cherry picked from commit 9993d2c623 )
* Create a random `-keypair.json` file alongside the program deploy artifact for easy upgrades
(cherry picked from commit 636a455790 )
* Update Cargo.toml
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-12-16 21:21:22 +00:00
mergify[bot]
87a578a1f9
Simple cap by including sysvars and native programs ( #13884 ) ( #14110 )
...
* Simpler cap by including sysvars and native programs
* Fix tests
* Add comment
* revert some unrelated code
* Update test_bank_update_sysvar_account for cap.
* Test cap. for add_native_program using new helper
* Improve the cap adjustment with new tests
* Fix typo...
* Adjust test for improved code coverage
* Rename simpler_capitalization => simple_capitalization
* More rename and bonus commenting
(cherry picked from commit de9ac43ebf )
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-12-14 13:29:09 +00:00
mergify[bot]
a7e6cd56e9
Filter out stake and vote accounts with incorrect owners ( #14062 ) ( #14080 )
...
* Add failing test
* Check stake/vote accounts for validity
* Feature gate change
* Add datapoint
* Add test realism
(cherry picked from commit d6eff3d62c )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-12-12 02:13:50 +00:00
Trent Nelson
277d4c9ae4
Switch to memmap2 fork
2020-12-12 00:16:37 +00:00
mergify[bot]
980c7cdf64
Retry inflation parameter update (bp #12778 ) ( #14060 )
...
* Retry inflation parameter update along with documentation updates (#12778 )
* update initial inflation parameter
* update economics section of docs
(cherry picked from commit 1ab36203de )
# Conflicts:
# docs/docusaurus.config.js
# docs/package-lock.json
* Revert doc changes
* Revert doc changes
Co-authored-by: Eric Williams <ericlwilliams@gmail.com >
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-12-11 05:19:51 +00:00
mergify[bot]
13527fc937
Tiny add_native_program bug fixes with cleanups ( #14042 ) ( #14057 )
...
* Tiny add_native_program bug fixes with cleanups
* Fix typo
(cherry picked from commit 164b7895b3 )
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-12-10 18:46:57 -08:00
mergify[bot]
bfc9932b17
Add get_minimum_balance_for_rent_excemption to Client ( #14048 ) ( #14052 )
...
(cherry picked from commit 7abd8084b6 )
Co-authored-by: Jack May <jack@solana.com >
2020-12-11 02:03:18 +00:00
mergify[bot]
da1796f97a
Nonce cleanup followup (bp #13868 ) ( #13922 )
...
* runtime: Factor out `DurableNoncePartial` finishing logic and add tests
(cherry picked from commit 8df2a4bac0 )
* accounts: Don't assume fee-payer is the first account
(cherry picked from commit 47af5933ca )
* accounts: Replace nonce_rollback unreachable block with descriptive panic
(cherry picked from commit be7760caa1 )
* sdk: Check owner when verifying nonce accounts
(cherry picked from commit 274312ebb5 )
* runtime: Replace `HashAgeKind` with `NonceRollbackInfo`
(cherry picked from commit 404fc1570d )
* Make `Accounts::is_non_loader_key()` a method on `Message`
(cherry picked from commit 17defbff13 )
Co-authored-by: Trent Nelson <trent@solana.com >
2020-12-02 21:34:21 +00:00
mergify[bot]
3559062c00
caches vote-state de-serialized from vote accounts ( #13795 ) ( #13862 )
...
Gossip and other places repeatedly de-serialize vote-state stored in
vote accounts. Ideally the first de-serialization should cache the
result.
This commit adds new VoteAccount type which lazily de-serializes
VoteState from Account data and caches the result internally.
Serialize and Deserialize traits are manually implemented to match
existing code. So, despite changes to frozen_abi, this commit should be
backward compatible.
(cherry picked from commit e1793e5a13 )
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2020-11-30 18:36:23 +00:00
mergify[bot]
fdcf589f7c
Restore bank feature used to deprecate Rewards sysvar ( #13786 ) ( #13788 )
...
(cherry picked from commit c930f92411 )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-11-24 18:57:26 +00:00
mergify[bot]
3743e44fb3
Add new inflation feature-ids ( #13671 ) ( #13736 )
...
* Add new inflation feature-ids, and full_inflation default values
* Compute inflation start from full_inflation activation
* Include pico_inflation in inflation start computation
* Add full-inflation constructor
* Align inflation taper with rewards accrual start and catch overflow edge case
(cherry picked from commit c75d97e3f2 )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-11-20 18:08:57 +00:00
mergify[bot]
640f4a1ec7
Rewrite stake accounts for clear migration ( #13461 ) ( #13705 )
...
* Reduce overage stake by rewritng stake accounts
* Write tests and finish implemention
* Create and use new feature gate
* Clean up logging
* Fix typo
* Simplify enable_rewrite_stake
* Fix typo...
* Even simplify gating
* Add metrics
(cherry picked from commit 43d5e47ea9 )
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-11-19 21:29:42 +00:00
Michael Vines
b4deeb8e36
Add stable program logging for BPF and native programs
2020-11-14 08:26:54 -08:00
Tyera Eulberg
ccd48923a0
Fix Bank accounts hash mismatch related to Clock::unix_timestamp ( #13477 ) ( #13485 )
...
* Test for different ancestors with mismatch bank hash
* Test cleanup
* Remove nondeterministic ancestor check
* Update timestamp bounding feature key
* Update design doc
* Filter recent_timestamps to nodes voting within the last epoch
Co-authored-by: Stephen Akridge <sakridge@gmail.com >
Co-authored-by: Stephen Akridge <sakridge@gmail.com >
2020-11-10 03:35:22 +00:00
mergify[bot]
9627bfced3
propagates errors out of Packet::from_data ( #13445 ) ( #13470 )
...
Packet::from_data is ignoring serialization errors:
https://github.com/solana-labs/solana/blob/d08c3232e/sdk/src/packet.rs#L42-L48
This is likely never useful as the packet will be sent over the wire
taking bandwidth but at the receiving end will either fail to
deserialize or it will be invalid.
This commit will propagate the errors out of the function to the
call-site, allowing the call-site to handle the error.
(cherry picked from commit 73ac104df2 )
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2020-11-08 16:25:36 +00:00
mergify[bot]
98e9f34704
Feature-gate stake program ( #13394 ) ( #13439 )
...
* 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 )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-11-06 09:25:34 +00:00
mergify[bot]
b28d10d46f
Add bank timestamp bounding (bp #13120 ) ( #13331 )
...
* Add bounding feature
(cherry picked from commit 96b8aa8bd1 )
* Repurpose unused as Clock::epoch_start_timestamp; add gated update
(cherry picked from commit 0049ab69fb )
* Add bounded timestamp-estimation method
(cherry picked from commit 80db6c0980 )
* Use bounded timestamp-correction when feature enabled
(cherry picked from commit 90778615f6 )
* Prevent block times from ever going backward
(cherry picked from commit eb2560e782 )
* Sample votes from ancestors back to root
(cherry picked from commit 4260b3b416 )
* Add Clock sysvar details, update struct docs
(cherry picked from commit 3a1e125ce3 )
* Add design proposal and update validator-timestamp-oracle
(cherry picked from commit a3912bc084 )
* Adapt to feature::create_account
Co-authored-by: Tyera Eulberg <tyera@solana.com >
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-11-01 06:02:34 +00:00
mergify[bot]
b6dc48da75
Add solana-program-test crate (bp #13324 ) ( #13329 )
...
* MockInvokeContext::get_programs() implementation
(cherry picked from commit 8acc47ee1b )
* start_local_server() now works with Banks > 0
(cherry picked from commit fa4bab4608 )
* Add solana-program-test crate
(cherry picked from commit 52a292a75b )
* rebase
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-11-01 05:43:43 +00:00
mergify[bot]
f2d929c12d
Move Feature struct to solana-program ( #13321 )
...
(cherry picked from commit 4b65e32f22 )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-31 20:33:35 +00:00
mergify[bot]
4312841433
de-mut some InvokeContext methods (bp #13301 ) ( #13309 )
...
* de-mut some InvokeContext methods
(cherry picked from commit da9548fd12 )
* Simplify CPI interface into MessageProcessor
(cherry picked from commit 9263ae1c60 )
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-30 10:35:59 +00:00
mergify[bot]
40a3885d3b
Native/builtin programs now receive an InvokeContext (bp #13286 ) ( #13298 )
...
* Native/builtin programs now receive an InvokeContext
(cherry picked from commit df8dab9d2b )
* Remove MessageProcessor::loaders
(cherry picked from commit 2664a1f7ef )
* Remove Entrypoint type
(cherry picked from commit 225bed11c7 )
* Remove programs clone()
(cherry picked from commit 33884d847a )
* Add sol_log_compute_units syscall
(cherry picked from commit 66e51a7363 )
* Add Bank::set_bpf_compute_budget()
(cherry picked from commit 7d686b72a0 )
* Rebase
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-30 07:47:17 +00:00
mergify[bot]
69b3f10207
move Account to solana-sdk (bp #13198 ) ( #13269 )
...
* move Account to solana-sdk (#13198 )
(cherry picked from commit c458d4b213 )
# Conflicts:
# programs/bpf/benches/bpf_loader.rs
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-10-29 19:16:52 +00:00
mergify[bot]
19b9839dfc
Use pico inflation for ledger-tool capitalization --enable-inflation ( #13215 ) ( #13222 )
...
* Use pico inflation for ledger-tool capitalization --enable-inflation
* rust fmt
(cherry picked from commit 7d2962135d )
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-10-28 07:40:21 +00:00
mergify[bot]
072dab0948
Fix pr crossing for sysvar keyed-accounts ( #13189 ) ( #13191 )
...
(cherry picked from commit 26eba5ac7d )
Co-authored-by: Jack May <jack@solana.com >
2020-10-27 08:33:13 +00:00
mergify[bot]
4ecb78d303
Move KeyedAccount out of solana-program. Native programs are not supported by solana-program (bp #13159 ) ( #13181 )
...
* Move KeyedAccount out of solana-program. Native programs are not supported by solana-program
(cherry picked from commit 1b343665a1 )
# Conflicts:
# programs/bpf/benches/bpf_loader.rs
* rebase
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-27 05:43:14 +00:00
Michael Vines
15a7bcd4fe
Delete .lib.rs.swo
2020-10-26 16:01:43 -07:00
Michael Vines
712267bf51
Rename "everything" feature to "full"
...
(cherry picked from commit 0cc9c94c43 )
2020-10-24 13:21:11 -07:00
mergify[bot]
eb9cef0cd4
Separate the "program" feature of solana-sdk into a new crate called solana-program (bp #12989 ) ( #13131 )
...
* Add solana-program-sdk boilerplate
(cherry picked from commit 3718771ffb )
# Conflicts:
# sdk/Cargo.toml
* Initial population of solana-program-sdk
(cherry picked from commit 63db324204 )
# Conflicts:
# Cargo.lock
* Port programs to solana-program-sdk
(cherry picked from commit fe68f7f786 )
# Conflicts:
# programs/bpf/Cargo.lock
# programs/bpf/rust/128bit/Cargo.toml
# programs/bpf/rust/128bit_dep/Cargo.toml
# programs/bpf/rust/alloc/Cargo.toml
# programs/bpf/rust/call_depth/Cargo.toml
# programs/bpf/rust/custom_heap/Cargo.toml
# programs/bpf/rust/dep_crate/Cargo.toml
# programs/bpf/rust/deprecated_loader/Cargo.toml
# programs/bpf/rust/dup_accounts/Cargo.toml
# programs/bpf/rust/error_handling/Cargo.toml
# programs/bpf/rust/external_spend/Cargo.toml
# programs/bpf/rust/instruction_introspection/Cargo.toml
# programs/bpf/rust/invoke/Cargo.toml
# programs/bpf/rust/invoked/Cargo.toml
# programs/bpf/rust/iter/Cargo.toml
# programs/bpf/rust/many_args/Cargo.toml
# programs/bpf/rust/many_args_dep/Cargo.toml
# programs/bpf/rust/noop/Cargo.toml
# programs/bpf/rust/panic/Cargo.toml
# programs/bpf/rust/param_passing/Cargo.toml
# programs/bpf/rust/param_passing_dep/Cargo.toml
# programs/bpf/rust/rand/Cargo.toml
# programs/bpf/rust/ristretto/Cargo.toml
# programs/bpf/rust/sanity/Cargo.toml
# programs/bpf/rust/sha256/Cargo.toml
# programs/bpf/rust/sysval/Cargo.toml
* Only activate legacy program feature for the solana-sdk crate
(cherry picked from commit 85c51f5787 )
* Run serum-dex unit tests
(cherry picked from commit 92ce381d60 )
* Rename solana-program-sdk to solana-program
(cherry picked from commit dd711ab5fb )
# Conflicts:
# programs/bpf/rust/128bit/Cargo.toml
# programs/bpf/rust/128bit_dep/Cargo.toml
# programs/bpf/rust/alloc/Cargo.toml
# programs/bpf/rust/call_depth/Cargo.toml
# programs/bpf/rust/custom_heap/Cargo.toml
# programs/bpf/rust/dep_crate/Cargo.toml
# programs/bpf/rust/deprecated_loader/Cargo.toml
# programs/bpf/rust/dup_accounts/Cargo.toml
# programs/bpf/rust/error_handling/Cargo.toml
# programs/bpf/rust/external_spend/Cargo.toml
# programs/bpf/rust/instruction_introspection/Cargo.toml
# programs/bpf/rust/invoke/Cargo.toml
# programs/bpf/rust/invoked/Cargo.toml
# programs/bpf/rust/iter/Cargo.toml
# programs/bpf/rust/many_args/Cargo.toml
# programs/bpf/rust/many_args_dep/Cargo.toml
# programs/bpf/rust/noop/Cargo.toml
# programs/bpf/rust/panic/Cargo.toml
# programs/bpf/rust/param_passing/Cargo.toml
# programs/bpf/rust/param_passing_dep/Cargo.toml
# programs/bpf/rust/rand/Cargo.toml
# programs/bpf/rust/ristretto/Cargo.toml
# programs/bpf/rust/sanity/Cargo.toml
# programs/bpf/rust/sha256/Cargo.toml
# programs/bpf/rust/sysval/Cargo.toml
* Update frozen_abi hashes
The movement of files in sdk/ caused ABI hashes to change
(cherry picked from commit a4956844bd )
* Resolve merge conflicts
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-24 17:25:22 +00:00
mergify[bot]
edfbd8d65a
Add replacements for Pubkey::new_rand()/Hash::new_rand() (bp #12987 ) ( #13076 )
...
* Add pubkey_new_rand(), mark Pubkey::new_rand() deprecated
(cherry picked from commit 0e68ed6a8d )
* Add hash_new_rand(), mark Hash::new_rand() as deprecated
(cherry picked from commit 76f11c7dae )
* Run `codemod --extensions rs Pubkey::new_rand solana_sdk::pubkey::new_rand`
(cherry picked from commit 7bc073defe )
# Conflicts:
# programs/bpf/benches/bpf_loader.rs
# runtime/benches/accounts.rs
# runtime/src/accounts.rs
* Run `codemod --extensions rs Hash::new_rand solana_sdk:#️⃣ :new_rand`
(cherry picked from commit 17c391121a )
* Remove unused pubkey::Pubkey imports
(cherry picked from commit 959880db60 )
# Conflicts:
# runtime/src/accounts_index.rs
* Resolve conflicts
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-10-22 05:08:01 +00:00
mergify[bot]
b1712e80ec
Parse stake and system instructions ( #13035 ) ( #13045 )
...
* Fix token account check
* Add helper to check num accounts
* Add parse_stake
* Add parse_system
* Fix AuthorizeNonce docs
* Remove jsonParsed unstable markers
* Clippy
(cherry picked from commit 46d0019955 )
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-10-21 04:35:05 +00:00
mergify[bot]
b143b9c3c2
Remove frozen ABI modules from solana-sdk (bp #13008 ) ( #13036 )
...
* Remove frozen ABI modules from solana-sdk
(cherry picked from commit 6858950f76 )
# Conflicts:
# Cargo.lock
# core/Cargo.toml
# frozen-abi/macro/Cargo.toml
# programs/bpf/Cargo.lock
# programs/stake/Cargo.toml
# programs/vote/Cargo.toml
# runtime/Cargo.toml
# sdk/Cargo.toml
# version/Cargo.toml
* rebase
* fix broken ci (#13039 )
Co-authored-by: Michael Vines <mvines@gmail.com >
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-10-21 02:00:45 +00:00