Skip to content
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

Allow re-upload of a contract ContractCodeEntry is missing ContractCodeCostInputs #1295

Closed
sisuresh opened this issue Apr 25, 2024 · 0 comments · Fixed by #1309
Closed

Allow re-upload of a contract ContractCodeEntry is missing ContractCodeCostInputs #1295

sisuresh opened this issue Apr 25, 2024 · 0 comments · Fixed by #1309
Assignees

Comments

@sisuresh
Copy link
Contributor

sisuresh commented Apr 25, 2024

What

CAP-0054 in protocol 21 introduces a refined cost model for VM instantiation that can only be taken advantage of if the wasm blob is uploaded or re-uploaded starting in protocol 21. The CLI checks if a contract has already been uploaded before uploading as an optimization though, so anyone that uses the cli to deploy or install an existing contract will not benefit from this cost reduction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant