Commit 2bfb52d
fix(op-e2e): make Holocene activation proof test non-trivial (#20023)
* fix(op-e2e): make Holocene activation proof test non-trivial
The test was running RunFaultProofProgramFromGenesis with safe head at
block 0, making the proof trivially pass over genesis. Now batch-mines
and syncs past the activation boundary so the proof runs over the actual
Holocene activation block (block 14).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix(op-e2e): ensure holocene proofs tests don't run trivially on genesis
Fix holocene_batches_test and holocene_frame_test: when disordered
batches/frames cause the channel to be dropped (safe head = 0), build a
new block and rebatch so the FPP runs on a non-trivial safe head.
For holocene_invalid_batch_test, the blocks themselves have intentionally
invalid contents (over-advanced L1 origin, sequencer drift breach), so
rebatching them produces the same invalid result. In those cases, skip
the proof with a log message. The Holocene variants of these tests
advance the safe head and do run the proof.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix(op-e2e): skip FPP for dropped batches/frames instead of rebatching
Rebatching glosses over the invalid range and doesn't test that the
derivation pipeline correctly dropped the problematic data. Instead,
skip the FPP with a log message when safe head is at genesis, matching
the approach in holocene_invalid_batch_test.
Filed #20050 to track running the FPP and asserting no new blocks are
produced over the dropped range.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* make 14 a const
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 822f616 commit 2bfb52d
File tree
4 files changed
+40
-26
lines changed- op-e2e/actions/proofs
4 files changed
+40
-26
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | | - | |
12 | 10 | | |
13 | 11 | | |
14 | 12 | | |
| |||
17 | 15 | | |
18 | 16 | | |
19 | 17 | | |
| 18 | + | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
23 | | - | |
24 | | - | |
| 22 | + | |
25 | 23 | | |
26 | 24 | | |
27 | 25 | | |
| |||
89 | 87 | | |
90 | 88 | | |
91 | 89 | | |
92 | | - | |
| 90 | + | |
93 | 91 | | |
94 | | - | |
95 | | - | |
96 | | - | |
| 92 | + | |
97 | 93 | | |
98 | 94 | | |
99 | 95 | | |
| |||
106 | 102 | | |
107 | 103 | | |
108 | 104 | | |
109 | | - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
110 | 113 | | |
111 | 114 | | |
112 | 115 | | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
| 116 | + | |
124 | 117 | | |
125 | 118 | | |
126 | 119 | | |
127 | | - | |
128 | | - | |
129 | 120 | | |
| 121 | + | |
130 | 122 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
134 | 142 | | |
135 | 143 | | |
136 | 144 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
117 | 125 | | |
118 | 126 | | |
119 | 127 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
242 | | - | |
243 | | - | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
244 | 250 | | |
245 | 251 | | |
246 | 252 | | |
| |||
0 commit comments