-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
cli: fix program deployment elf verification issue #32448
cli: fix program deployment elf verification issue #32448
Conversation
It looks like this was modified in #31007 -- while I'm thinking the best option is to build the current feature set, similar to Lines 802 to 835 in dd75d09
@Lichtso what do you think? Since you made the |
We could fetch the feature set from the network, but it would not change much I think. The loader program on the network verifies the deployment anyway. I am fine with switching it back to |
In that case, how about we create an issue to do this correctly, but merge this + backport to unblock people? |
Codecov Report
@@ Coverage Diff @@
## master #32448 +/- ##
=======================================
Coverage 82.1% 82.1%
=======================================
Files 778 778
Lines 210051 210051
=======================================
+ Hits 172529 172565 +36
+ Misses 37522 37486 -36 |
cli: fix progam deployment read_and_verify_elf (cherry picked from commit 724e0fe)
…#32448) (#32463) cli: fix program deployment elf verification issue (#32448) cli: fix progam deployment read_and_verify_elf (cherry picked from commit 724e0fe) Co-authored-by: ananas-block <[email protected]>
Problem
Deployment of solana programs using the alt bn128 syscall fails with cli versions 1.16.*, with the following error:
See this example for steps to replicate the issue:
https://github.com/ananas-block/exec_test/tree/altbn_deploy
Summary of Changes
Fixes #
#32447