solana/test-validator
mergify[bot] 0e50e66a30
v2.1: test-validator: Fix upgradeable programs at genesis (backport of #3692) (#3694)
test-validator: Fix upgradeable programs at genesis (#3692)

#### Problem

As noted in
https://solana.stackexchange.com/questions/17478/solana-localnet-error-while-upgrading-a-program-loaded-at-genesis-using-solan,
an upgradeable program loaded at genesis is not actually upgradeable,
failing with `instruction changed executable accounts data`. This is
because the program-data account is incorrectly set as "executable",
which it isn't really.

#### Summary of changes

Don't set the program-data account as executable. This is the only place
in the repo where we were doing this incorrectly.

(cherry picked from commit 73f54a05ac38228b1d86504041a17efcb46d6468)

Co-authored-by: Jon C <me@jonc.dev>
2024-11-18 23:19:04 +01:00
..
src v2.1: test-validator: Fix upgradeable programs at genesis (backport of #3692) (#3694) 2024-11-18 23:19:04 +01:00
Cargo.toml v2.1: SIMD-0075: Precompile for Secp256r1 (backport of #3152) (#3662) 2024-11-16 07:28:35 +09:00