tx_pool_tests and benchmarks for EIP1559

This commit is contained in:
Ian Norden 2019-12-09 14:52:34 -06:00
parent 22b9069142
commit caec005c40

View File

@ -3741,8 +3741,11 @@ func TestTransactionPoolUnderpricingEIP1559(t *testing.T) {
if pending != 2 {
t.Fatalf("pending transactions mismatched: have %d, want %d", pending, 2)
}
if queued != 2 {
t.Fatalf("queued transactions mismatched: have %d, want %d", queued, 2)
if queued != 1 {
t.Fatalf("queued transactions mismatched: have %d, want %d", queued, 1)
}
if err := validateEvents(events, 3); err != nil {
t.Fatalf("original event firing failed: %v", err)
}
if err := validateEvents(events, 1); err != nil {
t.Fatalf("additional event firing failed: %v", err)