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

Upgradable contracts using set_code_hash function #2

Closed
wants to merge 10 commits into from

Conversation

yarikbratashchuk
Copy link

@yarikbratashchuk yarikbratashchuk commented Dec 29, 2021

Implementation for #10567

@yarikbratashchuk yarikbratashchuk changed the title Upgradable contracts using set_code_hash function POC Upgradable contracts using set_code_hash function Jan 11, 2022
Copy link

@VargSupercolony VargSupercolony left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add set_code_hash function, add benchmarks & weights

frame/contracts/fixtures/set_code_hash.wat Outdated Show resolved Hide resolved
frame/contracts/src/exec.rs Outdated Show resolved Hide resolved
frame/contracts/src/tests.rs Outdated Show resolved Hide resolved
- comment errors: ReturnCodes
- update mock ext implementation
- return Error::CodeNotFound when no code for such hash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants