Skip to content

Commit

Permalink
try call contract 1000 times
Browse files Browse the repository at this point in the history
  • Loading branch information
Tofel committed Apr 30, 2024
1 parent 5e20f7f commit d59b968
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions integration-tests/wrappers/contract_caller.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ func (w *WrappedContractBackend) CallContract(ctx context.Context, msg ethereum.

return false
}),
retry.Attempts(uint(10)),
retry.Delay(1*time.Second),
retry.Attempts(uint(1000)),
retry.Delay(5*time.Second),
retry.OnRetry(func(n uint, err error) {
w.l.Info().
Str("Attempt", fmt.Sprintf("%d/%d", n+1, 10)).
Expand Down

0 comments on commit d59b968

Please sign in to comment.