Merge pull request #4884 from filecoin-project/asr/api-version

Bump API versions to 1.0.0
This commit is contained in:
Łukasz Magiera 2020-11-17 12:51:31 +01:00 committed by GitHub
commit 193630f7b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -153,7 +153,7 @@ Response:
```json
{
"Version": "string value",
"APIVersion": 4352,
"APIVersion": 65536,
"BlockDelay": 42
}
```

View File

@ -144,7 +144,7 @@ Perms: admin
Inputs: `null`
Response: `4352`
Response: `65536`
## Add

View File

@ -246,7 +246,7 @@ Response:
```json
{
"Version": "string value",
"APIVersion": 4352,
"APIVersion": 65536,
"BlockDelay": 42
}
```