Commit edb9fe5
refactor(forks): inline single-use get_proposal_head (leanEthereum#1030)
The proposal-head helper had a single caller, was not part of any
contract, and returned (store, store.head) — a redundant tuple whose
second element was derivable from the first.
Inline its three steps (advance time, accept pending attestations, read
the head) directly into block production, keeping the rationale comments.
Drops the now-unused Bytes32 import.
Behavior-preserving: all lstar vectors fill green, byte-identical across
hash seeds.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent f5607ef commit edb9fe5
1 file changed
Lines changed: 9 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | 24 | | |
42 | 25 | | |
43 | 26 | | |
| |||
147 | 130 | | |
148 | 131 | | |
149 | 132 | | |
150 | | - | |
| 133 | + | |
151 | 134 | | |
152 | | - | |
153 | | - | |
154 | | - | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
155 | 142 | | |
156 | 143 | | |
157 | 144 | | |
| |||
0 commit comments