core/vm: 64 bit memory and gas calculations (#19210)
* core/vm: remove function call for stack validation from evm runloop * core/vm: separate gas calc into static + dynamic * core/vm: optimize push1 * core/vm: reuse pooled bigints for ADDRESS, ORIGIN and CALLER * core/vm: use generic error message for jump/jumpi, to avoid string interpolation * testdata: fix tests for new error message * core/vm: use 64-bit memory calculations * core/vm: fix error in memory calculation * core/vm: address review concerns * core/vm: avoid unnecessary use of big.Int:BitLen()
Showing
- common/types.go 0 additions, 3 deletionscommon/types.go
- common/types_test.go 2 additions, 2 deletionscommon/types_test.go
- core/mkalloc.go 2 additions, 1 deletioncore/mkalloc.go
- core/vm/common.go 24 additions, 6 deletionscore/vm/common.go
- core/vm/gas.go 2 additions, 2 deletionscore/vm/gas.go
- core/vm/gas_table.go 0 additions, 18 deletionscore/vm/gas_table.go
- core/vm/instructions.go 25 additions, 12 deletionscore/vm/instructions.go
- core/vm/interpreter.go 27 additions, 24 deletionscore/vm/interpreter.go
- core/vm/jump_table.go 750 additions, 608 deletionscore/vm/jump_table.go
- core/vm/memory_table.go 65 additions, 49 deletionscore/vm/memory_table.go
- core/vm/stack_table.go 15 additions, 17 deletionscore/vm/stack_table.go
- eth/tracers/testdata/call_tracer_inner_create_oog_outer_throw.json 1 addition, 1 deletion...rs/testdata/call_tracer_inner_create_oog_outer_throw.json
- eth/tracers/testdata/call_tracer_throw.json 1 addition, 1 deletioneth/tracers/testdata/call_tracer_throw.json
Loading
Please register or sign in to comment