review fixes

This commit is contained in:
Geoff Stuart 2022-06-23 14:17:41 -04:00
parent e684248f48
commit 83d7db88cf
6 changed files with 5 additions and 5 deletions

View File

@ -586,7 +586,7 @@ type FullNode interface {
StateVMCirculatingSupplyInternal(context.Context, types.TipSetKey) (CirculatingSupply, error) //perm:read
// StateNetworkVersion returns the network version at the given tipset
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
// StateGetRandomnessFromTickets is used to sample the chain for randomness.

View File

@ -605,7 +605,7 @@ type FullNode interface {
StateVMCirculatingSupplyInternal(context.Context, types.TipSetKey) (api.CirculatingSupply, error) //perm:read
// StateNetworkVersion returns the network version at the given tipset
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
// StateGetRandomnessFromTickets is used to sample the chain for randomness.

Binary file not shown.

View File

@ -4641,7 +4641,7 @@ Inputs:
Response: `"f01234"`
### 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

View File

@ -5051,7 +5051,7 @@ Inputs:
Response: `"f01234"`
### 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

View File

@ -1475,7 +1475,7 @@ func (a *StateAPI) StateActorCodeCIDs(ctx context.Context, nv network.Version) (
return nil, xerrors.Errorf("cannot get manifest CID")
}
cids["manifest"] = manifestCid
cids["_manifest"] = manifestCid
var actorKeys = actors.GetBuiltinActorsKeys()
for _, name := range actorKeys {