raiden icon indicating copy to clipboard operation
raiden copied to clipboard

Switch to EIP-1559 transactions

Open ulope opened this issue 4 years ago • 2 comments

Abstract

Once full web3.py support for 1559 txs has landed we should start using it. This will (hopefully) make our gas price calculations more predictable and also lower user gas costs.

Also see #7095 Blocked by: ethereum/web3.py#2066

Specification

TBD

Backwards Compatibility

N/A

ulope avatar Aug 23 '21 12:08 ulope

The blocking issue is done. How would we set the new fee components? Can we do that reasonably without some kind of fee oracle?

karlb avatar Jan 06 '22 15:01 karlb

We should remove the gas_price_strategy, since the web3py docs say

Gas price strategy is only supported for legacy transactions. The London fork introduced maxFeePerGas and maxPriorityFeePerGas transaction parameters which should be used over gasPrice whenever possible.

There is no progress on the fee oracle issue, so we'll have to decide on how to set maxFeePerGas and maxPriorityFeePerGas ourselves (or just leave them at the defaults). Any suggestions?

karlb avatar Apr 14 '22 08:04 karlb