-
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
Feature Gate: Enable the ExtendProgram
ix for the bpf upgradeable loader
#26385
Comments
What is eta for this? |
Needs to get reviewed, audited, and then activated via feature gate. I'm hoping to get this feature into v1.11 and will activate it once each cluster is fully upgraded to that version. |
thanks for working on this @jstarry! any guidance on earliest possible 1.11 release? |
It will be enabled on testnet soon but it's quite difficult to predict when mainnet will be updated to v1.11 at this time |
It's great change @jstarry. Will In description you wrote "extending", I assume we can also shrink it and recover unused SOL ? |
That would be a nice feature, but not implemented yet in the CLI
The length of the program data isn't stored in the metadata so it's not possible to know how much data can be shrunk safely. That could be implemented though and added as a separate feature. |
ExtendProgramData
ix for the bpf upgradeable loaderExtendProgram
ix for the bpf upgradeable loader
@jstarry Would you have any idea when this would hit mainnet? |
When mainnet is running v14.. hopefully not too long but it could take months |
sheesh we need it a lot |
hope this is out soon, badly needed for our side as well |
Yeah also hope this is deployed soon. |
Is there a rough ETA for when it will be deployed? |
This gate is on the schedule at https://github.com/solana-labs/solana/wiki/Feature-Gate-Activation-Schedule, and is the 25th (if I counted right) feature gate in the 1.14 release line. So best case, it'll be activated 25 epochs after mainnet adopts the 1.14 release line |
Sorry everybody who has been patiently waiting. We will have to delay this until we fix our executor cache (#29803). |
@Lichtso do you have a rough timeline in mind? |
It is making good progress so we should have something on testnet by the next release cycle. Though it will take a lot longer until it hits MNB. Unfortunately our current design makes it hard to implement this right. @ilmoi @dr497 @ADBalici @enzoampil @Timikcool @iurage @mardragon @zlex7 @mgild |
Are there any updates on the timeline of this feature? It looks like it got pushed back several minor versions but we're really hurting for more binary space. |
Would like an update on this too, out of space on multiple programs, very hard to fit in due to evolving metaplex updates and stuff. |
This feature is still on the master branch, will ship in the v1.16 release line. When this reaches mainnet depends on how quickly the validators choose to adopt the v1.14 release so that we can begin stabilizing v1.16 |
excellent |
It is place 3 in the Feature-Gate-Activation-Schedule of MNB so should be in the next few weeks. |
FYI this feature was activated a few days ago in epoch 532 on mainnet-beta |
okay to close it then? |
Once the feature gate code is cleaned up it will be closed |
Description
See #26386
Add a feature gate to enable a new
ExtendProgram
instruction which is permission less and allows extending the program data by a specified number of bytes so that developers don't need to pre-allocate program data accounts.Note
Do NOT activate this before enable program redeployment cooldown.
Feature ID
8Zs9W7D9MpSEtUWSQdGniZk2cNmV22y6FLJwCx53asme
Activation Method
Single Core Contributor
Minimum Version
v1.16.0
Testnet Activation Epoch
492
Devnet Activation Epoch
547
Mainnet-Beta Activation Epoch
532
The text was updated successfully, but these errors were encountered: