Commit c475bc4
committed
eth/channel: Don't set GasPrice in ContractBackend.NewTransactor
Setting TransactOpts.GasPrice forces the transactions to be sent as a
legacy transaction, instead of a type 2 EIP1559, which results in much
higher gas costs.
Also remove the SuggestedGasPrice method from the SimulatedBackend, as
it is not used anymore, because EIP1559 TXs are now sent everywhere.
Signed-off-by: Sebastian Stammler <seb@perun.network>1 parent 2af7cbd commit c475bc4
2 files changed
Lines changed: 0 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | 148 | | |
154 | 149 | | |
155 | 150 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | 109 | | |
115 | 110 | | |
116 | 111 | | |
| |||
0 commit comments