RPC Error: err: max fee per gas less than block base fee #3329
Unanswered
aghering23
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Any suggestions anyone? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to execute a quite heavy function with ethers.js and i get the following error: ''RPC Error: err: max fee per gas less than block base fee: address 0x8E...d27, maxFeePerGas: 29500969 baseFee: 377405507 (supplied gas 15010499)"
I think that the problem lies with the way the transaction is set up, but i don't know what i'm doing wrong. If i test the same contract function with the same parameters in remix i don't get that error and the transaction goes through. Others less heavy function calls does not generate this error.
Network: Ethereum (Goerli testnet)
Ethereum Wallet: Metamask (10.18.3)
RPC Provider: Alchemy (Free)
Ethers: https://cdn.ethers.io/lib/ethers-5.2.umd.min.js
Javascript Function:
`async function executeContractFunction(indexStart, indexEnd, maxCollect) {
}`
Beta Was this translation helpful? Give feedback.
All reactions