From 24fb72f926e81bf3f0fd4321efbed5b80c8033b3 Mon Sep 17 00:00:00 2001 From: whyrusleeping Date: Tue, 17 Mar 2020 20:30:55 -0700 Subject: [PATCH] Set minimum miner size to 2048 bytes in debug mode --- build/params_debug.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build/params_debug.go b/build/params_debug.go index b381651ea..22a5bed54 100644 --- a/build/params_debug.go +++ b/build/params_debug.go @@ -4,10 +4,14 @@ package build import ( "github.com/filecoin-project/specs-actors/actors/abi" + "github.com/filecoin-project/specs-actors/actors/abi/big" + "github.com/filecoin-project/specs-actors/actors/builtin/power" ) func init() { InsecurePoStValidation = true + + power.ConsensusMinerMinPower = big.NewInt(2048) } var SectorSizes = []abi.SectorSize{2048}