Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stSStoreTest::InitCollision #662

Open
enitrat opened this issue Mar 4, 2024 · 0 comments
Open

stSStoreTest::InitCollision #662

enitrat opened this issue Mar 4, 2024 · 0 comments
Labels
wontfix This will not be worked on

Comments

@enitrat
Copy link
Contributor

enitrat commented Mar 4, 2024

  • InitCollision_d1g0v0_Shanghai and InitCollision_d3g0v0_Shanghai: same issues as stCreate2::create2collisionStorage #661
  • InitCollision_d0g0v0_Shanghai: During a CREATE tx, the initial storage must be destroyed if there ever was something already in storage at this address. In this test, the initial storage at key 1 is 0x01 => reset to 0x00.

This changes the gas consumption of the SSTORE opcode, as the initial value is not non-zero, and the cost of setting non-zero storage is different than zero storage

@enitrat enitrat added the wontfix This will not be worked on label Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
Status: 🆕 Backlog
Development

No branches or pull requests

1 participant