Skip to content

Commit 37c5471

Browse files
committed
test: decrease context timeout in SendTransactionWithInfiniteRetryAndBumpingGasPrice
1 parent ec9a86e commit 37c5471

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/utils/eth_client_utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ func SendTransactionWithInfiniteRetryAndBumpingGasPrice(beforeTransaction func(*
8080
return nil, err
8181
}
8282

83-
ctx, cancel := context.WithTimeout(context.Background(), time.Second*36)
83+
ctx, cancel := context.WithTimeout(context.Background(), time.Millisecond*2000)
8484
defer cancel()
8585
receipt, err := WaitForTransactionReceipt(client, ctx, tx.Hash())
8686

0 commit comments

Comments
 (0)