Skip to content

Commit

Permalink
Merge branch 'master' into test/t.TempDir
Browse files Browse the repository at this point in the history
  • Loading branch information
Liuhaai authored Jul 6, 2022
2 parents 41be5b2 + 25b402c commit 6c290db
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions api/grpcserver_integrity_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ var (
_testTransferInvalid7Pb = _testTransferInvalid7.Proto()

// gas is too large
_largeData = make([]byte, 1e7)
_largeData = make([]byte, 1e2)
_testTransferInvalid8, _ = action.SignedTransfer(identityset.Address(28).String(),
identityset.PrivateKey(28), 3, big.NewInt(10), _largeData, 10000,
big.NewInt(testutil.TestGasPriceInt64))
Expand Down Expand Up @@ -2574,7 +2574,9 @@ func TestChainlinkErrIntegrity(t *testing.T) {
{
"ExceedsBlockGasLimit",
func() config.Config {
return newConfig()
cfg := newConfig()
cfg.ActPool.MaxGasLimitPerPool = 1e5
return cfg
},
[]*iotextypes.Action{_testTransferInvalid8Pb},
gethFatal,
Expand Down

0 comments on commit 6c290db

Please sign in to comment.