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

lfvm: sha3 tests #839

Merged
merged 5 commits into from
Oct 9, 2024
Merged

lfvm: sha3 tests #839

merged 5 commits into from
Oct 9, 2024

Conversation

facuMH
Copy link
Contributor

@facuMH facuMH commented Oct 4, 2024

Part of #751

Adds 2 tests, one checking out of gas scenarios, another checking the same hash produced regardless of using hash cache or not.

go/interpreter/lfvm/instructions_test.go Outdated Show resolved Hide resolved
go/interpreter/lfvm/instructions_test.go Outdated Show resolved Hide resolved
LuisPH3
LuisPH3 previously approved these changes Oct 7, 2024
HerbertJordan
HerbertJordan previously approved these changes Oct 8, 2024
go/interpreter/lfvm/instructions_test.go Outdated Show resolved Hide resolved
go/interpreter/lfvm/instructions_test.go Outdated Show resolved Hide resolved
simonlechner
simonlechner previously approved these changes Oct 8, 2024
go/interpreter/lfvm/instructions_test.go Show resolved Hide resolved
@LuisPH3
Copy link
Contributor

LuisPH3 commented Oct 8, 2024

A solution could be to assign gas, size and offset for each test case, to accurately point into each violation:

@facuMH
Copy link
Contributor Author

facuMH commented Oct 9, 2024

A solution could be to assign gas, size and offset for each test case, to accurately point into each violation:

Actually, even after the merge of #838, tests cases still work as inteded, so this PR is good to go =)

LuisPH3
LuisPH3 previously approved these changes Oct 9, 2024
Copy link
Contributor

@LuisPH3 LuisPH3 left a comment

Choose a reason for hiding this comment

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

ready!

@facuMH facuMH dismissed stale reviews from LuisPH3 and simonlechner via 6014ff1 October 9, 2024 08:55
@facuMH facuMH requested a review from LuisPH3 October 9, 2024 09:13
@facuMH facuMH added this to the Release Ready LFVM milestone Oct 9, 2024
LuisPH3
LuisPH3 previously approved these changes Oct 9, 2024
LuisPH3
LuisPH3 previously approved these changes Oct 9, 2024
@facuMH facuMH force-pushed the facundo/lfvm-sha3-test branch 2 times, most recently from abffa43 to d44fe63 Compare October 9, 2024 12:32
@facuMH facuMH merged commit aa99bab into main Oct 9, 2024
5 checks passed
@facuMH facuMH deleted the facundo/lfvm-sha3-test branch October 9, 2024 13:57
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.

4 participants