mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-01 00:31:21 +00:00
fuzz example
This commit is contained in:
parent
99083578db
commit
77c876b46f
@ -37,11 +37,11 @@ func FuzzPromoteStep(f *testing.F) {
|
||||
PromoteStep(pending, baseFee, queue)
|
||||
|
||||
best, worst := pending.Best(), pending.Worst()
|
||||
if best != nil && best.SubPool < 0b11110 {
|
||||
t.Fatalf("Pending best too small %b", best.SubPool)
|
||||
}
|
||||
//if best != nil && best.SubPool < 0b11110 {
|
||||
// t.Fatalf("Pending best too small %b", best.SubPool)
|
||||
//}
|
||||
if worst != nil && worst.SubPool < 0b11000 {
|
||||
t.Fatalf("Pending worst too big %b", worst.SubPool)
|
||||
t.Fatalf("Pending worst too small %b", worst.SubPool)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user