mergify[bot]
3eee222667
Return error if Transaction contains writable executable or ProgramData accounts (backport #19629) (#19729)
* Return error if Transaction contains writable executable or ProgramData accounts (#19629)
* Return error if Transaction locks an executable as writable
* Return error if a ProgramData account is writable but the upgradable loader isn't present
* Remove unreachable clause
* Fixup bpf tests
* Review comments
* Add new TransactionError
* Disallow writes to any upgradeable-loader account when loader not present; remove is_upgradeable_loader_present exception for all other executables
(cherry picked from commit 38bbb77989
)
# Conflicts:
# programs/bpf/tests/programs.rs
# runtime/src/accounts.rs
# runtime/src/bank.rs
# sdk/src/transaction.rs
# storage-proto/proto/transaction_by_addr.proto
# storage-proto/src/convert.rs
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>
2021-09-09 03:06:02 +00:00
..
2021-07-06 11:13:53 -07:00
2021-03-09 15:06:07 -06:00
2021-03-30 00:50:27 +00:00
2021-03-12 06:22:40 +00:00
2020-10-26 18:54:54 -07:00
2020-12-10 16:39:28 -08:00
2021-03-27 04:51:53 +00:00
2021-05-04 03:58:23 +00:00
2020-09-30 11:49:35 -06:00
2020-10-24 08:37:55 -07:00
2020-10-29 21:45:24 -07:00
2020-10-24 08:37:55 -07:00
2020-12-17 12:29:50 -08:00
2021-09-04 09:10:57 +00:00
2021-03-10 15:28:03 -06:00
2021-04-22 03:29:52 +00:00
2021-03-08 18:37:57 -07:00
2020-10-24 17:26:11 +00:00
2020-11-20 09:54:41 -07:00
2021-03-25 17:17:43 +09:00
2021-06-22 00:28:02 +00:00
2021-03-04 05:46:48 +00:00
2021-03-25 17:17:43 +09:00
2021-03-09 15:06:07 -06:00
2021-07-16 01:35:38 -06:00
2021-04-13 16:57:20 +08:00
2021-03-12 06:22:40 +00:00
2021-05-21 03:42:20 +00:00
2020-07-09 00:08:05 +00:00
2020-12-31 18:06:03 -08:00
2021-03-25 17:17:43 +09:00
2021-01-05 10:10:27 +09:00
2021-07-16 03:34:13 +00:00
2021-03-08 18:37:57 -07:00
2021-05-11 20:44:54 +00:00
2020-10-24 17:26:11 +00:00
2021-03-08 18:37:57 -07:00
2021-09-09 03:06:02 +00:00
2020-10-24 17:26:11 +00:00