Commit 0a2e73e
authored
When disallowed for all `Order` varients, the coinbase account has no
way to spend funds when rbuilder is building all blocks for a chain.
Instead of using saturating_sub, I also tried changing `coinbase_profit`
from a `U256` to an `I256`, but ran into issues where a `U256` is
required to calculate stuff like `mev_gas_price` in later logic. I'd
prefer that approach if anyone knows if it is feasible.
1 parent e79af73 commit 0a2e73e
1 file changed
+10
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1011 | 1011 | | |
1012 | 1012 | | |
1013 | 1013 | | |
| 1014 | + | |
| 1015 | + | |
1014 | 1016 | | |
1015 | | - | |
1016 | | - | |
1017 | | - | |
1018 | | - | |
1019 | | - | |
1020 | | - | |
1021 | | - | |
1022 | | - | |
1023 | | - | |
| 1017 | + | |
| 1018 | + | |
1024 | 1019 | | |
1025 | 1020 | | |
1026 | 1021 | | |
| |||
1049 | 1044 | | |
1050 | 1045 | | |
1051 | 1046 | | |
| 1047 | + | |
| 1048 | + | |
1052 | 1049 | | |
1053 | | - | |
1054 | | - | |
1055 | | - | |
1056 | | - | |
1057 | | - | |
1058 | | - | |
1059 | | - | |
1060 | | - | |
1061 | | - | |
| 1050 | + | |
| 1051 | + | |
1062 | 1052 | | |
1063 | 1053 | | |
1064 | 1054 | | |
| |||
1088 | 1078 | | |
1089 | 1079 | | |
1090 | 1080 | | |
| 1081 | + | |
| 1082 | + | |
1091 | 1083 | | |
1092 | 1084 | | |
1093 | 1085 | | |
| |||
0 commit comments