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

adding first filler tests #1

Open
wants to merge 60 commits into
base: develop
Choose a base branch
from
Open

adding first filler tests #1

wants to merge 60 commits into from

Conversation

snreynolds
Copy link
Owner

No description provided.

@snreynolds snreynolds marked this pull request as ready for review June 28, 2022 00:59
@snreynolds
Copy link
Owner Author

currently running against https://github.com/snreynolds/go-ethereum/tree/eip1153 through retesteth

#
# Expect storage slot 1 to have value 88

02_tloadAfterStore:

Choose a reason for hiding this comment

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

tload after tstore

tload after store would be a case to check that store does not affect tload on the same address

Copy link
Owner Author

@snreynolds snreynolds Jul 5, 2022

Choose a reason for hiding this comment

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

right, updated this test and added a new test #18

@@ -0,0 +1,63 @@
# 03
# Loading any other slot after storing to a slot returns 0: TSTORE(x, y), TLOAD(x + n) where n > 0 returns 0
Copy link

@winsvega winsvega Jun 30, 2022

Choose a reason for hiding this comment

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

hm. from math point of view you have to loop from 1 to 2**256 to prove that. just noting. I dont think it is reasonable. we can only pin point test

Copy link
Owner Author

Choose a reason for hiding this comment

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

thats true, updated the comment

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.

5 participants