Commit 498fe6e4 authored by duanjinfei's avatar duanjinfei

change gas limit

parent f6ea07f7
......@@ -1145,7 +1145,7 @@ func PrSpErc20ApproveTranCase(txCount int, testAccArr *tool.AccArrFormat, contra
value, _ := accountNonceMap.Load(testAccArr.FromAddr[i])
auth.Nonce = big.NewInt(value.(int64))
auth.NoSend = true
auth.GasLimit = 1000000000000
auth.GasLimit = 500000
auth.GasPrice = big.NewInt(10000000000)
tx, err := erc20Contract.Approve(auth, testAccArr.ToAddr[i], amount)
if err != nil {
......@@ -1211,6 +1211,7 @@ func PrReErc721TranCase(startIndex int, txCount int, testAccArr *tool.AccArrForm
value, _ := accountNonceMap.Load(testAccArr.FromAddr[i])
auth.Nonce = big.NewInt(value.(int64))
auth.NoSend = true
auth.GasLimit = 500000
auth.GasPrice = big.NewInt(10000000000)
tx, err := erc721Trade.Erc721TransferFromSignTx(auth, tokenTransfer)
if err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment