Skip to content

Commit 7340e7c

Browse files
committed
v22.3.0
* Deprecates the JSON-RPC API
1 parent 542e645 commit 7340e7c

File tree

4 files changed

+43
-5
lines changed

4 files changed

+43
-5
lines changed

CHANGELOG.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,40 @@
1+
2022-03-07 v22.3.0
2+
==================
3+
4+
Nimbus `v22.3.0` is a `low-urgency` upgrade that marks the beginning of a more predictable release cadence for Nimbus. Going forward, we'll be publishing a new release at the start of each month, following a feature freeze period with intensified testing and monitoring of the introduced code changes on our dispersed fleet of mainnet validators.
5+
6+
> Please note that the new versioning scheme is tied to the calendar. The number 22 indicates the year of the release (2022), while 3 is the month (March). The last digit is the patch number of the release and it will have a non-zero value only when we ship a hotfix during the month.
7+
8+
### Improvements:
9+
10+
* Nimbus can now run as a service on Windows: use the `--run-as-service` flag
11+
https://github.com/status-im/nimbus-eth2/pull/3441
12+
13+
* All command-line options can now be provided in a configuration file: use the `--config-file` flag
14+
https://github.com/status-im/nimbus-eth2/pull/3442
15+
16+
* Lower CPU and bandwidth usage thanks to better handling of already seen attestation aggregates
17+
https://github.com/status-im/nimbus-eth2/pull/3439
18+
19+
* Reduced memory usage for nodes bootstrapped with [trusted node sync](https://nimbus.guide/trusted-node-sync.html)
20+
https://github.com/status-im/nimbus-eth2/pull/3429
21+
22+
### We've fixed:
23+
24+
* Reduced performance on Windows due to the use of a less efficient method for collecting stack traces
25+
https://github.com/status-im/nimbus-eth2/pull/3466
26+
27+
* Non spec-compliant URLs in the [Keymanager APIs](https://nimbus.guide/keymanager-api.html) for handling remote keystores
28+
https://github.com/status-im/nimbus-eth2/commit/4c01b777736f0d5d6fe38b37a4349741f6944e4c
29+
30+
* Extremely slow [slashing DB import](https://nimbus.guide/migration.html#step-4---import-your-slashing-protection-history) for validators: the import should be pretty fast now
31+
https://github.com/status-im/nimbus-eth2/pull/3393
32+
33+
### Deprecated features:
34+
35+
- The [JSON-RPC](https://nimbus.guide/api.html) service (`--rpc` flag) option is now deprecated. It's scheduled for removal in version `v22.6` (i.e June of this year). If you are currently relying on the JSON-RPC API, please consider switching to the official [REST API](https://nimbus.guide/rest-api.html).
36+
37+
138
2022-02-15 v1.7.0
239
=================
340

beacon_chain/conf.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ type
322322
name: "status-bar-contents" }: string
323323

324324
rpcEnabled* {.
325-
desc: "Enable the JSON-RPC server"
325+
desc: "Enable the JSON-RPC server (deprecated)"
326326
defaultValue: false
327327
name: "rpc" }: bool
328328

beacon_chain/version.nim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ when not defined(nimscript):
1313
let copyrights* = "Copyright (c) 2019-" & $(now().utc.year) & " Status Research & Development GmbH"
1414

1515
const
16-
versionMajor* = 1
17-
versionMinor* = 7
16+
versionMajor* = 22
17+
versionMinor* = 3
1818
versionBuild* = 0
1919

2020
versionBlob* = "stateofus" # Single word - ends up in the default graffiti

docs/the_nimbus_book/src/api.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
# JSON-RPC API
22

3+
> The Nimbus JSON-RPC API has been deprecated and it’s scheduled for removal in version v22.6 of Nimbus (to be released in June 2022).
4+
If you are currently relying on the JSON-RPC API, please consider switching to the [official REST API](./rest-api.md).
5+
36
The `JSON-RPC API` is a collection of APIs for querying the state of the application at runtime.
47

58
The API is based on an early version of the common [beacon APIs](https://github.com/ethereum/beacon-APIs) with the exception that `JSON-RPC` is used instead of [http `REST`](./rest-api.md) (the method names, parameters and results are all the same except for the encoding / access method).
69

7-
Nimbus also implements the [common REST API](./rest-api.md) - new applications should consider using it instead of JSON RPC.
8-
910
The `JSON-RPC API` should not be exposed to the public internet.
1011

1112
## Introduction

0 commit comments

Comments
 (0)