Skip to content

Commit

Permalink
Lower bump threshold to force bumping
Browse files Browse the repository at this point in the history
  • Loading branch information
dimriou committed Feb 12, 2024
1 parent a0a4850 commit 09d30d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/chains/evm/txmgr/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ func NewOptimisticTxm(
evmBroadcaster := optimistictxm.NewBroadcaster(txAttemptBuilder, lggr, txStore, client, bcfg,keyStore, sequenceSyncer)

rcfg := optimistictxm.ResenderConfig{
BumpAfterThreshold: time.Duration(fCfg.BumpThreshold()) * blockTime, // Polygon
//BumpAfterThreshold: time.Duration(fCfg.BumpThreshold()) * blockTime, // Polygon
BumpAfterThreshold: blockTime, // Set inclusion to 1 block to force bumping
MaxBumpCycles: 5,
MaxInFlight: txConfig.MaxInFlight(),
ResendInterval: blockTime,
Expand Down

0 comments on commit 09d30d1

Please sign in to comment.