mergify[bot]
58bef3a94b
Allow closing upgradeable program accounts (backport #19319 ) ( #19411 )
...
* Allow closing upgradeable program accounts (#19319 )
(cherry picked from commit a89f180145
)
# Conflicts:
# programs/bpf_loader/src/lib.rs
# programs/bpf_loader/src/syscalls.rs
# sdk/src/feature_set.rs
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
Co-authored-by: Justin Starry <justin@solana.com >
2021-08-27 08:56:51 +00:00
Justin Starry
3b36e8e285
Add missing description for feature switch ( #19428 )
2021-08-25 18:24:28 +00:00
mergify[bot]
ef336a44a1
change untar to use unpack instead of unpack_in (backport #19216 ) ( #19340 )
...
* change untar to use unpack instead of unpack_in (#19216 )
* change untar to use unpack instead of unpack_in
* hacky, but maybe passes tests
* chore: bump tar from 0.4.35 to 0.4.37
Bumps [tar](https://github.com/alexcrichton/tar-rs ) from 0.4.35 to 0.4.37.
- [Release notes](https://github.com/alexcrichton/tar-rs/releases )
- [Commits](https://github.com/alexcrichton/tar-rs/compare/0.4.35...0.4.37 )
---
updated-dependencies:
- dependency-name: tar
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* [auto-commit] Update all Cargo lock files
* cleanup
* cleanup, add validate_inside_dst
* collapse use
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
* delete comment line
* add comments
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com >
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
(cherry picked from commit 89a31ff473
)
# Conflicts:
# Cargo.lock
# download-utils/Cargo.toml
# install/Cargo.toml
# programs/bpf/Cargo.lock
# runtime/Cargo.toml
# sdk/cargo-build-bpf/Cargo.toml
* Fix conflicts
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-08-20 17:13:35 +00:00
mergify[bot]
b5b1ed2a55
stake: Remove v2 program references (backport #19308 ) ( #19336 )
...
* stake: Remove v2 program references (#19308 )
* stake: Remove v2 program references
* Remove stake v2 feature, along with stake rewrite
(cherry picked from commit 73aa004c59
)
# Conflicts:
# runtime/src/bank.rs
* Fix merge conflict
* Fix uses of old `stake` function
Co-authored-by: Jon Cinque <jon.cinque@gmail.com >
2021-08-20 07:32:24 +00:00
mergify[bot]
6f31882260
Fix memoverlap check (backport #19232 ) ( #19259 )
...
* Fix memoverlap check (#19232 )
(cherry picked from commit 9be988db41
)
# Conflicts:
# programs/bpf_loader/src/syscalls.rs
# sdk/src/feature_set.rs
* Resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2021-08-18 18:07:36 +00:00
mergify[bot]
ddda94e486
Add AsRef<AccountInfo> for AccountInfo (backport #19235 ) ( #19238 )
...
* Add AsRef<AccountInfo> for AccountInfo
(cherry picked from commit 930465e67c
)
* add test for AsRef
(cherry picked from commit d10e37a829
)
Co-authored-by: Kirill Fomichev <fanatid@ya.ru >
2021-08-15 16:21:04 +00:00
Trent Nelson
ab5d032634
Bump version to v1.7.11
2021-08-12 06:55:18 +00:00
mergify[bot]
78086329be
Add more API documentation for Rust RpcClient ( #19021 ) ( #19091 )
...
* Add doc links to Transaction API docs
* Add more RpcClient API docs
* Reflow some rpc_client docs
* Update client/src/rpc_client.rs
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
* Update client/src/rpc_client.rs
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
* Update client/src/rpc_client.rs
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
* Update sdk/src/transaction.rs
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
* Update RpcClient docs per review
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
(cherry picked from commit b67ffab370
)
Co-authored-by: Brian Anderson <andersrb@gmail.com >
2021-08-05 23:42:56 +00:00
mergify[bot]
6deeedd886
bump recommended maps/nofiles ( #19059 )
...
(cherry picked from commit d60ccf64e1
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-08-04 20:28:34 +00:00
mergify[bot]
1a0146f21d
stake: Allow stakes with unmatched credits observed to merge (backport #18985 ) ( #19055 )
...
* stake: Allow stakes with unmatched credits observed to merge (#18985 )
* stake: Allow stakes with unmatched credits observed to merge
* Address feedback
* Remove branch by doing a ceiling in one calc
(cherry picked from commit 2b33c0c165
)
# Conflicts:
# Cargo.lock
# programs/stake/Cargo.toml
# sdk/src/feature_set.rs
* Fix merge conflicts
* Fix clippy lint
* Add back whitespace
Co-authored-by: Jon Cinque <jon.cinque@gmail.com >
2021-08-04 17:43:20 +00:00
Trent Nelson
b7f1f19d8e
Bump version to v1.7.10
2021-07-31 01:19:33 -06:00
Michael Vines
548ddff7ed
Bump version to v1.7.9
2021-07-24 11:23:44 -06:00
Ryo Onodera
1cc8de0fed
Bump version to v1.7.8 ( #18866 )
2021-07-24 01:14:03 +09:00
mergify[bot]
7427dafc36
feature: add new token program feature (backport #18780 ) ( #18803 )
...
* feature: add new token program feature (#18780 )
* feature: add new token program feature
* Fixup test
* Update to spl-token v3.2.0
* Update Cargo.lock + fmt
* Update token program version in fetch-spl.sh
* Bump associated token program to 1.0.3
* Add aToken so
(cherry picked from commit 51f3b9aa7c
)
# Conflicts:
# Cargo.lock
# account-decoder/Cargo.toml
# accounts-cluster-bench/Cargo.toml
# programs/bpf/Cargo.lock
# rpc/Cargo.toml
# sdk/src/feature_set.rs
# tokens/Cargo.toml
# transaction-status/Cargo.toml
* Fix merge issues
* Re-generate lock files
Co-authored-by: Jon Cinque <jon.cinque@gmail.com >
2021-07-21 15:05:45 +00:00
mergify[bot]
1cdcabf7cf
Bump BPF tools to v1.9 ( #18766 )
...
(cherry picked from commit 47861fc373
)
Co-authored-by: Dmitri Makarov <dmakarov@alumni.stanford.edu >
2021-07-19 20:46:59 +00:00
Trent Nelson
19049ca91b
Bump version to v1.7.7
2021-07-17 08:42:22 +00:00
sakridge
551dc0a74c
Bump 1.7 version ( #18723 )
2021-07-16 09:43:18 -06:00
Trent Nelson
336c1c1d37
nonce: Unify NonceError
with SystemError
2021-07-16 04:41:51 -06:00
mergify[bot]
c7c650fccc
Gate libsecp256k1 update (backport #18656 ) ( #18701 )
...
* hijack secp256k1 enablement feature plumbing for libsecp256k1 upgrade
* bump libsecp256k1 to v0.5.0
* gate libsecp256k1 upgrade to v0.5.0
* ci: allow clippy::inconsistent_struct_constructor
Co-authored-by: Trent Nelson <trent@solana.com >
2021-07-16 07:38:45 +00:00
Kirill Fomichev
e0e6e20e02
Add method id
to SysbarId trait ( #18604 )
...
(cherry picked from commit 5cea25ac3e
)
2021-07-14 17:51:54 -07:00
Ryo Onodera
c2320fceab
Remove sysvar special cases for rent and assign
2021-07-10 01:24:44 +09:00
mergify[bot]
8b87d86358
Bump compute budget for neon evm ( #17700 ) ( #18522 )
...
(cherry picked from commit 2867584985
)
Co-authored-by: Jack May <jack@solana.com >
2021-07-09 09:12:31 -07:00
mergify[bot]
8c328316ae
Add ecrecover syscall (backport #17720 ) ( #18500 )
...
* Add ecrecover syscall (#17720 )
Co-authored-by: Anton Lisanin <lisanin.anton@gmail.com >
(cherry picked from commit 1f288ce527
)
# Conflicts:
# Cargo.lock
# programs/bpf/Cargo.lock
# programs/bpf/tests/programs.rs
# programs/bpf_loader/Cargo.toml
# programs/bpf_loader/src/syscalls.rs
# sdk/program/Cargo.toml
* resolve conflicts
Co-authored-by: s-medvedev <40623263+s-medvedev@users.noreply.github.com >
Co-authored-by: Jack May <jack@solana.com >
2021-07-08 21:56:19 +00:00
mergify[bot]
c40e71dc03
featurize_policy_update ( #18492 ) ( #18502 )
...
(cherry picked from commit ccdf93e2b8
)
Co-authored-by: Jack May <jack@solana.com >
2021-07-07 22:31:05 +00:00
mergify[bot]
2f633cdfb7
Refactor verify_and_update write privileges check ( #18468 ) ( #18484 )
...
Co-authored-by: Justin Starry <justin@solana.com >
2021-07-07 21:46:07 +00:00
mergify[bot]
5321463892
Refactoring: Unify account_deps and accounts (backport #17898 ) ( #18486 )
...
* Refactoring: Unify account_deps and accounts (#17898 )
* Changes ThisInvokeContext::get_account() to use accounts instead of pre_accounts.
* Adds explicit keys to accounts to make them symmetric to account_deps.
* Appends account_deps to accounts in transaction loading and removes account_deps everywhere else.
(cherry picked from commit 7462c27d07
)
# Conflicts:
# program-test/src/lib.rs
# runtime/src/bank.rs
# runtime/src/message_processor.rs
* fix conflicts
Co-authored-by: Alexander Meißner <AlexanderMeissner@gmx.net >
Co-authored-by: Justin Starry <justin@solana.com >
2021-07-07 17:14:39 +00:00
mergify[bot]
0d0478c4a4
Add vote/stake checked instructions (backport #18345 ) ( #18457 )
...
* Add vote/stake checked instructions
(cherry picked from commit ee219ffa47
)
* Fix set-lockup custodian index
(cherry picked from commit 544f62c92f
)
* Add parsing for new stake instructions; clean up confusing test args
(cherry picked from commit 9b302ac0b5
)
* Add parsing for new vote instructions
(cherry picked from commit 39bac256ab
)
* Add VoteInstruction::AuthorizeChecked test
(cherry picked from commit b8ca2250fd
)
* Add Stake checked tests
(cherry picked from commit 74e89a3e3e
)
Co-authored-by: Michael Vines <mvines@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-07-07 03:17:21 +00:00
mergify[bot]
72ed4f28b1
Remove feature switch for demoting sysvar write locks ( #18373 ) ( #18454 )
...
Co-authored-by: Justin Starry <justin@solana.com >
2021-07-06 23:25:28 +00:00
mergify[bot]
428c20c79f
borsh: add bool type ( #18429 )
...
(cherry picked from commit e7b36c8484
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-07-05 21:48:10 +00:00
mergify[bot]
30fa9cbee7
sdk: add is_interactive()
method Signer
trait ( #18407 )
...
(cherry picked from commit 2af5ec4f57
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-07-03 09:09:39 +00:00
mergify[bot]
f6d943aec7
SDK: Add test for illegal Pubkey::create_with_seed
owners ( #18402 )
...
(cherry picked from commit 216983c50e
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-07-03 01:27:53 +00:00
mergify[bot]
eb683dd402
Document order of recent blockhashes sysvar ( #18379 )
...
I wanted to use this sysvar to get a recent block hash, but I didn't
know whether the first or the last entry contains the most recent block
hash.
By calling it for mainnet, printing the results, and comparing that to
the recent blocks on solanabeach.io/blocks, I discovered that the
entries are ordered from most recent to least recent. Document this to
save future readers the trouble.
(cherry picked from commit 94ab0eb49f
)
Co-authored-by: Ruud van Asseldonk <ruud@chorus.one >
2021-07-02 07:03:04 +00:00
Jack May
0200740d70
Add sdk and program READMEs ( #18154 )
...
(cherry picked from commit 94905dae52
)
2021-07-01 18:25:04 -07:00
mergify[bot]
03d213d764
Reject transactions with extra signatures ( #18306 ) ( #18370 )
...
* Reject transactions with extra signatures
* fix tests
* fix check
* fix check
* tx method
* fix checks
(cherry picked from commit d5961e9d9f
)
Co-authored-by: Justin Starry <justin@solana.com >
2021-07-01 20:07:43 +00:00
mergify[bot]
10bd14bca6
Remove feature switch for using message hash for already processed check ( #18340 ) ( #18367 )
...
(cherry picked from commit 5ca975383c
)
Co-authored-by: Justin Starry <justin@solana.com >
2021-07-01 17:39:22 +00:00
Trent Nelson
4466aa39c4
Bump version to v1.7.5
2021-06-30 22:55:01 -06:00
mergify[bot]
2fdda2ec1b
test-validator: hold rent constant with --slots-per-epoch
( #18318 )
...
(cherry picked from commit 02b14caa5f
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-06-30 08:37:54 +00:00
Tyera Eulberg
7ed2cf30a5
Bump borsh from 0.8.1 to 0.9.0 ( #18230 )
2021-06-25 14:43:04 -06:00
Trent Nelson
98e1c68a70
sdk: ensure ld
can find criterion when running BPF tests
...
(cherry picked from commit 7ee39fcb0f
)
2021-06-25 10:17:17 -06:00
mergify[bot]
a8071f1039
chore(pubkey): remove dead code ( #18162 )
...
(cherry picked from commit 755b7c7aee
)
Co-authored-by: hrls <viktor.kharitonovich@gmail.com >
2021-06-23 17:07:21 +00:00
Trent Nelson
597429ab3e
Bump version to v1.7.4
2021-06-22 19:57:34 +00:00
Trent Nelson
fcabaa7eff
sdk: refactor pda generation
2021-06-22 11:36:05 -06:00
mergify[bot]
6f376489a5
Handle removing slots during account scans ( #17471 ) ( #17953 )
...
(cherry picked from commit ccc013e134
)
Co-authored-by: carllin <carl@solana.com >
2021-06-22 00:59:12 +00:00
mergify[bot]
0cbf7bef1e
Move stake_weighted_timestamp module ( #18114 ) ( #18120 )
...
* Move timestamp module into runtime
* Less public
* Remove unused enum
(cherry picked from commit 19fe1dd463
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-06-22 00:11:12 +00:00
mergify[bot]
c9f02ae020
fix loader instruction checker ( #18047 ) ( #18074 )
...
(cherry picked from commit d18e02ef44
)
Co-authored-by: Jack May <jack@solana.com >
2021-06-18 21:28:29 +00:00
mergify[bot]
0e7512a225
Fix Nightly Clippy Warnings (backport #18065 ) ( #18070 )
...
* chore: cargo +nightly clippy --fix -Z unstable-options
(cherry picked from commit 6514096a67
)
# Conflicts:
# core/src/banking_stage.rs
# core/src/cost_model.rs
# core/src/cost_tracker.rs
# core/src/execute_cost_table.rs
# core/src/replay_stage.rs
# core/src/tvu.rs
# ledger-tool/src/main.rs
# programs/bpf_loader/build.rs
# rbpf-cli/src/main.rs
# sdk/cargo-build-bpf/src/main.rs
# sdk/cargo-test-bpf/src/main.rs
# sdk/src/secp256k1_instruction.rs
* chore: cargo fmt
(cherry picked from commit 789f33e8db
)
* Updates BPF program assert_instruction_count tests.
(cherry picked from commit c1e03f3410
)
# Conflicts:
# programs/bpf/tests/programs.rs
* Resolve conflicts
Co-authored-by: Alexander Meißner <AlexanderMeissner@gmx.net >
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-06-18 20:02:48 +00:00
Stephen Akridge
d159ae9342
Bump version to v1.7.3
2021-06-17 15:34:50 -06:00
Jon Cinque
0c90307677
v1.7: Stake refactor (Manual backport of #17906 ) ( #17978 )
...
* Refactor stake program into solana_program (#17906 )
* Move stake state / instructions into solana_program
* Update account-decoder
* Update cli and runtime
* Update all other parts
* Commit Cargo.lock changes in programs/bpf
* Update cli stake instruction import
* Allow integer arithmetic
* Update ABI digest
* Bump rust mem instruction count
* Remove useless structs
* Move stake::id() -> stake::program::id()
* Re-export from solana_sdk and mark deprecated
* Address feedback
* Run cargo fmt
* Run cargo fmt post cherry-pick
2021-06-15 23:43:22 +02:00
mergify[bot]
af2a6106da
Check for undefined symbols in .so and warn about run-time errors ( #17850 ) ( #17880 )
...
(cherry picked from commit c684e2bdc0
)
Co-authored-by: Dmitri Makarov <dmakarov@users.noreply.github.com >
2021-06-11 00:03:17 +00:00
mergify[bot]
120a7e433f
Warn about InstructionError meta ( #17864 ) ( #17878 )
...
(cherry picked from commit fa6bdd2d12
)
Co-authored-by: Jack May <jack@solana.com >
2021-06-10 23:49:03 +00:00