Skip to content

Commit

Permalink
Merge pull request #4884 from filecoin-project/asr/api-version
Browse files Browse the repository at this point in the history
Bump API versions to 1.0.0
  • Loading branch information
magik6k authored Nov 17, 2020
2 parents 425ad9c + c597c43 commit 193630f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions build/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ func VersionForType(nodeType NodeType) (Version, error) {

// semver versions of the rpc api exposed
var (
FullAPIVersion = newVer(0, 17, 0)
MinerAPIVersion = newVer(0, 18, 0)
WorkerAPIVersion = newVer(0, 17, 0)
FullAPIVersion = newVer(1, 0, 0)
MinerAPIVersion = newVer(1, 0, 0)
WorkerAPIVersion = newVer(1, 0, 0)
)

//nolint:varcheck,deadcode
Expand Down
2 changes: 1 addition & 1 deletion documentation/en/api-methods-miner.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ Response:
```json
{
"Version": "string value",
"APIVersion": 4352,
"APIVersion": 65536,
"BlockDelay": 42
}
```
Expand Down
2 changes: 1 addition & 1 deletion documentation/en/api-methods-worker.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ Perms: admin

Inputs: `null`

Response: `4352`
Response: `65536`

## Add

Expand Down
2 changes: 1 addition & 1 deletion documentation/en/api-methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ Response:
```json
{
"Version": "string value",
"APIVersion": 4352,
"APIVersion": 65536,
"BlockDelay": 42
}
```
Expand Down

0 comments on commit 193630f

Please sign in to comment.