mergify[bot]
53f8e58300
Demote write locks on transaction program ids (backport #19593 ) (backport #19633 ) ( #19637 )
...
* Demote write locks on transaction program ids (backport #19593 ) (#19633 )
* Demote write locks on transaction program ids (#19593 )
* Add feature
* Demote write lock on program ids
* Fixup bpf tests
* Update MappedMessage::is_writable
* Comma nit
* Review comments
(cherry picked from commit decec3cd8b
)
# Conflicts:
# core/src/banking_stage.rs
# core/src/cost_model.rs
# core/src/cost_tracker.rs
# ledger-tool/src/main.rs
# program-runtime/src/instruction_processor.rs
# programs/bpf/tests/programs.rs
# programs/bpf_loader/src/syscalls.rs
# rpc/src/transaction_status_service.rs
# runtime/src/accounts.rs
# runtime/src/bank.rs
# runtime/src/message_processor.rs
# sdk/benches/serialize_instructions.rs
# sdk/program/src/message/mapped.rs
# sdk/program/src/message/sanitized.rs
# sdk/src/transaction/sanitized.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
(cherry picked from commit fcda5d4a7d
)
# Conflicts:
# cli-output/src/display.rs
# core/src/transaction_status_service.rs
# program-test/src/lib.rs
# programs/bpf_loader/src/syscalls.rs
# runtime/src/accounts.rs
# runtime/src/bank.rs
# runtime/src/message_processor.rs
# sdk/benches/serialize_instructions.rs
# sdk/program/src/message.rs
# sdk/src/feature_set.rs
# transaction-status/src/parse_accounts.rs
* Replace feature and fix conflicts
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-09-04 09:10:57 +00:00
sakridge
715c5e64c4
Bump version to 1.6.23 ( #19447 )
2021-08-26 18:09:15 +00:00
Trent Nelson
011fe72aa2
Bump version to v1.6.22
2021-08-18 22:08:12 -06:00
Tyera Eulberg
4d77ac1688
Bump version to v1.6.21 ( #18953 )
2021-07-28 23:47:03 +00:00
Jon Cinque
ba8426e0fd
1.6: Bump crates to 1.6.20 ( #18805 )
2021-07-21 17:44:41 +02:00
Trent Nelson
d7b381c90c
Bump version to v1.6.19
2021-07-17 08:57:44 +00:00
Trent Nelson
3dbdaa5341
Bump version to v1.6.18
2021-07-16 09:57:58 +00:00
sakridge
06b1c980d4
Bump version to v1.6.17 ( #18393 )
2021-07-02 19:40:37 +00:00
Trent Nelson
31dc79a4f9
Bump version to v1.6.16
2021-06-30 22:53:51 -06:00
mergify[bot]
57baf7f79b
Add memory operation syscalls (backport #16447 ) ( #18149 )
...
* Add memory operation syscalls (#16447 )
(cherry picked from commit 2b50529265
)
# Conflicts:
# programs/bpf/Cargo.lock
# programs/bpf/rust/sysvar/tests/lib.rs
# programs/bpf/tests/programs.rs
# programs/bpf_loader/src/syscalls.rs
# sdk/src/feature_set.rs
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2021-06-22 19:57:51 +00:00
Trent Nelson
06d6e357ae
Bump version to v1.6.15 ( #18108 )
2021-06-21 14:23:43 -06:00
Trent Nelson
0ed9f7144c
sdk: refactor pda generation
2021-06-21 10:16:49 -06:00
Tyera Eulberg
1201ef172e
Bump version to v1.6.14 ( #18050 )
2021-06-17 20:42:10 +00:00
Ryo Onodera
337de51088
Bump version to v1.6.13 ( #17972 )
2021-06-15 23:47:22 +09:00
Tyera Eulberg
3a3454d788
Bump version to v1.6.12 ( #17651 )
2021-06-01 21:40:36 -06:00
Tyera Eulberg
ae1687bc0a
Bump version to v1.6.11 ( #17484 )
2021-05-25 15:35:50 -06:00
mergify[bot]
3f6964d264
InvokeContext: Add get_sysvar() helper to sdk (backport #17360 ) ( #17368 )
...
* Add get_sysvar() helper to sdk
(cherry picked from commit 2c99b23ad7
)
# Conflicts:
# runtime/src/message_processor.rs
# sdk/src/process_instruction.rs
* Resolve conflicts
Co-authored-by: Michael Vines <mvines@gmail.com >
2021-05-21 03:42:20 +00:00
mergify[bot]
0e9fe0847f
Optimize aligned memory used by the runtime (backport #17324 ) ( #17334 )
...
* Optimize aligned memory used by the runtime (#17324 )
(cherry picked from commit 477898f682
)
# Conflicts:
# cli/Cargo.toml
# programs/bpf/Cargo.toml
# programs/bpf_loader/Cargo.toml
# programs/bpf_loader/src/syscalls.rs
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2021-05-19 23:21:47 +00:00
Tyera Eulberg
409ac4dcfa
Bump version to v1.6.10 ( #17250 )
2021-05-15 01:47:56 +00:00
mergify[bot]
3303ead54d
Add Keccak256 syscall and sdk support (backport #16498 ) ( #17157 )
...
* Add Keccak256 syscall and sdk support (#16498 )
(cherry picked from commit 8eb05d6ed4
)
# Conflicts:
# Cargo.lock
# programs/bpf/Cargo.lock
# programs/bpf/rust/sha/Cargo.toml
# programs/bpf/tests/programs.rs
# programs/bpf_loader/Cargo.toml
# sdk/program/Cargo.toml
# sdk/program/src/lib.rs
# sdk/src/feature_set.rs
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2021-05-11 09:31:16 +00:00
Michael Vines
65e1b881f9
Bump version to v1.6.9
2021-05-08 06:28:08 +00:00
Michael Vines
524b380a71
Bump version to 1.6.8
2021-05-04 12:46:57 -07:00
mergify[bot]
b0c0739db9
Allow SetUpgradeAuthority instruction in CPI calls (backport #16676 ) ( #16954 )
...
* Allow SetUpgradeAuthority instruction in CPI calls (#16676 )
* feat: allow SetAuthority in CLI calls
* chore: clippy match_like_matches_macro
* chore: clippy match_like_matches_macro
* chore: rename CLI to CPI
* chore: move check for cpi authorised instruction to syscalls
* chore: add set_upgrade_authority cpi test
* chore: assert upgrade authority was changed
* feat: gate set_upgrade_authority via cpi with a feature
* chore: move feature to the end of the list
* chore: remove white spaces
* chore: remove white spaces
* chore: update comment to rerun build
(cherry picked from commit 1a658c7f31
)
# Conflicts:
# programs/bpf/Cargo.toml
# programs/bpf_loader/src/syscalls.rs
# sdk/src/feature_set.rs
* chore: fixe merge conflicts
Co-authored-by: Sebastian Bor <Sebastian_Bor@hotmail.com >
2021-04-30 20:47:38 +00:00
mergify[bot]
dbc58455df
Retain alloc'd and updated data in cpi (backport #16850 ) ( #16890 )
...
* Retain alloc'd and updated data in cpi (#16850 )
(cherry picked from commit 9b3a59f030
)
# Conflicts:
# programs/bpf_loader/src/syscalls.rs
# sdk/src/feature_set.rs
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2021-04-27 23:01:43 +00:00
mergify[bot]
0269fffa5a
Remove unactivated ristretto syscall (backport #16727 ) ( #16745 )
...
* Remove unactivated ristretto syscall (#16727 )
(cherry picked from commit be4df39a4c
)
# Conflicts:
# programs/bpf/Cargo.lock
# programs/bpf/rust/ristretto/Cargo.toml
# programs/bpf/tests/programs.rs
# programs/bpf_loader/src/syscalls.rs
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2021-04-22 18:33:27 +00:00
mergify[bot]
bbd8bd2e74
Enforce host aligned memory for program regions (backport #16590 ) ( #16683 )
...
* Enforce host aligned memory for program regions (#16590 )
(cherry picked from commit 08d5253651
)
# Conflicts:
# cli/Cargo.toml
# programs/bpf/Cargo.toml
# programs/bpf/benches/bpf_loader.rs
# programs/bpf/tests/programs.rs
# programs/bpf_loader/Cargo.toml
# programs/bpf_loader/src/lib.rs
* fix conflicts
Co-authored-by: Jack May <jack@solana.com >
2021-04-21 01:47:00 +00:00
mergify[bot]
27095378fa
Remove unwrap from bpf_loader serialization ( #16645 ) ( #16649 )
...
(cherry picked from commit 2409bb18f3
)
Co-authored-by: Jack May <jack@solana.com >
2021-04-20 16:35:45 +00:00
Michael Vines
f59d4f29d9
clippy
2021-04-19 04:12:16 +00:00
Trent Nelson
4e94446fc3
Bump version to v1.6.7
2021-04-16 23:31:30 +00:00
Michael Vines
4ef3a679a4
Bump version to v1.6.6
2021-04-14 10:27:02 -07:00
Jack May
ef3781d4ee
fix cross-merge ( #16535 )
2021-04-14 10:16:24 +00:00
mergify[bot]
6da4bec41d
Return sysvars via syscalls (bp #16422 ) ( #16497 )
...
* Return sysvars via syscalls (#16422 )
(cherry picked from commit fa83f3bd73
)
* bad merge
* Fix branch diffs
* nudge
Co-authored-by: Jack May <jack@solana.com >
2021-04-14 05:33:27 +00:00
mergify[bot]
935a836a7d
bump solana_rbpf from 0.2.5 to 0.2.7 (backport #16515 ) ( #16525 )
...
* bump solana_rbpf from 0.2.5 to 0.2.7 (#16515 )
(cherry picked from commit f7eadd9d70
)
# Conflicts:
# cli/Cargo.toml
# programs/bpf/Cargo.toml
# programs/bpf_loader/Cargo.toml
# programs/bpf_loader/src/syscalls.rs
* Fix conflicts
Co-authored-by: Michael Vines <mvines@gmail.com >
Co-authored-by: Jack May <jack@solana.com >
2021-04-13 23:53:48 +00:00
mergify[bot]
723e7f11b9
Simplify some pattern-matches ( #16402 ) ( #16446 )
...
When those match an exact combinator on Option / Result.
Tool-aided by [comby-rust](https://github.com/huitseeker/comby-rust ).
(cherry picked from commit b08cff9e77
)
Co-authored-by: François Garillot <4142+huitseeker@users.noreply.github.com >
2021-04-08 20:45:01 +00:00
Tyera Eulberg
5da83c1491
Bump version to v1.6.5 ( #16361 )
2021-04-04 22:00:40 -06:00
sakridge
a788021181
Bump version to v1.6.4 ( #16345 )
2021-04-04 13:31:35 -07:00
mergify[bot]
8fd3465f8a
Cleanup use (bp #16327 ) ( #16328 )
...
* Cleanup use (#16327 )
(cherry picked from commit dee655df35
)
# Conflicts:
# Cargo.lock
# program-test/Cargo.toml
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2021-04-02 19:54:00 +00:00
mergify[bot]
68ad2dcce1
Use more performant copy ( #16282 ) ( #16284 )
...
(cherry picked from commit ad7f8e7f23
)
Co-authored-by: Jack May <jack@solana.com >
2021-04-01 01:08:01 +00:00
mergify[bot]
20754a7115
Drop write lock on sysvars ( #15497 ) ( #16233 )
...
* Drop write lock on sysvars
* adds env var for demoting sysvar write lock demotion
* moves demote logic to is_writable
* feature gates sysvar write lock demotion
* adds builtins to write lock demotion
* adds system program id to builtins
* adds Feature111...
* adds an abi-freeze test
* mvines set of builtin program keys
Co-authored-by: Michael Vines <mvines@gmail.com >
* update tests
* adds bpf loader keys
* Add test sysvar
* Plumb demote_sysvar to is_writable
* more plumbing of demote_sysvar_write_locks to is_writable
* patches test_program_bpf_instruction_introspection
* hard codes demote_sysvar_write_locks to false for serialization/encoding methods
* Revert "hard codes demote_sysvar_write_locks to false for serialization/encoding methods"
This reverts commit ae3e2d2e777437bddd753933097a210dcbc1b1fc.
* change the hardcoded ones to demote_sysvar_write_locks=true
* Use data_as_mut_slice
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
Co-authored-by: Michael Vines <mvines@gmail.com >
(cherry picked from commit 54c68ea83f
)
Co-authored-by: sakridge <sakridge@gmail.com >
2021-03-31 20:23:20 +00:00
mergify[bot]
8a57ee181e
Cleanup nits (bp #16211 ) ( #16237 )
...
* Cleanup nits (#16211 )
(cherry picked from commit f84e88f0a2
)
# Conflicts:
# programs/bpf/Cargo.lock
# programs/bpf/rust/sysvar/Cargo.toml
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2021-03-31 10:01:18 +00:00
Trent Nelson
634959b3ab
Bump version to v1.6.3
2021-03-30 16:17:47 +00:00
Trent Nelson
03b21f2e9d
Bump version to v1.6.2
2021-03-30 00:06:01 -06:00
mergify[bot]
defd9238fa
Simplify account.rent_epoch handling for sysvar rent (bp #16049 ) ( #16118 )
...
* Simplify account.rent_epoch handling for sysvar rent (#16049 )
* Add some code for special local testing
* Add comment to store_account_and_update_capitalization
* Simplify account.rent_epoch handling for sysvar rent
* Introduce *_for_test functions
* Add deprecation messages to existing api
(cherry picked from commit 6d5c6c17c5
)
# Conflicts:
# sdk/src/native_loader.rs
* Fix conflicts
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2021-03-25 17:17:43 +09:00
mergify[bot]
9e91a2c2fd
Add Close instrruction and tooling to upgradeable loader ( #15887 ) ( #15972 )
...
(cherry picked from commit 7f500d610c
)
Co-authored-by: Jack May <jack@solana.com >
2021-03-18 06:02:57 +00:00
Michael Vines
b1a90c3580
=1.6.1
2021-03-16 08:41:28 +00:00
mergify[bot]
5bd4e38345
Charge compute budget for bytes passed via cpi ( #15874 ) ( #15905 )
...
(cherry picked from commit ad9901d7c6
)
Co-authored-by: Jack May <jack@solana.com >
2021-03-16 07:57:32 +00:00
Michael Vines
be00246fb5
Bump version to v1.6.1
2021-03-15 14:47:58 -06:00
Jack May
cc38ae72e7
Skip deserialization of readonly accounts ( #15813 )
2021-03-11 19:28:21 -08:00
Jeff Washington (jwash)
952c3bcbb7
AccountSharedData construction ( #15790 )
2021-03-11 18:09:04 -06:00
Jeff Washington (jwash)
3419a5446e
AccountSharedData.set_data ( #15781 )
...
* account.set_data and resize_data
* remove data_resize
2021-03-11 16:40:45 -06:00