-
Notifications
You must be signed in to change notification settings - Fork 562
Problem: import/export genesis roundtrip test fails for contract storage #590
Conversation
Codecov Report
@@ Coverage Diff @@
## main #590 +/- ##
==========================================
+ Coverage 52.51% 52.60% +0.09%
==========================================
Files 64 64
Lines 5273 5260 -13
==========================================
- Hits 2769 2767 -2
+ Misses 2350 2339 -11
Partials 154 154
|
Alternatively, can we just remove the hash in SetState? |
4398c4b
to
9589b2f
Compare
I just removed the hash completely in newer commit. |
Verified in cronos's integration test: https://github.com/crypto-org-chain/cronos/pull/104/files#diff-4bc634280ffa32d380c3cca748c078f199cf11056710fa67713f672133ebfc86R34 the key in storage is not hashed now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @yihuang. Can you add a state machine breaking item on the changelog?
done |
Closes: evmos#589 - don't hash the key again in InitGenesis
Head branch was pushed to by a user without write access
e58444e
to
6f8dbff
Compare
it seems the gas estimate issue is fixed too. |
Closes: #589
Description
For contributor use:
docs/
) or specification (x/<module>/spec/
)godoc
comments.Unreleased
section inCHANGELOG.md
Files changed
in the Github PR explorerFor admin use:
WIP
,R4R
,docs
, etc)