-
Notifications
You must be signed in to change notification settings - Fork 112
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 trace/simulation tests for sepolia #639
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.
The Juno fix isn't reflected in the testnet endpoint that starknet.go uses. However, I tested it locally with an endpoint that does contain the Juno fix, and all tests pass.
@@ -182,7 +182,7 @@ | |||
"range_check_builtin_applications": 121, | |||
"ec_op_builtin_applications": 3, | |||
"data_availability": { | |||
"l1_gas": 4668, | |||
"l1_gas": 4646, |
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 it should indeed be 4668: https://github.com/NethermindEth/starknet.go/actions/runs/11381954197/job/31664465265?pr=639#step:8:68
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.
oh I just saw Rian's comment now.
In this case we need to update the endpoint that starknet.go is using
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 endpoint under test is using a buggy version of Juno that doesn’t yet include the fix.
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 decided to hold off on merging it until the endpoint is updated with the new Juno version.
593313d
to
e6cba1e
Compare
Update test data post Juno bug fix
Update test data post Juno bug fix
This PR updates the expected test data, which was previously based on invalid responses from Juno. The bug in Juno caused an overestimation leading to incorrect test expectations. The bug has been fixed in this PR, and this update corrects the test data to reflect the accurate responses after the fix.