|
18 | 18 | ../beacon_chain/gossip_processing/block_processor, |
19 | 19 | ../beacon_chain/consensus_object_pools/[ |
20 | 20 | attestation_pool, blockchain_dag, blob_quarantine, block_quarantine, |
21 | | - block_clearance, consensus_manager, |
| 21 | + block_clearance, consensus_manager, envelope_quarantine, |
22 | 22 | ], |
23 | 23 | ../beacon_chain/el/el_manager, |
24 | 24 | ./[testblockutil, testdbutil, testutil] |
@@ -53,6 +53,7 @@ suite "Block processor" & preset(): |
53 | 53 | quarantine = newClone(Quarantine.init(cfg)) |
54 | 54 | blobQuarantine = newClone(BlobQuarantine()) |
55 | 55 | dataColumnQuarantine = newClone(ColumnQuarantine()) |
| 56 | + envelopeQuarantine = newClone(EnvelopeQuarantine()) |
56 | 57 | attestationPool = newClone(AttestationPool.init(dag, quarantine)) |
57 | 58 | elManager = new ELManager # TODO: initialise this properly |
58 | 59 | actionTracker = default(ActionTracker) |
@@ -83,7 +84,7 @@ suite "Block processor" & preset(): |
83 | 84 | let |
84 | 85 | processor = BlockProcessor.new( |
85 | 86 | false, "", "", batchVerifier, consensusManager, validatorMonitor, |
86 | | - blobQuarantine, dataColumnQuarantine, getTimeFn, |
| 87 | + blobQuarantine, dataColumnQuarantine, envelopeQuarantine, getTimeFn, |
87 | 88 | ) |
88 | 89 | b1 = addTestBlock(state[], cache, cfg = cfg).bellatrixData |
89 | 90 | b2 = addTestBlock(state[], cache, cfg = cfg).bellatrixData |
@@ -145,7 +146,7 @@ suite "Block processor" & preset(): |
145 | 146 | processor = BlockProcessor.new( |
146 | 147 | false, "", "", batchVerifier, consensusManager, |
147 | 148 | validatorMonitor, blobQuarantine, dataColumnQuarantine, |
148 | | - getTimeFn, invalidBlockRoots = @[b2.root]) |
| 149 | + envelopeQuarantine, getTimeFn, invalidBlockRoots = @[b2.root]) |
149 | 150 |
|
150 | 151 | block: |
151 | 152 | let res = await processor.addBlock(MsgSource.gossip, b2, noSidecars) |
@@ -175,8 +176,8 @@ suite "Block processor" & preset(): |
175 | 176 |
|
176 | 177 | asyncTest "Process a block from each fork (without blobs)" & preset(): |
177 | 178 | let processor = BlockProcessor.new( |
178 | | - false, "", "", batchVerifier, consensusManager, validatorMonitor, blobQuarantine, |
179 | | - dataColumnQuarantine, getTimeFn, |
| 179 | + false, "", "", batchVerifier, consensusManager, validatorMonitor, |
| 180 | + blobQuarantine, dataColumnQuarantine, envelopeQuarantine, getTimeFn, |
180 | 181 | ) |
181 | 182 |
|
182 | 183 | debugGloasComment "TODO testing" |
|
0 commit comments