Michael Vines
4b0f6fd6b1
Bump version to 1.4.29
2021-02-17 06:39:18 +00:00
Tyera Eulberg
8c66f4d6d7
Move fn to sdk
2021-02-16 19:23:47 -08:00
Stephen Akridge
89f9a9d7ea
Vote program updates
2021-02-16 18:49:01 -08:00
Tyera Eulberg
295b849e19
Clean & check stake
2021-02-16 18:53:40 -07:00
Trent Nelson
d424e92026
stake: add lamports overflow test for withdraw
...
(cherry picked from commit ae82b5ebfd
)
2021-02-16 17:38:08 -08:00
Trent Nelson
a1cb6d0635
Bump rand_core to 0.6.2
...
https://rustsec.org/advisories/RUSTSEC-2021-0023
2021-02-15 23:11:54 +00:00
Trent Nelson
a5796e0d4d
Bump version to 1.4.28
2021-02-13 04:19:31 +00:00
sakridge
8213b1db02
Stake program update ( #15309 )
2021-02-12 17:16:27 -08:00
Michael Vines
30d66ba128
Bump version to v1.4.27
2021-02-05 19:20:09 +00:00
mergify[bot]
a4b4bbf039
Fix integer overflow in degenerate invoke_signed BPF syscalls (bp #15051 ) ( #15070 )
...
* Fix integer overflow in degenerate invoke_signed BPF syscalls (#15051 )
(cherry picked from commit ebbaa1f8ea
)
# Conflicts:
# programs/bpf_loader/src/syscalls.rs
* resolve conflicts
Co-authored-by: Mrmaxmeier <Mrmaxmeier@gmail.com >
Co-authored-by: Jack May <jack@solana.com >
2021-02-04 00:09:56 +00:00
mergify[bot]
ba733168c6
Fix which shared object the test uses (bp #15060 ) ( #15067 )
...
* Fix which shared object the test uses (#15060 )
(cherry picked from commit 02a5f7104a
)
# Conflicts:
# programs/bpf/tests/programs.rs
* fix conflicts
Co-authored-by: Jack May <jack@solana.com >
2021-02-03 23:14:09 +00:00
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
mergify[bot]
b06d009885
CLI: Add sigverify results to solana decode-transaction
output (bp #14964 ) ( #15007 )
...
* cli-output: Add option sigverify status to `println_transaction()` output
(cherry picked from commit a2aea0ca33
)
* cli: Add sigverify status to `decode-transaction` output
(cherry picked from commit d547585041
)
* CLI: Modernize `decode-transaction` about message
(cherry picked from commit fddbfe1052
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-02-02 20:26:11 +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
mergify[bot]
1bf281c5c1
nit: message doesn't represent ( #14893 ) ( #14896 )
...
(cherry picked from commit 2ca0872a98
)
Co-authored-by: Jack May <jack@solana.com >
2021-01-28 09:57:33 -08:00
Michael Vines
ec46f6b91f
cli now supports a custodian for stake authorize operations
...
(cherry picked from commit 119e2c75dd
)
2021-01-26 16:52:09 -08:00
Michael Vines
7ed513c24f
Include Clock sysvar in AuthorizeWithSeed instruction
...
(cherry picked from commit 8359f4f5ff
)
2021-01-26 08:53:20 -08:00
mergify[bot]
e4068cb1bc
SPL token balance in transaction metadata (bp #13673 ) ( #14752 )
...
* SPL token balance in transaction metadata (#13673 )
* feat: store pre / post token balances
* move helper functions into separate include
* move token balance functionality to transaction-status crate
* fix blockstore processor test
* fix bigtable legacy test
* add caching to decimals
(cherry picked from commit 13db3eca9f
)
# Conflicts:
# core/src/banking_stage.rs
# storage-proto/Cargo.toml
# storage-proto/src/convert.rs
* resolve merges storage-proto banking_stage
* fix bpf tests with token deltas
Co-authored-by: Josh <josh.hundley@gmail.com >
2021-01-22 02:58:51 +00:00
mergify[bot]
47cf0726f9
Add signer/writable de/escalation tests (bp #14726 ) ( #14738 )
...
* Add signer/writable de/escalation tests (#14726 )
(cherry picked from commit aa96ad042b
)
# Conflicts:
# programs/bpf/tests/programs.rs
* resolve conflicts
* nudge
Co-authored-by: Jack May <jack@solana.com >
2021-01-21 21:35:58 +00:00
mergify[bot]
53ea18d3b3
Add block_time to getConfirmedSignaturesForAddress2 and getConfirmedTransaction (bp #14572 ) ( #14727 )
...
* Add block_time to getConfirmedSignaturesForAddress2 and getConfirmedTransaction (#14572 )
* add block_time to get_confirmed_signatures_for_address2 and protobuf implementation for tx_by_addr
* add tests for convert
* update cargo lock
* run cargo format after rebase
* introduce legacy TransactionByAddrInfo
* move LegacyTransactionByAddrInfo back to storage-bigtable
(cherry picked from commit 1de6d28eaf
)
# Conflicts:
# storage-proto/src/convert.rs
* merge storage proto convert
* fix bpf test for ConfirmedTransaction
Co-authored-by: Josh <josh.hundley@gmail.com >
2021-01-21 17:19:30 +00:00
Michael Vines
5d2bd179b1
Bump version to 1.4.25
2021-01-20 05:47:10 +00:00
mergify[bot]
c44330d16f
Bail on small deploy buffers (bp #14677 ) ( #14681 )
...
* Bail on small deploy buffers (#14677 )
(cherry picked from commit a480b63234
)
# Conflicts:
# sdk/program/src/loader_upgradeable_instruction.rs
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2021-01-20 03:20:41 +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]
b064956e20
Add load/execute/store timings ( #14561 ) ( #14590 )
...
Co-authored-by: sakridge <sakridge@gmail.com >
2021-01-15 21:13:09 +00:00
Jack May
682acd5bfd
Bump version to v1.4.24 ( #14543 )
2021-01-12 02:44:28 +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]
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