Merge pull request #1421 from filecoin-project/fix/gas-limit-type

change gas limit to be a normal int64
This commit is contained in:
Łukasz Magiera
2020-03-18 22:41:16 +01:00
committed by GitHub
36 changed files with 148 additions and 100 deletions
+2 -2
View File
@@ -125,7 +125,7 @@ func (a *PaychAPI) PaychClose(ctx context.Context, addr address.Address) (cid.Ci
Method: builtin.MethodsPaych.Settle,
Nonce: nonce,
GasLimit: types.NewInt(500),
GasLimit: 500,
GasPrice: types.NewInt(0),
}
@@ -240,7 +240,7 @@ func (a *PaychAPI) PaychVoucherSubmit(ctx context.Context, ch address.Address, s
Nonce: nonce,
Method: builtin.MethodsPaych.UpdateChannelState,
Params: enc,
GasLimit: types.NewInt(100000),
GasLimit: 100000,
GasPrice: types.NewInt(0),
}
+1 -1
View File
@@ -97,7 +97,7 @@ func testStorageNode(ctx context.Context, t *testing.T, waddr address.Address, a
Params: enc,
Value: types.NewInt(0),
GasPrice: types.NewInt(0),
GasLimit: types.NewInt(1000000),
GasLimit: 1000000,
}
_, err = tnd.MpoolPushMessage(ctx, msg)