Darioush Jalali
2365d77968
core/vm: update comments to match eip number ( #28743 )
11 months ago
jwasinger
d233b6b23a
core: replace instances of 'suicide' with 'selfdestruct' to improve code consistency. ( #27716 )
...
---------
Co-authored-by: Martin Holst Swende <martin@swende.se>
Co-authored-by: lightclient <14004106+lightclient@users.noreply.github.com>
1 year ago
Zhang Zhuo
b06e8c4a8a
core/vm: fix sstore gas comment type ( #24583 )
3 years ago
Martin Holst Swende
a5669ae292
core, params: implement EIP-3529 ( #22733 )
...
* core, params: implement EIP-3529
* core/vm: add london instructionset
* core/vm: add method doc for EIP enabler
Co-authored-by: Péter Szilágyi <peterke@gmail.com>
4 years ago
aaronbuchwald
8130dd5cef
core/vm: fix typo in comment ( #22785 )
4 years ago
Martin Holst Swende
65a1c2d829
core/vm: make gas cost reporting to tracers correct ( #22702 )
...
Previously, the makeCallVariantGasCallEIP2929 charged the cold account access cost directly, leading to an incorrect gas cost passed to the tracer from the main execution loop.
This change still temporarily charges the cost (to allow for an accurate calculation of the available gas for the call), but then afterwards refunds it and instead returns the correct total gas cost to be then properly charged in the main loop.
4 years ago
Alex Prut
810f9e057d
all: remove redundant conversions and import names ( #21903 )
4 years ago
Martin Holst Swende
6487c002f6
all: implement EIP-2929 (gas cost increases for state access opcodes) + yolo-v2 ( #21509 )
...
* core/vm, core/state: implement EIP-2929 + YOLOv2
* core/state, core/vm: fix some review concerns
* core/state, core/vm: address review concerns
* core/vm: address review concerns
* core/vm: better documentation
* core/vm: unify sload cost as fully dynamic
* core/vm: fix typo
* core/vm/runtime: fix compilation flaw
* core/vm/runtime: fix renaming-err leftovers
* core/vm: renaming
* params/config: use correct yolov2 chainid for config
* core, params: use a proper new genesis for yolov2
* core/state/tests: golinter nitpicks
4 years ago