From b4fa099257325360436a46c84bf1dd7047df500d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Thu, 19 Nov 2020 18:57:43 +0100 Subject: [PATCH] wdpost: fix TestWDPostDoPost --- storage/wdpost_run_test.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/storage/wdpost_run_test.go b/storage/wdpost_run_test.go index 9506abe21..d426f5f31 100644 --- a/storage/wdpost_run_test.go +++ b/storage/wdpost_run_test.go @@ -98,6 +98,14 @@ func (m *mockStorageMinerAPI) StateWaitMsg(ctx context.Context, cid cid.Cid, con }, nil } +func (m *mockStorageMinerAPI) GasEstimateGasPremium(_ context.Context, nblocksincl uint64, sender address.Address, gaslimit int64, tsk types.TipSetKey) (types.BigInt, error) { + return big.Zero(), nil +} + +func (m *mockStorageMinerAPI) GasEstimateFeeCap(context.Context, *types.Message, int64, types.TipSetKey) (types.BigInt, error) { + return big.Zero(), nil +} + type mockProver struct { }