-
Notifications
You must be signed in to change notification settings - Fork 566
fix: skip codehash check when the code has been deleted in the evm state #1320
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #1320 +/- ##
==========================================
+ Coverage 55.86% 55.88% +0.01%
==========================================
Files 108 108
Lines 10017 10021 +4
==========================================
+ Hits 5596 5600 +4
Misses 4140 4140
Partials 281 281
|
007a950
to
8877d1f
Compare
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.
LGTM
89ede35
to
162b5d2
Compare
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.
LGTM. Can you also add a unit test case with the empty code hash here?
0ccb7ad
to
823735f
Compare
95cb3f0
to
b178f89
Compare
there seems to be conflicts with main? |
0f2f151
to
e7ad23a
Compare
LGTM, can we merge this now @fedekunze ? |
@yihuang isn't the test with empty code hash still missing?
|
Which specific case do you have in mind, the default account has the empty code hash, so the previous test cases tested that. |
6f760fc
to
2049057
Compare
Closes: #1319
just ignores the codehash check when the evm account code is empty.
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)