Skip to content

Commit

Permalink
Fix: reset nonces, increase execution timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
dwasse committed Dec 29, 2023
1 parent f5ead39 commit 7eb4ecc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions agents/domains/evm/pingpongtestclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ func (a pingPongClientContract) DoPing(ctx context.Context, signer signer.Signer
}

transactOpts.GasLimit = 500000
a.nonceManager.ClearNonce(transactOpts.From)
tx, err = a.contract.DoPing(transactOpts, destination, recipient, pings)
if err != nil {
return tx, fmt.Errorf("could not send ping: %w", err)
Expand Down
2 changes: 1 addition & 1 deletion tools/testnet/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ var messages = &sync.Map{}
var sentTxes = &sync.Map{}

const eventBufferSize = 1000
const executionTimeout = 600
const executionTimeout = 1200

func main() {
var loadConfigPath string
Expand Down

0 comments on commit 7eb4ecc

Please sign in to comment.