Skip to content

Commit 9157dea

Browse files
committed
don't send value in contract txs
1 parent 1da0f00 commit 9157dea

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

generator/utils/utils.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ package utils
22

33
import (
44
"math/big"
5-
"time"
65

76
"github.com/ethereum/go-ethereum/accounts/abi/bind"
87
"github.com/ethereum/go-ethereum/common"
@@ -48,7 +47,6 @@ func createTransactOpts(chainID *big.Int, account *loadtypes.Account, gasLimit u
4847
// Set transaction parameters
4948
auth.Nonce = big.NewInt(int64(account.Nonce))
5049
auth.NoSend = noSend
51-
auth.Value = big.NewInt(time.Now().Unix())
5250

5351
auth.GasLimit = gasLimit
5452
auth.GasTipCap = big.NewInt(2000000000) // 2 gwei tip (priority fee)

0 commit comments

Comments
 (0)