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

Disable EIP1559 for Energy Web Chain #802

Merged
merged 2 commits into from
Oct 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ internal val Blockchain.isSupportEIP1559: Boolean
Blockchain.Cyber,
Blockchain.Blast,
Blockchain.Core, // base fee is zero
Blockchain.EnergyWebChain,
-> false
else -> error("Don't forget about evm here")
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ internal class PolkadotWalletManager(
Blockchain.AlephZero, Blockchain.AlephZeroTestnet -> 0.0000000005.toBigDecimal()
Blockchain.Joystream -> 0.026666656.toBigDecimal()
Blockchain.Bittensor -> 0.0000005.toBigDecimal()
Blockchain.EnergyWebX, Blockchain.EnergyWebXTestnet -> BigDecimal.ZERO
Blockchain.EnergyWebX, Blockchain.EnergyWebXTestnet -> 0.000000000000000001.toBigDecimal()
else -> error("${wallet.blockchain} isn't supported")
}

Expand Down
Loading