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]
4470afceaa
Add buffer authority to upgradeable loader (bp #14482 ) ( #14503 )
...
* Add buffer authority to upgradeable loader (#14482 )
(cherry picked from commit 58487c6360
)
* resolve conflicts
* nudge
Co-authored-by: Jack May <jack@solana.com >
2021-01-09 05:13:55 +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]
463e377ccc
Enable program upgrades via CPI ( #14449 ) ( #14502 )
...
(cherry picked from commit 5eacc5d08d
)
Co-authored-by: Jack May <jack@solana.com >
2021-01-09 01:30:42 +00:00
Jack May
d815fe37c8
Don't use caller passed executable account ( #14276 ) ( #14501 )
2021-01-09 01:21:09 +00:00
mergify[bot]
709ec20d7c
Report correct program id (bp #14486 ) ( #14497 )
...
* Report correct program id (#14486 )
(cherry picked from commit 9d53eca6e3
)
# Conflicts:
# programs/bpf_loader/src/lib.rs
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2021-01-08 16:53:09 -08:00
Michael Vines
e7bb83c037
Bump version to 1.4.23
2021-01-08 16:19:46 -08:00
mergify[bot]
cbcbc3f1c8
limits number of crds values associated with a pubkey (bp #14467 ) ( #14489 )
...
* limits number of crds values associated with a pubkey (#14467 )
(cherry picked from commit 766195dded
)
# Conflicts:
# core/src/crds.rs
* removes backport merge conflicts
* updates smallvec
Co-authored-by: behzad nouri <behzadnouri@gmail.com >
2021-01-08 21:27:00 +00:00
Tyera Eulberg
d8e878998c
Bump version to 1.4.22 ( #14462 )
2021-01-06 19:42:50 +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
Michael Vines
789e2d7f33
Bump version to 1.4.21
2021-01-02 08:52:35 +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]
bfe9f12fe0
Remove assert ( #14356 ) ( #14359 )
...
(cherry picked from commit 1c5427ff17
)
Co-authored-by: Jack May <jack@solana.com >
2020-12-30 22:32:42 +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]
cfb28a1b2e
Prevent bpf loader impersonators (bp #14278 ) ( #14353 )
...
* Prevent bpf loader impersonators (#14278 )
(cherry picked from commit ee0a80a092
)
# Conflicts:
# programs/bpf_loader/src/lib.rs
# runtime/src/message_processor.rs
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-12-30 20:10:13 +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]
7eb5db98cf
Limit CPI from calling loader or native programs ( #14252 ) ( #14319 )
...
(cherry picked from commit 0b479ab180
)
Co-authored-by: Jack May <jack@solana.com >
2020-12-30 06:39:22 +00:00
mergify[bot]
cd5bb89a15
Add Program loader/environment instruction errors (bp #14120 ) ( #14333 )
...
* Add Program loader/environment instruction errors (#14120 )
(cherry picked from commit d513b0c4ca
)
# Conflicts:
# programs/bpf_loader/src/lib.rs
* resolve conflicts
* update error
Co-authored-by: Jack May <jack@solana.com >
2020-12-30 01:19:02 +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]
ebfbe5ed8a
Fix program account rent exemption ( #14176 ) ( #14334 )
...
(cherry picked from commit 593ad80954
)
Co-authored-by: Jack May <jack@solana.com >
2020-12-29 22:32:32 +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
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
Michael Vines
8afa345eb3
Bump version to 1.4.20
2020-12-21 20:18:12 -08:00
sakridge
91a2d03f28
Update version to 1.4.19 ( #14196 )
2020-12-18 00:36:20 +00:00
Trent Nelson
206accb59a
Override socket2 crate to v0.3.17
2020-12-17 03:00:18 +00:00
mergify[bot]
e91b124cd9
check for resize access violations (bp #14142 ) ( #14151 )
...
* check for resize access violations (#14142 )
(cherry picked from commit 025f886e10
)
# Conflicts:
# programs/bpf_loader/src/syscalls.rs
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-12-16 12:20:52 +00:00
mergify[bot]
5c379db925
Remove lock files from programs/bpf/rust ( #14148 ) ( #14157 )
...
(cherry picked from commit 49c3f14016
)
Co-authored-by: Jack May <jack@solana.com >
2020-12-16 11:43:46 +00:00
sakridge
82add14782
Bump version to v1.4.18 ( #14144 )
2020-12-16 04:15:05 +00:00
Michael Vines
539f108ea6
Bump version to 1.4.17
2020-12-14 15:57:53 -08:00
Trent Nelson
82f00bf9f7
Override yanked miow crate to 0.2.2
2020-12-12 00:16:37 +00:00
Trent Nelson
8fdfb291a9
Override yanked net2 0.2.37
2020-12-12 00:16:37 +00:00
Trent Nelson
277d4c9ae4
Switch to memmap2 fork
2020-12-12 00:16:37 +00:00
mergify[bot]
83801f2b05
Clean invoke in prep for native invoke ( #14055 ) ( #14059 )
...
(cherry picked from commit 83fda2d972
)
Co-authored-by: Jack May <jack@solana.com >
2020-12-10 18:47:18 -08:00
Michael Vines
fb3e88bb7e
Bump version to v1.4.16 ( #14054 )
2020-12-10 17:04:34 -08:00
mergify[bot]
c01bff61f8
Fix priv escalation test ( #14046 ) ( #14049 )
...
(cherry picked from commit 5ea80e673f
)
Co-authored-by: Jack May <jack@solana.com >
2020-12-11 00:08:21 +00:00
mergify[bot]
f52feddfcd
Cap CPI signers (bp #14021 ) ( #14023 )
...
* Cap CPI signers (#14021 )
(cherry picked from commit e1a4251b07
)
# Conflicts:
# programs/bpf/tests/programs.rs
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-12-09 11:46:46 +00:00
mergify[bot]
a46d14a2d7
Don't use stale executor cache (bp #13966 ) ( #13969 )
...
* Don't use stale executor cache (#13966 )
(cherry picked from commit 882d033233
)
* fix conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-12-09 09:11:31 +00:00
Jack May
be0f9d4837
Bump rust-sysroot to v0.13 ( #14001 )
2020-12-07 13:26:12 -08:00
Jack May
0f3705340b
Cap seeds not signers ( #13943 )
2020-12-03 11:46:34 -08:00
mergify[bot]
f705340971
Invoke with empty account slice (bp #13931 ) ( #13940 )
...
* Invoke with empty account slice (#13931 )
(cherry picked from commit 1c51711c75
)
* nudge ci
Co-authored-by: Jack May <jack@solana.com >
2020-12-03 09:52:08 -08:00
Michael Vines
38d7d7df50
Bump version to v1.4.15
2020-12-03 01:55:39 +00:00
Jack May
e6f54ffd56
Cap number of program address seeds ( #13925 )
...
* Cap number of program address seeds
* fmt
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-12-02 23:01:58 +00:00
mergify[bot]
501fea7a3c
Translate data length and owner as writable (bp #13914 ) ( #13918 )
...
* Translate data length and owner as writable (#13914 )
(cherry picked from commit 85bec37be4
)
# Conflicts:
# programs/bpf_loader/src/syscalls.rs
* Resolve conflicts
* nudge
* fmt funk
* ugh
* nudge
Co-authored-by: Jack May <jack@solana.com >
2020-12-02 19:28:15 +00:00
mergify[bot]
01d9062f7b
Check that the program was granted access to program_id (bp #13890 ) ( #13893 )
...
* Check that the program was granted access to program_id (#13890 )
(cherry picked from commit 733fcbaa6c
)
# Conflicts:
# programs/bpf/Cargo.toml
# programs/bpf/tests/programs.rs
* Resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-12-01 17:49:17 +00:00
mergify[bot]
3955778cb6
Add msg! macro for program logging, deprecate info! macro ( #13885 )
...
(cherry picked from commit 6705b5a98c
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-12-01 06:05:31 +00:00
Jack May
7890957250
Bump to rbpf v0.1.34 ( #13874 )
2020-12-01 01:43:50 +00:00
mergify[bot]
5511d52c62
Don't reset credits_observed due to stale voters ( #13836 ) ( #13860 )
...
* Don't reset credits_observed due to stale voters
* Add tests
* Fix comment
(cherry picked from commit e81c2c826c
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-11-30 15:06:19 +00:00
sakridge
cea722ac09
Bump version to v1.4.14 ( #13852 )
2020-11-29 18:20:19 +00:00