Skip to content

Add set_code_hash function and example#1203

Merged
cmichi merged 5 commits intouse-ink:masterfrom
willser:will/add-seal_set_code_hash-function-and-example
Apr 22, 2022
Merged

Add set_code_hash function and example#1203
cmichi merged 5 commits intouse-ink:masterfrom
willser:will/add-seal_set_code_hash-function-and-example

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

@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