You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following codes occasionally reports this error:The fee cap (maxFeePerGas = xxxx gwei) cannot be lower than the block base fee const tx = await worldContract.write.moveSnake([list]); await waitForTransaction(tx);
moveSnake is a contranct function that implemented by sol which is based in MUD.
The error occurred though I added the params like this: await worldcontract.write.moveSnake( list: [list],{maxFeePerGas: 300000000n, })
It doesn't seem to be working. Can you give me some suggesiton to solve this problem?
I also tried to update to the codes like the attachment picture showed, but the same error come.
The text was updated successfully, but these errors were encountered:
Following codes occasionally reports this error:The fee cap (
maxFeePerGas
= xxxx gwei) cannot be lower than the block base feeconst tx = await worldContract.write.moveSnake([list]); await waitForTransaction(tx);
moveSnake is a contranct function that implemented by sol which is based in MUD.
The error occurred though I added the params like this:
await worldcontract.write.moveSnake( list: [list],{maxFeePerGas: 300000000n, })
It doesn't seem to be working. Can you give me some suggesiton to solve this problem?
I also tried to update to the codes like the attachment picture showed, but the same error come.
The text was updated successfully, but these errors were encountered: