Skip to content

Commit d87774c

Browse files
authored
accounts/abi/abigen: safe chain view update ethereum#31590 (#1420)
1 parent 80159e5 commit d87774c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

accounts/abi/abigen/bind_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -948,6 +948,7 @@ var bindTests = []struct {
948948
if _, err := eventer.RaiseSimpleEvent(auth, common.Address{byte(j)}, [32]byte{byte(j)}, true, big.NewInt(int64(10*i+j))); err != nil {
949949
t.Fatalf("block %d, event %d: raise failed: %v", i, j, err)
950950
}
951+
time.Sleep(time.Millisecond * 200)
951952
}
952953
sim.Commit()
953954
}
@@ -1441,7 +1442,7 @@ var bindTests = []struct {
14411442
if n != 3 {
14421443
t.Fatalf("Invalid bar0 event")
14431444
}
1444-
case <-time.NewTimer(3 * time.Second).C:
1445+
case <-time.NewTimer(10 * time.Second).C:
14451446
t.Fatalf("Wait bar0 event timeout")
14461447
}
14471448
@@ -1452,7 +1453,7 @@ var bindTests = []struct {
14521453
if n != 1 {
14531454
t.Fatalf("Invalid bar event")
14541455
}
1455-
case <-time.NewTimer(3 * time.Second).C:
1456+
case <-time.NewTimer(10 * time.Second).C:
14561457
t.Fatalf("Wait bar event timeout")
14571458
}
14581459
close(stopCh)

0 commit comments

Comments
 (0)