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

Parameterize block gas limit #491

Open
cam-schultz opened this issue Sep 17, 2024 · 0 comments
Open

Parameterize block gas limit #491

cam-schultz opened this issue Sep 17, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@cam-schultz
Copy link
Collaborator

Context and scope
https://github.com/ava-labs/awm-relayer/pull/430/files added a hardcoded tx limit of 12 million gas to comply with the C-Chain's 15 million gas limit per block. This limit may vary from subnet to subnet, so we should make this configurable.

Discussion and alternatives
We must add validation checks to cap the gas limit for C-Chain transactions, since this is a known (fixed) block limit.

Open questions

@cam-schultz cam-schultz added the enhancement New feature or request label Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant