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

chore: change meaning of l1 one gas price constant #598

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

elfedy
Copy link
Contributor

@elfedy elfedy commented Sep 30, 2024

Motivation

Even though why we need this has been lost in context, the MAX_L1_GAS_PRICE_VALE is being used as a min value in practice as it is the argument of a max call. This would make sense in principle to ensure a non 0 gas price, but we would need to investigate further if this is actually needed.

Solution

Change the MAX semantics to MIN for the l1 gas price.

@elfedy elfedy merged commit cc27c50 into main Oct 1, 2024
11 checks passed
@elfedy elfedy deleted the elfedy-l1-gas-typo branch October 1, 2024 11:59
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