Commit 84df90f
Support Bot
fix(statics): add EIP1559 to ETH_FEATURES_WITH_FRANKFURT for v4 forwarder flush
ETH mainnet has required EIP1559 (type-2) transactions since the London
hard fork (Aug 2021). Tokens on Ethereum using ETH_FEATURES_WITH_FRANKFURT
(e.g. SUSHI, LINK, DAI) lacked the EIP1559 coin feature flag, which caused
the BitGo platform to fall back to legacy transaction format when building
flush transactions for v4 forwarders. V4 forwarders require the flush
transaction to be sent directly to the forwarder address using the
flushTokens(address) method — and this path requires EIP1559 on mainnet.
Add CoinFeature.EIP1559 to ETH_FEATURES_WITH_FRANKFURT so all tokens using
this feature set (including SUSHI) correctly declare EIP1559 support and
receive properly-typed flush transactions from v4 hot wallet forwarders.
Also add a regression test that builds a SUSHI v4 forwarder flush with
EIP1559 fees, confirming the correct method ID and calldata encoding.
Ticket: COINS-558
Session-Id: 11a8d890-1ca4-4c30-acd7-158927258cfd
Task-Id: d32e686b-2479-4535-a80d-0b0ee08710651 parent 8fa5f64 commit 84df90f
3 files changed
Lines changed: 41 additions & 1 deletion
File tree
- modules
- sdk-coin-eth/test/unit/transactionBuilder
- statics
- src
- test/unit
Lines changed: 35 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
165 | 200 | | |
166 | 201 | | |
167 | 202 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
702 | 702 | | |
703 | 703 | | |
704 | 704 | | |
705 | | - | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
706 | 710 | | |
707 | 711 | | |
708 | 712 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1288 | 1288 | | |
1289 | 1289 | | |
1290 | 1290 | | |
| 1291 | + | |
1291 | 1292 | | |
1292 | 1293 | | |
1293 | 1294 | | |
| |||
0 commit comments