-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revert "change test validator from non upgradable bpf loader to upgra… #30409
Revert "change test validator from non upgradable bpf loader to upgra… #30409
Conversation
…dable bpf loader (solana-labs#29051)" This reverts commit b43eaba.
c75562a
to
dee17c5
Compare
Argument for v1.15 backport is the flag is currently broken in all v1.15 releases. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing this. That was short-sighted of me, apologies
automerge label removed due to a CI failure |
Merging on red |
@@ -204,7 +204,7 @@ fn main() { | |||
|
|||
programs_to_load.push(ProgramInfo { | |||
program_id: address, | |||
loader: solana_sdk::bpf_loader_upgradeable::id(), | |||
loader: solana_sdk::bpf_loader::id(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey,
I had the same idea, But in genesis we pass the bootloader program id to specify which loader to use for the program.
Is old loader deprecated and we now use this loader for all the programs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand your question. This change is a revert to the old immutable loader.
We are, however, considering proper support for the upgradeable loader in solana-test-validator, as well as defaulting to the upgradeable loader: #30412
solana-labs#30409) Revert "change test validator from non upgradable bpf loader to upgradable bpf loader (solana-labs#29051)" This reverts commit b43eaba.
solana-labs#30409) Revert "change test validator from non upgradable bpf loader to upgradable bpf loader (solana-labs#29051)" This reverts commit b43eaba. (cherry picked from commit 47777c4)
…dable bpf loader (#29051)"
This reverts commit b43eaba.
Problem
#29051 broke
solana-test-validator --bpf-program
. To use the upgradeable bpf loader, a program must have a separate programdata account; simply changing the owning program is not enough.Summary of Changes
Revert
Will follow with proper TestValidator support for the upgradeable loader.
Fixes #30402