Replies: 1 comment 1 reply
-
Hi there, thank you for reporting this. can you make this an issue |
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
-
Hey all,
As far as I remember
maxFeePerGas
was optional in 1.x and calculated from thebaseFee
- in 4.x I getMissingGasError
if I don't specify it. It looks like it's expectedweb3.js/packages/web3-errors/src/errors/transaction_errors.ts
Line 315 in f8a2533
For instance this:
Will throw:
MissingGasError: Invalid value given "gas: 0x5208, gasPrice: undefined, maxPriorityFeePerGas: 0xb2d05e00, maxFeePerGas: undefined". Error: "gas" is missing.
Beta Was this translation helpful? Give feedback.
All reactions