mergify[bot]
5baad4f6b6
Upgradeable loader max_data_len limit (bp #15039 ) ( #15063 )
...
* Upgradeable loader max_data_len limit (#15039 )
(cherry picked from commit d24d5fba0e
)
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2021-02-03 22:40:26 +00:00
Tyera Eulberg
edf76509a5
Bump version to 1.4.26 ( #14937 )
2021-01-29 18:07:22 -07:00
Jack May
893cc76472
Buffer authority must match upgrade authority for deploys and upgrades ( #14932 )
2021-01-29 12:43:53 -08:00
Jack May
5217ad1ecb
Update find_program_address docs ( #14840 )
...
(cherry picked from commit 4a4881d30f
)
2021-01-26 08:53:49 -08:00
mergify[bot]
65bef638ba
Nonce address doesn't sign AdvanceNonceAccount ( #14721 )
...
(cherry picked from commit 447e3de1f2
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-01-21 05:31:05 +00:00
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
Michael Vines
5d2bd179b1
Bump version to 1.4.25
2021-01-20 05:47:10 +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
Jack May
682acd5bfd
Bump version to v1.4.24 ( #14543 )
2021-01-12 02:44:28 +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]
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
Michael Vines
e7bb83c037
Bump version to 1.4.23
2021-01-08 16:19:46 -08: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
Michael Vines
789e2d7f33
Bump version to 1.4.21
2021-01-02 08:52:35 +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]
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]
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
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
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
mergify[bot]
0039861984
Add message helpers to get program info ( #14047 ) ( #14053 )
...
(cherry picked from commit d9655ea507
)
Co-authored-by: Jack May <jack@solana.com >
2020-12-10 17:43:06 -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]
fb9f35d2f0
Rent account passed to loader can be read-only ( #13997 ) ( #14000 )
...
(cherry picked from commit 20c0e8793e
)
Co-authored-by: Jack May <jack@solana.com >
2020-12-09 07:52:49 +00:00
Jack May
be0f9d4837
Bump rust-sysroot to v0.13 ( #14001 )
2020-12-07 13:26:12 -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]
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]
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
sakridge
cea722ac09
Bump version to v1.4.14 ( #13852 )
2020-11-29 18:20:19 +00:00
Michael Vines
f5eb5a3ba6
Bump version to v1.4.13
2020-11-26 06:59:28 +00:00
Tyera Eulberg
fd9e003ae1
Bump version to 1.4.12 ( #13792 )
2020-11-24 22:53:36 +00:00
Tyera Eulberg
7099d07fd3
Bump version to 1.4.11 ( #13780 )
2020-11-24 06:30:35 +00:00
Tyera Eulberg
855cf9a362
Bump version to 1.4.10 ( #13657 )
2020-11-18 01:29:58 +00:00
Trent Nelson
b838aba840
Bump version to 1.4.9
2020-11-13 17:50:10 -07:00
Ryo Onodera
e14c2f94f4
Bump version to v1.4.8 ( #13552 )
2020-11-12 17:43:31 +00:00
Jack May
2374664e95
Custom heap is BPF only ( #13537 )
2020-11-11 16:37:18 -08:00
mergify[bot]
25cd1ceeeb
Fix parsing CreateAccountWithSeed instructions ( #13513 ) ( #13517 )
...
* Reduce required num_system_accounts and handle 2-account instructions properly
* Update CreateAccountWithSeed account docs to be correct
* Add CreateAccountWithSeed test
(cherry picked from commit 91f4e99b4c
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-11-11 01:13:12 +00:00
Tyera Eulberg
c9e646b86b
Bump version to v1.4.7 ( #13488 )
2020-11-10 05:55:26 +00:00
mergify[bot]
7c47db1e3d
align cluster and sim logging as hex ( #13484 ) ( #13486 )
...
(cherry picked from commit c280d40b40
)
Co-authored-by: Jack May <jack@solana.com >
2020-11-10 03:58:19 +00:00
Michael Vines
e738bf1c9a
Bump version to v1.4.6
2020-11-07 02:49:14 +00:00
mergify[bot]
049ca18dc5
Fix stake split rent-exempt adjustment ( #13357 ) ( #13453 )
...
* Add failing tests
* Fix stake split
* Calculate split rent-exempt-reserve and use
* Add comment in rent.rs
* Add tests for edge cases when splitting to larger accounts, and reject overflow splits
* Reframe InsufficientFunds checks in terms of lamports var
* Test hardening review comments
(cherry picked from commit 4c5f345798
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-11-06 22:05:57 +00:00
mergify[bot]
8314ab4508
Improve invoke_signed() docs ( #13405 )
...
(cherry picked from commit 8c4995b22b
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-11-05 01:07:24 +00:00
mergify[bot]
57961b1d17
Update sol_log_compute_units ( #13360 ) ( #13363 )
...
(cherry picked from commit f6a73098a4
)
Co-authored-by: Jack May <jack@solana.com >
2020-11-03 17:28:44 +00:00
Michael Vines
5877427389
Bump version to v1.4.5
2020-11-01 17:05:45 +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]
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
Jack May
65a7b536c9
Update AccountInfo comments ( #13302 )
...
(cherry picked from commit 72d41e5801
)
2020-10-30 08:09:37 -07:00