tstore_bug-2

command
v0.0.0-...-825896e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

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.

  1. a: Run a CREATE2
  2. b: In the initcode, SSTORE(slot:1, value:1)
  3. b: Return too large bytecode, thus failing the creation
  4. a: Run the CREATE2 again
  5. b: check SLOAD(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]

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL