Commit cf65c29
authored
Use slot from header instead of bid (#5554)
On Discord, @potuz suggested we use the slot from
`state.latest_block_header` instead of
`state.latest_execution_payload_bid`. This is a bit simpler, as we do
not need to cache the parent slot in `process_execution_payload_bid`.1 parent cf58354 commit cf65c29
6 files changed
Lines changed: 18 additions & 23 deletions
File tree
- specs
- _features/eip8148
- gloas
- tests/core/pyspec/eth_consensus_specs/test
- gloas/block_processing
- helpers
- phase0/sanity
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
498 | 498 | | |
499 | 499 | | |
500 | 500 | | |
501 | | - | |
| 501 | + | |
502 | 502 | | |
503 | 503 | | |
504 | 504 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1697 | 1697 | | |
1698 | 1698 | | |
1699 | 1699 | | |
| 1700 | + | |
| 1701 | + | |
| 1702 | + | |
1700 | 1703 | | |
1701 | 1704 | | |
1702 | 1705 | | |
| |||
1705 | 1708 | | |
1706 | 1709 | | |
1707 | 1710 | | |
1708 | | - | |
| 1711 | + | |
1709 | 1712 | | |
1710 | 1713 | | |
1711 | 1714 | | |
| |||
1728 | 1731 | | |
1729 | 1732 | | |
1730 | 1733 | | |
1731 | | - | |
| 1734 | + | |
1732 | 1735 | | |
1733 | 1736 | | |
1734 | 1737 | | |
| |||
2080 | 2083 | | |
2081 | 2084 | | |
2082 | 2085 | | |
2083 | | - | |
2084 | | - | |
2085 | | - | |
2086 | | - | |
2087 | 2086 | | |
2088 | 2087 | | |
2089 | 2088 | | |
2090 | | - | |
| 2089 | + | |
2091 | 2090 | | |
2092 | 2091 | | |
2093 | 2092 | | |
| |||
2135 | 2134 | | |
2136 | 2135 | | |
2137 | 2136 | | |
2138 | | - | |
2139 | | - | |
2140 | | - | |
2141 | 2137 | | |
2142 | 2138 | | |
2143 | | - | |
2144 | | - | |
2145 | 2139 | | |
2146 | 2140 | | |
2147 | 2141 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
502 | 502 | | |
503 | 503 | | |
504 | 504 | | |
505 | | - | |
| 505 | + | |
506 | 506 | | |
507 | 507 | | |
508 | 508 | | |
| |||
545 | 545 | | |
546 | 546 | | |
547 | 547 | | |
548 | | - | |
| 548 | + | |
549 | 549 | | |
550 | 550 | | |
551 | 551 | | |
| |||
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
55 | 57 | | |
56 | 58 | | |
57 | 59 | | |
| |||
94 | 96 | | |
95 | 97 | | |
96 | 98 | | |
97 | | - | |
| 99 | + | |
98 | 100 | | |
99 | 101 | | |
100 | 102 | | |
| |||
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
23 | | - | |
| 21 | + | |
24 | 22 | | |
25 | 23 | | |
26 | 24 | | |
| |||
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
168 | 171 | | |
169 | 172 | | |
170 | 173 | | |
| |||
186 | 189 | | |
187 | 190 | | |
188 | 191 | | |
189 | | - | |
190 | | - | |
191 | | - | |
| 192 | + | |
192 | 193 | | |
193 | 194 | | |
194 | 195 | | |
| |||
0 commit comments