package
0.0.0-20250310125834-1ede654ac752
Repository: https://github.com/holiman/goevmlab.git
Documentation: pkg.go.dev
# README
TSTORE bug #1
This example builds a testcase for https://github.com/ethereum/execution-specs/issues/917
The bug is pretty subtle, it pertains to T-storage inside contract deployments.
a
: Run aCREATE2
b
: In the initcode,SSTORE(slot:1, value:1)
b
: Return too large bytecode, thus failing the creationa
: Run theCREATE2
againb
: checkSLOAD(slot:1)
. If this is non-zero, we have hit the bug.
The testcase implements one way of doing it.
Finished testcase: [./tstore_test-2.json]