Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Validate code hash in GenesisAccount #872

Closed
yihuang opened this issue Jan 4, 2022 · 0 comments · Fixed by #873
Closed

Validate code hash in GenesisAccount #872

yihuang opened this issue Jan 4, 2022 · 0 comments · Fixed by #873

Comments

@yihuang
Copy link
Contributor

yihuang commented Jan 4, 2022

Proposal: Validate code hash in genesis

Current behavior: account code hash in genesis is not validated but overridden directly.

Desired behavior: do validation in InitGenesis.

Use case: [Why is this important (helps with prioritizing requests)]

Requests may be closed if we're not actively planning to work on them.

@yihuang yihuang changed the title Validate account code hash against contract code in genesis Validate code hash in GenesisAccount Jan 4, 2022
yihuang added a commit to yihuang/ethermint that referenced this issue Jan 4, 2022
fedekunze pushed a commit that referenced this issue Jan 4, 2022
* Validate code hash in GenesisAccount

Closes: #872

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

Successfully merging a pull request may close this issue.

1 participant