-
Notifications
You must be signed in to change notification settings - Fork 0
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
base: develop
Are you sure you want to change the base?
Conversation
tstore tests 8,9,11,12,13
currently running against https://github.com/snreynolds/go-ethereum/tree/eip1153 through retesteth |
src/GeneralStateTestsFiller/stExample/01_tloadBeginningTxnFiller.yml
Outdated
Show resolved
Hide resolved
# | ||
# Expect storage slot 1 to have value 88 | ||
|
||
02_tloadAfterStore: |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
src/GeneralStateTestsFiller/stExample/03_tloadAfterStoreIs0Filler.yml
Outdated
Show resolved
Hide resolved
@@ -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 |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
src/GeneralStateTestsFiller/stExample/05_tloadReentrancyFiller.yml
Outdated
Show resolved
Hide resolved
src/GeneralStateTestsFiller/stExample/05_tloadReentrancyFiller.yml
Outdated
Show resolved
Hide resolved
b34db6b
to
bc0dcbc
Compare
6a5435d
to
fcd3575
Compare
move stEIP1153/bcEIP1153 into EIPTests
No description provided.