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

EIP-1153 Transient Storage Tests #230

Merged
merged 28 commits into from Sep 7, 2023
Merged

Conversation

danceratopz
Copy link
Member

@danceratopz danceratopz commented Jul 27, 2023

Adds tests for EIP-1153 Transient storage opcodes, link to discussion on eth-magicians.

Filled with Shanghai (+EIP-1153; enabled in conftest.py), t8n tool used: ethereum/go-ethereum@a196f3e

Tasks

Edit tasklist title
Beta Give feedback Tasklist Tasks, more options

Delete tasklist

Delete tasklist block?
Are you sure? All relationships in this tasklist will be removed.
  1. Add simple tests for different execution contexts.
    Options
  2. Add simple tests for different creation contexts.
    Options
  3. 3 of 3
    Edit...
  4. Fix xfail: test_reentrant_call[fork=Cancun-invalid_undoes_tstorage_after_successful_call] XFAIL
    Options

@chfast
Copy link
Contributor

chfast commented Aug 23, 2023

What is the status of this?

@danceratopz
Copy link
Member Author

Hi @chfast, picking back up work on this today.

@danceratopz
Copy link
Member Author

Force pushed to include changes from #271; no changes to tests.

Copy link
Member

@marioevz marioevz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing! 💯

Just a few comments of some ideas on how to expand into more tests by adding just a few changes.

Thanks for these!

@danceratopz danceratopz marked this pull request as ready for review September 7, 2023 21:01
@danceratopz danceratopz changed the title WIP: EIP-1153 Transient Storage Tests EIP-1153 Transient Storage Tests Sep 7, 2023
Copy link
Member

@marioevz marioevz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

tests/cancun/eip1153_tstore/__init__.py Show resolved Hide resolved
@marioevz
Copy link
Member

marioevz commented Sep 7, 2023

Opened #291 so we can follow up on improving the coverage in another PR.

@marioevz marioevz merged commit 2e84395 into ethereum:main Sep 7, 2023
4 checks passed
@danceratopz danceratopz deleted the tests/1153 branch September 28, 2023 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants