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

Add set_code_hash function and example #1203

Merged

Conversation

willser
Copy link
Contributor

@willser willser commented Mar 27, 2022

Add ink_env::set_code_hash and create two examples in examples/upgradeable-contracts/set-code-hash.

Resolves #1185 .

@willser willser force-pushed the will/add-seal_set_code_hash-function-and-example branch from 07be2d5 to b3bf653 Compare March 28, 2022 13:17
@willser
Copy link
Contributor Author

willser commented Mar 28, 2022

Hello team,I checked the CI log and got thoese information.It's that something wrong in this PR?

$ git clone --verbose --depth 1 --branch ${UPSTREAM_BRANCH} ${UPSTREAM_REPO}
Cloning into 'ink'...
warning: Could not find remote branch will/add-seal_set_code_hash-function-and-example to clone.
fatal: Remote branch will/add-seal_set_code_hash-function-and-example not found in upstream origin
UPSTREAM_BRANCH_REDIS_KEY=will-add-seal_set_code_hash-function-and-example
$ echo "UPSTREAM_REPO=${UPSTREAM_REPO}" | tee -a parent-vars.env
UPSTREAM_REPO=https://github.com/paritytech/ink.git
$ echo "UPSTREAM_REPO_NAME=${UPSTREAM_REPO_NAME}" | tee -a parent-vars.env

crates/env/src/api.rs Outdated Show resolved Hide resolved
crates/env/src/api.rs Outdated Show resolved Hide resolved
crates/env/src/backend.rs Outdated Show resolved Hide resolved
crates/env/src/backend.rs Outdated Show resolved Hide resolved
crates/env/src/engine/off_chain/impls.rs Outdated Show resolved Hide resolved
@cmichi cmichi merged commit 218c91c into use-ink:master Apr 22, 2022
@cmichi
Copy link
Collaborator

cmichi commented Apr 22, 2022

Thanks so much for implementing this @willser !

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

Successfully merging this pull request may close these issues.

Implement seal_set_code_hash and add example contract
2 participants