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

Add max gas limit to config #432

Closed
cam-schultz opened this issue Aug 15, 2024 · 0 comments
Closed

Add max gas limit to config #432

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

Comments

@cam-schultz
Copy link
Collaborator

Context and scope
#430 added a hardcoded gas limit to prevent invalid transactions from being sent. That hardcoded limit is based on the 15 million block gas cap for the C-Chain. However, subnet-evm chains can define their own gas limit, so it would make sense to make this configurable.

Open questions
Where should this live in the config? RequiredGasLimit is a TeleporterMessage field, so SourceBlockchain.MessageContracts would fit there. OTOH, the gas limit is determined by the destination chain, so DestinationBlockchain is also an option.

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
Archived in project
Development

No branches or pull requests

2 participants