-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Implement EIP-2200: Structured Definitions for Net Gas Metering in aleth-interpreter #5728
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5728 +/- ##
=========================================
Coverage ? 63.79%
=========================================
Files ? 358
Lines ? 30564
Branches ? 3405
=========================================
Hits ? 19499
Misses ? 9835
Partials ? 1230 |
6948ef2
to
6c0fbf3
Compare
6c0fbf3
to
f160283
Compare
waiting this PR to update the blockchain tests and check aleth consensus with geth and besu |
530da2d
to
0271da8
Compare
0271da8
to
b025be0
Compare
Hi guys, could you please explain me where is this constants are located? |
@payvint there might be not exact one-to-one correspondence between the constants in the spec and constants defined in our code, but for LegacyVM they are in https://github.com/ethereum/aleth/blob/master/libethcore/EVMSchedule.h |
@payvint Our implementation I think is closer to the spec definition in the current version of the EIP at ethereum/EIPs#2200, than to the one at your link (but I guess they are effectively equivalent) |
Thanks @gumb0, I will take a look |
So, @gumb0 , thank you for links very much. I 've just figured it out. But I have one question: |
@payvint that's right, SLOAD cost has changed, and it's the subject of another Istanbul EIP https://eips.ethereum.org/EIPS/eip-1884 |
@gumb0 Thank you very much. Figured out everything!!! |
ethereum/EIPs#2200