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

feat: gas spending protection #261

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

debendraoli
Copy link
Collaborator

This pull request refactors the gas limit checks in the evm/provider.go file and increases the gas cap buffer by 20% instead of 100%. It also adds a check for the gas fee cap against the configured value. These changes improve the gas handling and ensure that the gas fee cap is within the specified limit.

…200%, add: check gas cap against configured value
@debendraoli debendraoli self-assigned this Jun 24, 2024
@debendraoli debendraoli changed the title Refactor gas limit checks and increase gas cap buffer refactor: gas limit checks and increase gas cap buffer Jun 24, 2024
@debendraoli debendraoli changed the title refactor: gas limit checks and increase gas cap buffer refactor: gas spending protection Jun 24, 2024
@debendraoli debendraoli linked an issue Jun 24, 2024 that may be closed by this pull request
@debendraoli debendraoli added enhancement New feature or request feature dependencies Pull requests that update a dependency file labels Jul 3, 2024
@debendraoli debendraoli changed the title refactor: gas spending protection feat: gas spending protection Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Centralised Relay dependencies Pull requests that update a dependency file enhancement New feature or request feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add gas fee protection for evm
2 participants