From 72eb32ae3cf00c7527f166efa97873ee630ebf45 Mon Sep 17 00:00:00 2001 From: Jeromy Date: Sat, 16 May 2020 12:41:04 -0700 Subject: [PATCH] add additional chain get decoders --- cli/chain.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cli/chain.go b/cli/chain.go index f39e06542..033c7b234 100644 --- a/cli/chain.go +++ b/cli/chain.go @@ -18,6 +18,7 @@ import ( "github.com/filecoin-project/specs-actors/actors/abi" "github.com/filecoin-project/specs-actors/actors/builtin" "github.com/filecoin-project/specs-actors/actors/builtin/account" + "github.com/filecoin-project/specs-actors/actors/builtin/market" "github.com/filecoin-project/specs-actors/actors/builtin/miner" "github.com/filecoin-project/specs-actors/actors/builtin/power" "github.com/filecoin-project/specs-actors/actors/util/adt" @@ -521,6 +522,12 @@ var chainGetCmd = &cli.Command{ cbu = new(power.CronEvent) case "account-state": cbu = new(account.State) + case "miner-state": + cbu = new(miner.State) + case "power-state": + cbu = new(power.State) + case "market-state": + cbu = new(market.State) default: return fmt.Errorf("unknown type: %q", t) }