Skip to content

Add configurable maxFeePerGas and default to it if set#6857

Merged
zoeyTM merged 2 commits intomainfrom
ignition/gas-config
Jun 19, 2025
Merged

Add configurable maxFeePerGas and default to it if set#6857
zoeyTM merged 2 commits intomainfrom
ignition/gas-config

Conversation

@zoeyTM
Copy link
Contributor

@zoeyTM zoeyTM commented Jun 16, 2025

We already have this field configurable for maxPriorityFeePerGas but not maxFeePerGas. By adding this and defaulting to it if its set by the user, we can eliminate the need for extending the hardcoded zero gas fee chains list such as in this PR.

@changeset-bot
Copy link

changeset-bot bot commented Jun 16, 2025

🦋 Changeset detected

Latest commit: 698dc70

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@nomicfoundation/ignition-core Patch
@nomicfoundation/hardhat-ignition Patch
@nomicfoundation/hardhat-ignition-ethers Patch
@nomicfoundation/hardhat-ignition-viem Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@zoeyTM
Copy link
Contributor Author

zoeyTM commented Jun 16, 2025

Note that there is one integration test failing, however, I confirmed that this test is also failing for me locally on an unmodified main branch. I'm guessing there was an EDR update that broke it, given the nature of the test, but I'm unsure.

@zoeyTM zoeyTM force-pushed the ignition/gas-config branch from f14e3ed to 9e1c0a9 Compare June 17, 2025 02:47
@zoeyTM zoeyTM force-pushed the ignition/gas-config branch from 9e1c0a9 to 698dc70 Compare June 18, 2025 04:23
@kanej
Copy link
Member

kanej commented Jun 18, 2025

@zoeyTM can you open a PR for the docs, to add the new config option?

@kanej kanej removed their request for review June 18, 2025 09:07
@zoeyTM zoeyTM merged commit deca75d into main Jun 19, 2025
41 checks passed
@zoeyTM zoeyTM deleted the ignition/gas-config branch June 19, 2025 05:30
@github-project-automation github-project-automation bot moved this from Backlog to Done in Hardhat Jun 19, 2025
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 18, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants