From 0cf45801f3d72fe125615d673d77d1524c653207 Mon Sep 17 00:00:00 2001 From: Jakub Sztandera Date: Fri, 18 Oct 2019 13:08:36 +0900 Subject: [PATCH] Increase gas limits License: MIT Signed-off-by: Jakub Sztandera --- storage/miner.go | 2 +- storage/post.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/storage/miner.go b/storage/miner.go index 2f10da05c..bf177b26b 100644 --- a/storage/miner.go +++ b/storage/miner.go @@ -147,7 +147,7 @@ func (m *Miner) commitSector(ctx context.Context, sinfo sectorbuilder.SectorSeal Method: actors.MAMethods.CommitSector, Params: enc, Value: types.NewInt(0), // TODO: need to ensure sufficient collateral - GasLimit: types.NewInt(100000 /* i dont know help */), + GasLimit: types.NewInt(1000000 /* i dont know help */), GasPrice: types.NewInt(1), } diff --git a/storage/post.go b/storage/post.go index 819f2d9da..d1feaa24a 100644 --- a/storage/post.go +++ b/storage/post.go @@ -148,7 +148,7 @@ func (m *Miner) computePost(ppe uint64) func(ts *types.TipSet, curH uint64) erro Method: actors.MAMethods.SubmitPoSt, Params: enc, Value: types.NewInt(1000), // currently hard-coded late fee in actor, returned if not late - GasLimit: types.NewInt(100000 /* i dont know help */), + GasLimit: types.NewInt(1000000 /* i dont know help */), GasPrice: types.NewInt(1), }