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

fee upgrade test fix #1889

Merged
merged 7 commits into from
Aug 22, 2024
Merged

fee upgrade test fix #1889

merged 7 commits into from
Aug 22, 2024

Conversation

tbro
Copy link
Contributor

@tbro tbro commented Aug 22, 2024

Fee upgrade tests in the current form do not properly test the upgrade. See this thread.

This PR:

This PR fixes the bug where test_fee_upgrade_view_based would never fail. It also attempts to make the logic more easy to follow (in order to make it easier to spot bugs).

Key places to review:

  • espresso-sequencer/sequencer/src/api.rs

How to test this PR:

Convince yourself that

  • the test will only succeed if chain_config is upgraded.
  • it will fail if chain_config is not upgraded

@tbro tbro changed the title fee upgrade fixes fee upgrade test fix Aug 22, 2024
Copy link
Contributor

@imabdulbasit imabdulbasit left a comment

Choose a reason for hiding this comment

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

LGTM! thanks

@tbro tbro merged commit bd1478a into main Aug 22, 2024
15 checks passed
@tbro tbro deleted the tb/fee_upgrade_fixes branch August 22, 2024 13:47
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.

2 participants