@nomicfoundation/ignition-core
Advanced tools
Comparing version 0.15.2 to 0.15.3
@@ -7,2 +7,8 @@ # Changelog | ||
## 0.15.3 - 2024-05-09 | ||
### Fixed | ||
- Exclude BNB Chain from zero fee configuration in gas fee logic, thanks @magicsih ([#755](https://github.com/NomicFoundation/hardhat-ignition/pull/755)) | ||
## 0.15.2 - 2024-05-02 | ||
@@ -9,0 +15,0 @@ |
@@ -283,7 +283,10 @@ "use strict"; | ||
// We prioritize EIP-1559 fees over legacy gasPrice fees, however, | ||
// polygon (chainId 137) requires legacy gasPrice fees so we skip EIP-1559 logic in that case | ||
// polygon (chainId 137) requires legacy gasPrice fees | ||
// so we skip EIP-1559 logic in that case | ||
if (latestBlock.baseFeePerGas !== undefined && chainId !== 137) { | ||
if (latestBlock.baseFeePerGas === 0n) { | ||
// Support zero gas fee chains, such as a private instances | ||
// of blockchains using Besu. | ||
// Support zero gas fee chains, such as a private instances | ||
// of blockchains using Besu. We explicitly exclude BNB | ||
// Smartchain (chainId 56) from this logic as it is EIP-1559 | ||
// compliant but only sets a maxPriorityFeePerGas. | ||
if (latestBlock.baseFeePerGas === 0n && chainId !== 56) { | ||
return { | ||
@@ -290,0 +293,0 @@ maxFeePerGas: 0n, |
{ | ||
"name": "@nomicfoundation/ignition-core", | ||
"version": "0.15.2", | ||
"version": "0.15.3", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "author": "Nomic Foundation", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1351698
18832
1