-
Notifications
You must be signed in to change notification settings - Fork 285
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
EOFCREATE and RETURNCONTRACT implementation #553
Conversation
1e9a68a
to
17dd8f8
Compare
e5b5a78
to
8b25057
Compare
lib/evmone/instructions_traits.hpp
Outdated
@@ -171,6 +171,8 @@ constexpr inline GasCostTable gas_costs = []() noexcept { | |||
table[EVMC_CANCUN] = table[EVMC_SHANGHAI]; | |||
table[EVMC_CANCUN][OP_DUPN] = 3; | |||
table[EVMC_CANCUN][OP_SWAPN] = 3; | |||
table[EVMC_CANCUN][OP_CREATE3] = 32000; | |||
table[EVMC_CANCUN][OP_RETURNCONTRACT] = 0; |
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.
To think about this: probably neither of these prices are good?
82013aa
to
f8f095b
Compare
219821b
to
3987c3d
Compare
860b84f
to
b4b4aa0
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #553 +/- ##
==========================================
+ Coverage 98.17% 98.25% +0.08%
==========================================
Files 129 129
Lines 13767 14644 +877
==========================================
+ Hits 13516 14389 +873
- Misses 251 255 +4
Flags with carried forward coverage won't be shown. Click here to find out more.
|
91b770f
to
ef94b4e
Compare
7717742
to
d5e55fc
Compare
cd00f11
to
80e5b44
Compare
Not sure yet what happened to the coverage now, it was almost everything covered some time ago 😞 |
Seems to be beacause |
4a02f97
to
3599674
Compare
67cbffe
to
f395362
Compare
Rebased. |
Co-authored-by: pdobacz <5735525+pdobacz@users.noreply.github.com>
Also support EOFCREATE and EOF with containers in bytecode helper. Co-authored-by: pdobacz <5735525+pdobacz@users.noreply.github.com>
TODO:
[ ] Optimization to replace validation recursion with iterationcreated separate issue EOF: Nested container validation without recursion #794