This commit is contained in:
Raúl Kripalani 2023-01-10 22:47:37 +00:00 committed by raulk
parent 6b8d4b4de2
commit 8f4c4268ba

View File

@ -27,7 +27,7 @@ import (
abinetwork "github.com/filecoin-project/go-state-types/network" abinetwork "github.com/filecoin-project/go-state-types/network"
apitypes "github.com/filecoin-project/lotus/api/types" apitypes "github.com/filecoin-project/lotus/api/types"
builtinactors "github.com/filecoin-project/lotus/chain/actors/builtin" "github.com/filecoin-project/lotus/chain/actors/builtin"
lminer "github.com/filecoin-project/lotus/chain/actors/builtin/miner" lminer "github.com/filecoin-project/lotus/chain/actors/builtin/miner"
"github.com/filecoin-project/lotus/chain/actors/builtin/power" "github.com/filecoin-project/lotus/chain/actors/builtin/power"
"github.com/filecoin-project/lotus/chain/types" "github.com/filecoin-project/lotus/chain/types"
@ -1231,7 +1231,7 @@ type CirculatingSupply struct {
type MiningBaseInfo struct { type MiningBaseInfo struct {
MinerPower types.BigInt MinerPower types.BigInt
NetworkPower types.BigInt NetworkPower types.BigInt
Sectors []builtinactors.ExtendedSectorInfo Sectors []builtin.ExtendedSectorInfo
WorkerKey address.Address WorkerKey address.Address
SectorSize abi.SectorSize SectorSize abi.SectorSize
PrevBeaconEntry types.BeaconEntry PrevBeaconEntry types.BeaconEntry
@ -1248,7 +1248,7 @@ type BlockTemplate struct {
Messages []*types.SignedMessage Messages []*types.SignedMessage
Epoch abi.ChainEpoch Epoch abi.ChainEpoch
Timestamp uint64 Timestamp uint64
WinningPoStProof []builtinactors.PoStProof WinningPoStProof []builtin.PoStProof
} }
type DataSize struct { type DataSize struct {
@ -1329,14 +1329,12 @@ type PruneOpts struct {
} }
type EthTxReceipt struct { type EthTxReceipt struct {
TransactionHash ethtypes.EthHash `json:"transactionHash"` TransactionHash ethtypes.EthHash `json:"transactionHash"`
TransactionIndex ethtypes.EthUint64 `json:"transactionIndex"` TransactionIndex ethtypes.EthUint64 `json:"transactionIndex"`
BlockHash ethtypes.EthHash `json:"blockHash"` BlockHash ethtypes.EthHash `json:"blockHash"`
BlockNumber ethtypes.EthUint64 `json:"blockNumber"` BlockNumber ethtypes.EthUint64 `json:"blockNumber"`
From ethtypes.EthAddress `json:"from"` From ethtypes.EthAddress `json:"from"`
To *ethtypes.EthAddress `json:"to"` To *ethtypes.EthAddress `json:"to"`
// Logs
// LogsBloom
StateRoot ethtypes.EthHash `json:"root"` StateRoot ethtypes.EthHash `json:"root"`
Status ethtypes.EthUint64 `json:"status"` Status ethtypes.EthUint64 `json:"status"`
ContractAddress *ethtypes.EthAddress `json:"contractAddress"` ContractAddress *ethtypes.EthAddress `json:"contractAddress"`