Fix new altair blockpool test missing taskpool parameter (#2877)

This commit is contained in:
Mamy Ratsimbazafy 2021-09-17 12:24:04 +02:00 committed by GitHub
parent 77f4169ffe
commit aaf1ccde14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -581,7 +581,8 @@ suite "Diverging hardforks":
var
db = makeTestDB(SLOTS_PER_EPOCH)
dag = init(ChainDAGRef, phase0RuntimeConfig, db, {})
quarantine = QuarantineRef.init(keys.newRng())
taskpool = Taskpool.new()
quarantine = QuarantineRef.init(keys.newRng(), taskpool)
nilPhase0Callback: OnPhase0BlockAdded
state = newClone(dag.headState.data)
cache = StateCache()