Commit 6c9d5b6
authored
improve(SpokePool): deposit with message gas optimization (#603)
In most cases, we can avoid having to do the `extcodesize` call that’s inside `isContract()`.
This could save [~2600](https://github.com/wolflo/evm-opcodes/blob/main/gas.md#a5-balance-extcodesize-extcodehash) gas per call for non ETH bridges to EOAs1 parent e99b969 commit 6c9d5b6
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1372 | 1372 | | |
1373 | 1373 | | |
1374 | 1374 | | |
1375 | | - | |
| 1375 | + | |
1376 | 1376 | | |
1377 | 1377 | | |
1378 | 1378 | | |
| |||
0 commit comments