From 7a1cc4d670b7542dd4efdd2ce4007dd10dad191a Mon Sep 17 00:00:00 2001 From: "Andrew Jackson (Ajax)" Date: Sun, 23 Jun 2024 22:24:20 -0500 Subject: [PATCH] little fixes --- chain/vm/gas.go | 2 +- node/builder.go | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/chain/vm/gas.go b/chain/vm/gas.go index cb0c5def94d..4bd63bf9c08 100644 --- a/chain/vm/gas.go +++ b/chain/vm/gas.go @@ -135,7 +135,7 @@ var Prices = map[abi.ChainEpoch]Pricelist{ verifyPostDiscount: true, verifyConsensusFault: 495422, }, - abi.ChainEpoch(build.UpgradeCalicoHeight): &pricelistV0{ + build.UpgradeCalicoHeight: &pricelistV0{ computeGasMulti: 1, storageGasMulti: 1300, diff --git a/node/builder.go b/node/builder.go index 2ea9dcac55c..71c6e51f94a 100644 --- a/node/builder.go +++ b/node/builder.go @@ -43,6 +43,7 @@ import ( "github.com/filecoin-project/lotus/node/modules/testing" "github.com/filecoin-project/lotus/node/repo" "github.com/filecoin-project/lotus/storage/paths" + "github.com/filecoin-project/lotus/storage/paths/alertinginterface" "github.com/filecoin-project/lotus/system" ) @@ -159,6 +160,7 @@ func defaults() []Option { Override(new(journal.DisabledEvents), journal.EnvDisabledEvents), Override(new(journal.Journal), modules.OpenFilesystemJournal), Override(new(*alerting.Alerting), alerting.NewAlertingSystem), + Override(new(alertinginterface.AlertingInterface), alerting.NewAlertingSystem), Override(new(dtypes.NodeStartTime), FromVal(dtypes.NodeStartTime(time.Now()))), Override(CheckFDLimit, modules.CheckFdLimit(build.DefaultFDLimit)),