review fixes
This commit is contained in:
parent
e684248f48
commit
83d7db88cf
@ -586,7 +586,7 @@ type FullNode interface {
|
|||||||
StateVMCirculatingSupplyInternal(context.Context, types.TipSetKey) (CirculatingSupply, error) //perm:read
|
StateVMCirculatingSupplyInternal(context.Context, types.TipSetKey) (CirculatingSupply, error) //perm:read
|
||||||
// StateNetworkVersion returns the network version at the given tipset
|
// StateNetworkVersion returns the network version at the given tipset
|
||||||
StateNetworkVersion(context.Context, types.TipSetKey) (apitypes.NetworkVersion, error) //perm:read
|
StateNetworkVersion(context.Context, types.TipSetKey) (apitypes.NetworkVersion, error) //perm:read
|
||||||
// StateActorCids returns the CIDs of all the builtin actors for the given network version
|
// StateActorCodeCIDs returns the CIDs of all the builtin actors for the given network version
|
||||||
StateActorCodeCIDs(context.Context, abinetwork.Version) (map[string]cid.Cid, error) //perm:read
|
StateActorCodeCIDs(context.Context, abinetwork.Version) (map[string]cid.Cid, error) //perm:read
|
||||||
|
|
||||||
// StateGetRandomnessFromTickets is used to sample the chain for randomness.
|
// StateGetRandomnessFromTickets is used to sample the chain for randomness.
|
||||||
|
@ -605,7 +605,7 @@ type FullNode interface {
|
|||||||
StateVMCirculatingSupplyInternal(context.Context, types.TipSetKey) (api.CirculatingSupply, error) //perm:read
|
StateVMCirculatingSupplyInternal(context.Context, types.TipSetKey) (api.CirculatingSupply, error) //perm:read
|
||||||
// StateNetworkVersion returns the network version at the given tipset
|
// StateNetworkVersion returns the network version at the given tipset
|
||||||
StateNetworkVersion(context.Context, types.TipSetKey) (apitypes.NetworkVersion, error) //perm:read
|
StateNetworkVersion(context.Context, types.TipSetKey) (apitypes.NetworkVersion, error) //perm:read
|
||||||
// StateActorCids returns the CIDs of all the builtin actors for the given network version
|
// StateActorCodeCIDs returns the CIDs of all the builtin actors for the given network version
|
||||||
StateActorCodeCIDs(context.Context, abinetwork.Version) (map[string]cid.Cid, error) //perm:read
|
StateActorCodeCIDs(context.Context, abinetwork.Version) (map[string]cid.Cid, error) //perm:read
|
||||||
|
|
||||||
// StateGetRandomnessFromTickets is used to sample the chain for randomness.
|
// StateGetRandomnessFromTickets is used to sample the chain for randomness.
|
||||||
|
Binary file not shown.
@ -4641,7 +4641,7 @@ Inputs:
|
|||||||
Response: `"f01234"`
|
Response: `"f01234"`
|
||||||
|
|
||||||
### StateActorCodeCIDs
|
### StateActorCodeCIDs
|
||||||
StateActorCids returns the CIDs of all the builtin actors for the given network version
|
StateActorCodeCIDs returns the CIDs of all the builtin actors for the given network version
|
||||||
|
|
||||||
|
|
||||||
Perms: read
|
Perms: read
|
||||||
|
@ -5051,7 +5051,7 @@ Inputs:
|
|||||||
Response: `"f01234"`
|
Response: `"f01234"`
|
||||||
|
|
||||||
### StateActorCodeCIDs
|
### StateActorCodeCIDs
|
||||||
StateActorCids returns the CIDs of all the builtin actors for the given network version
|
StateActorCodeCIDs returns the CIDs of all the builtin actors for the given network version
|
||||||
|
|
||||||
|
|
||||||
Perms: read
|
Perms: read
|
||||||
|
@ -1475,7 +1475,7 @@ func (a *StateAPI) StateActorCodeCIDs(ctx context.Context, nv network.Version) (
|
|||||||
return nil, xerrors.Errorf("cannot get manifest CID")
|
return nil, xerrors.Errorf("cannot get manifest CID")
|
||||||
}
|
}
|
||||||
|
|
||||||
cids["manifest"] = manifestCid
|
cids["_manifest"] = manifestCid
|
||||||
|
|
||||||
var actorKeys = actors.GetBuiltinActorsKeys()
|
var actorKeys = actors.GetBuiltinActorsKeys()
|
||||||
for _, name := range actorKeys {
|
for _, name := range actorKeys {
|
||||||
|
Loading…
Reference in New Issue
Block a user