Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/docs/users/reference/json_rpc_overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ Need a specific method? Let us know on
The RPC interface is the primary mechanism for interacting with Forest.

As there is presently no cross-client specification, the Lotus
[V0](https://github.com/filecoin-project/lotus/blob/master/documentation/en/api-v0-methods.md)
[V0 (Deprecated)](https://github.com/filecoin-project/lotus/blob/master/documentation/en/api-methods-v0-deprecated.md)
and
[V1](https://github.com/filecoin-project/lotus/blob/master/documentation/en/api-v1-unstable-methods.md)
[V1](https://github.com/filecoin-project/lotus/blob/master/documentation/en/api-methods-v1-stable.md)
APIs are the reference for Forest's implementation.

:::info
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
A running Lotus node can be accessed through an RPC interface. The RPC methods
are listed here:

- V0 methods (stable):
https://github.com/filecoin-project/lotus/blob/master/documentation/en/api-v0-methods.md
- V1 methods (unstable):
https://github.com/filecoin-project/lotus/blob/master/documentation/en/api-v1-unstable-methods.md
- V0 methods (Deprecated):
https://github.com/filecoin-project/lotus/blob/master/documentation/en/api-methods-v0-deprecated.md
- V1 methods (Stable):
https://github.com/filecoin-project/lotus/blob/master/documentation/en/api-methods-v1-stable.md

The current status of compatibility can be checked by comparing a running Forest
node with a running Lotus node:
Expand Down
4 changes: 2 additions & 2 deletions src/rpc/methods/f3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,7 @@ impl RpcMethod<0> for F3IsRunning {
}
}

/// See <https://github.com/filecoin-project/lotus/blob/master/documentation/en/api-v1-unstable-methods.md#F3GetProgress>
/// See <https://github.com/filecoin-project/lotus/blob/master/documentation/en/api-methods-v1-stable.md#F3GetProgress>
pub enum F3GetProgress {}

impl F3GetProgress {
Expand All @@ -816,7 +816,7 @@ impl RpcMethod<0> for F3GetProgress {
}
}

/// See <https://github.com/filecoin-project/lotus/blob/master/documentation/en/api-v1-unstable-methods.md#f3getmanifest>
/// See <https://github.com/filecoin-project/lotus/blob/master/documentation/en/api-methods-v1-stable.md#f3getmanifest>
pub enum F3GetManifest {}

impl F3GetManifest {
Expand Down
8 changes: 4 additions & 4 deletions src/rpc/methods/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ impl RpcMethod<1> for StateNetworkVersion {
}

/// gets the public key address of the given ID address
/// See <https://github.com/filecoin-project/lotus/blob/master/documentation/en/api-v0-methods.md#StateAccountKey>
/// See <https://github.com/filecoin-project/lotus/blob/master/documentation/en/api-methods-v0-deprecated.md#StateAccountKey>
pub enum StateAccountKey {}

impl RpcMethod<2> for StateAccountKey {
Expand All @@ -205,7 +205,7 @@ impl RpcMethod<2> for StateAccountKey {
}

/// retrieves the ID address of the given address
/// See <https://github.com/filecoin-project/lotus/blob/master/documentation/en/api-v0-methods.md#StateLookupID>
/// See <https://github.com/filecoin-project/lotus/blob/master/documentation/en/api-methods-v0-deprecated.md#StateLookupID>
pub enum StateLookupID {}

impl RpcMethod<2> for StateLookupID {
Expand Down Expand Up @@ -1161,7 +1161,7 @@ impl RpcMethod<4> for StateWaitMsg {
}

/// Searches for a message in the chain, and returns its receipt and the tipset where it was executed.
/// See <https://github.com/filecoin-project/lotus/blob/master/documentation/en/api-v1-unstable-methods.md#statesearchmsg>
/// See <https://github.com/filecoin-project/lotus/blob/master/documentation/en/api-methods-v1-stable.md#statesearchmsg>
pub enum StateSearchMsg {}

impl RpcMethod<4> for StateSearchMsg {
Expand Down Expand Up @@ -1205,7 +1205,7 @@ impl RpcMethod<4> for StateSearchMsg {
}

/// Looks back up to limit epochs in the chain for a message, and returns its receipt and the tipset where it was executed.
/// See <https://github.com/filecoin-project/lotus/blob/master/documentation/en/api-v0-methods.md#StateSearchMsgLimited>
/// See <https://github.com/filecoin-project/lotus/blob/master/documentation/en/api-methods-v0-deprecated.md#StateSearchMsgLimited>
pub enum StateSearchMsgLimited {}

impl RpcMethod<2> for StateSearchMsgLimited {
Expand Down
Loading