Skip to content

Commit

Permalink
fix: use defaults in opts
Browse files Browse the repository at this point in the history
  • Loading branch information
Alok committed Jul 19, 2024
1 parent dce62f3 commit c6ff469
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions x/keysigner/keystoresigner.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ func (kss *KeystoreSigner) GetAuth(chainID *big.Int) (*bind.TransactOpts, error)
}

opts.GasLimit = 1_000_000
opts.GasTipCap = big.NewInt(1)
opts.GasFeeCap = big.NewInt(20000000000)
opts.GasTipCap = big.NewInt(1_000_000_000)
opts.GasFeeCap = big.NewInt(2_000_000_000)
return opts, nil
}

Expand Down
4 changes: 2 additions & 2 deletions x/keysigner/privatekeysigner.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ func (pks *PrivateKeySigner) GetAuth(chainID *big.Int) (*bind.TransactOpts, erro
}

opts.GasLimit = 1_000_000
opts.GasTipCap = big.NewInt(1)
opts.GasFeeCap = big.NewInt(20000000000)
opts.GasTipCap = big.NewInt(1_000_000_000)
opts.GasFeeCap = big.NewInt(2_000_000_000)
return opts, nil
}

Expand Down

0 comments on commit c6ff469

Please sign in to comment.