Question on #20652 ( Temporarily disable EIP-1559 on Polygon and Avalanche)

With this disabled how is the wallet coming up with a gas fee for transactions on Avalanche?

Should I be setting a custom gas price until https://github.com/brave/brave-browser/issues/20469 is ready?

One other follow-up…how is the gas limit determined? Is that by the nature of the transaction or something else? I’ve never messed with the gas limit. Generally, should you leave that alone and adjust the per gas price?

Even though Avalanche has migrated to EIP-1559 fee model (with the new Type-2 transaction format), the older fee model and legacy transaction format are still accepted by the network.

Should I be setting a custom gas price until https://github.com/brave/brave-browser/issues/20469 is ready?

Precisely. The new EIP-1559 fee oracle is already available on Beta, and will be migrated to the Release channel around March 29, 2022. In the meantime, please use the custom Gas Price field. On Avalanche, the suggested gas price should be good enough, but feel free to change it as per your requirements.

how is the gas limit determined?

Gas limit is a measure of the complexity of the transaction (max cost of executing EVM opcodes). This is estimated by the wallet by simulating the transaction’s execution on EVM. Normally, this field doesn’t need any modification.

I’ve never messed with the gas limit. Generally, should you leave that alone and adjust the per gas price?

Yes, that should work just fine.

Awesome thank you. Love this Wallet and how responsive the team has been at adjusting it. Been using it heavily for Avalanche C-chain. Cheers!

FYI: This fix landed in our 1.37.x release which went out yesterday. https://github.com/brave/brave-browser/issues/20469