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

Minimum gas limit is hard-coded in error message #28083

Closed
ralexstokes opened this issue Sep 8, 2023 · 0 comments · Fixed by #28085
Closed

Minimum gas limit is hard-coded in error message #28083

ralexstokes opened this issue Sep 8, 2023 · 0 comments · Fixed by #28085

Comments

@ralexstokes
Copy link
Member

It seems like this code wants to be parametric over MinGasLimit but the value is hard-coded in the error message

if headerGasLimit < params.MinGasLimit {
return errors.New("invalid gas limit below 5000")
}

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 a pull request may close this issue.

1 participant