-
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
Exhaustive check fixes #52
Exhaustive check fixes #52
Conversation
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
6d5eafe
to
dc21bd6
Compare
Signed-off-by: Ignacio Hagopian <[email protected]>
dc21bd6
to
5089d6a
Compare
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
@@ -157,15 +155,18 @@ def _extcodehash( | |||
|
|||
post = {} | |||
if not fails: | |||
# TODO(verkle): assign correct storage slot value when filling | |||
post[TestAddress2] = Account(code=pre[TestAddress2].code, storage={0: 0x424242}) |
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.
Looks like post-state checks maybe aren't working?
This 0x424242
is a fake value. Actually should be the EXTCODEHASH
result saved in storage slot 0 (see L142 above).
So clearly this post-state check should fail. Moreover, you can change to any other value and still pass.
To run: fill --fork Verkle -v -m blockchain_test -n auto --evm-bin=... -k test_extcodehash_foo
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
Signed-off-by: Ignacio Hagopian <[email protected]>
1169b28
to
0fcff0d
Compare
cfa073f
into
spencer-tb:verkle/block-witness-checks
No description provided.