diff --git a/api/api_full.go b/api/api_full.go index ddce41459..ce010b0c7 100644 --- a/api/api_full.go +++ b/api/api_full.go @@ -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. diff --git a/api/v0api/full.go b/api/v0api/full.go index 516823934..c9b156b71 100644 --- a/api/v0api/full.go +++ b/api/v0api/full.go @@ -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. diff --git a/build/openrpc/full.json.gz b/build/openrpc/full.json.gz index 163f7bf71..11fdcfb92 100644 Binary files a/build/openrpc/full.json.gz and b/build/openrpc/full.json.gz differ diff --git a/documentation/en/api-v0-methods.md b/documentation/en/api-v0-methods.md index 0781ab195..652bf3c47 100644 --- a/documentation/en/api-v0-methods.md +++ b/documentation/en/api-v0-methods.md @@ -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 diff --git a/documentation/en/api-v1-unstable-methods.md b/documentation/en/api-v1-unstable-methods.md index aa409a7c8..9d8938f81 100644 --- a/documentation/en/api-v1-unstable-methods.md +++ b/documentation/en/api-v1-unstable-methods.md @@ -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 diff --git a/node/impl/full/state.go b/node/impl/full/state.go index 9f400da80..bc264712c 100644 --- a/node/impl/full/state.go +++ b/node/impl/full/state.go @@ -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 {