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

Fix: Gas pricing on Base #667

Merged
merged 1 commit into from
Jan 14, 2025
Merged

Fix: Gas pricing on Base #667

merged 1 commit into from
Jan 14, 2025

Conversation

OjusWiZard
Copy link
Member

Proposed changes

  • Fix fallback default maxFeePerGas of EIP1559 gas pricing strategy for Base chain

Types of changes

What types of changes does your code introduce?
Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Signed-off-by: OjusWiZard <[email protected]>
Comment on lines +105 to +108
gas_price_strategies = deepcopy(DEFAULT_GAS_PRICE_STRATEGIES)
if chain == Chain.BASE:
gas_price_strategies[EIP1559]["fallback_estimate"]["maxFeePerGas"] = to_wei(5, GWEI)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting but IMO these kind of issues should be handled by the core library. An issue should be opened.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Opened here

@OjusWiZard OjusWiZard merged commit 3b39839 into fix/meme-staging Jan 14, 2025
4 of 5 checks passed
@OjusWiZard OjusWiZard deleted the fix/gas-pricing branch January 14, 2025 10:00
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