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

Fix trace/simulation tests for sepolia #639

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

wojciechos
Copy link
Collaborator

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.

@wojciechos wojciechos requested a review from rianhughes October 17, 2024 09:14
Copy link
Contributor

@rianhughes rianhughes left a 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,

Choose a reason for hiding this comment

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

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

Copy link
Collaborator Author

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.

Copy link
Collaborator Author

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.

@wojciechos wojciechos force-pushed the wojciechos/fix-simulate-test branch from 593313d to e6cba1e Compare October 18, 2024 10:25
@rianhughes rianhughes merged commit 1ede192 into main Oct 18, 2024
6 checks passed
@rianhughes rianhughes deleted the wojciechos/fix-simulate-test branch October 18, 2024 10:38
thiagodeev pushed a commit that referenced this pull request Dec 4, 2024
Update test data post Juno bug fix
thiagodeev pushed a commit that referenced this pull request Dec 19, 2024
Update test data post Juno bug fix
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.

3 participants