-
Notifications
You must be signed in to change notification settings - Fork 33
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
fix(l2): fix zkVM performance test #1202
Conversation
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.
I think it's a good solution overall.
paths: | ||
- "crates/l2/prover/**" |
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.
We may trigger the CI even if it's not strictly necessary, which could make the merging process take longer. Maybe we can set it to "crates/l2/**" ?
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.
Agreed, let's restore this and then we can merge
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.
The bug was introduced because the breaking change was made in another directory, outside of crates/
, I think we should be running every test each time to avoid predicting where a breaking change could occur.
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.
That's fair, the workflow also does not take too long so I think it's fine to leave it
Motivation
This test uses the
test_data/genesis-l2.json
andtest_data/l2-loadtest.rlp
files. The genesis file was changed in #1158, breaking the test because now the genesis block hash changed and so the second block's parent isn't present in the chain anymore. The test only executed in the CI whenever a file incrates/l2/prover/
was touched, leaving the breaking change unnoticed.Needed for #1133
Description
test_data/genesis-l2-old.json
(a better solution would be to regeneratetest_data/l2-loadtest.rlp
).