Skip to content

Commit

Permalink
Last round of master v5 Releases (#1927)
Browse files Browse the repository at this point in the history
* Monorepo: updated package-lock.json

* Util: bumped version to v7.1.5, added CHANGELOG entry, updated upstream dependency versions

* Util: rebuild documentation

* Tx: bumped version to v3.5.2, added CHANGELOG entry, updated upstream dependency versions

* VM: bumped version to v5.9.1, added CHANGELOG entry, updated upstream dependency versions

* Client: bumped version to v0.5.0, added CHANGELOG entry, updated README

* Nits

* Update packages/client/README.md

Co-authored-by: g11tech <gajinder@g11.in>

* Update packages/client/CHANGELOG.md

Co-authored-by: acolytec3 <17355484+acolytec3@users.noreply.github.com>
Co-authored-by: Ryan Ghods <ryan@ryanio.com>
Co-authored-by: g11tech <gajinder@g11.in>
  • Loading branch information
4 people authored Jun 2, 2022
1 parent 30ca12e commit 52c6d52
Show file tree
Hide file tree
Showing 22 changed files with 2,413 additions and 2,096 deletions.
4,177 changes: 2,221 additions & 1,956 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
"dependencies": {
"@ethereumjs/common": "^2.6.4",
"merkle-patricia-tree": "^4.2.4",
"@ethereumjs/tx": "^3.5.1",
"ethereumjs-util": "^7.1.4"
"@ethereumjs/tx": "^3.5.2",
"ethereumjs-util": "^7.1.5"
},
"devDependencies": {
"@types/lru-cache": "^5.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/blockchain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@ethereumjs/common": "^2.6.4",
"@ethereumjs/ethash": "^1.1.0",
"debug": "^4.3.3",
"ethereumjs-util": "^7.1.4",
"ethereumjs-util": "^7.1.5",
"level-mem": "^5.0.1",
"lru-cache": "^5.1.1",
"semaphore-async-await": "^1.5.1"
Expand Down
25 changes: 25 additions & 0 deletions packages/client/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,31 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
(modification: no type change headlines) and this project adheres to
[Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## 0.5.0 - 2022-06-02

### Merge: Kiln v2.1 Support

This client release comes with various last specification updates for the Merge to conform with the execution engine API spec as defined in the "Ballast" [v1.0.0-alpha.9](https://github.com/ethereum/execution-apis/releases/tag/v1.0.0-alpha.9) pre-release of the execution API, also see the general Merge (aka "Paris" HF) [execution specs](https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/paris.md).

- Various `eth_` methods are now available on the engine API endpoint as of Kiln spec v2.1, PR [#1855](https://github.com/ethereumjs/ethereumjs-monorepo/pull/1855)
- Small engine API updates and fixes, PR [#1902](https://github.com/ethereumjs/ethereumjs-monorepo/pull/1902)
- Subsume engine's `INVALID_TERMINAL_BLOCK` into `INVALID` response, PR [#1919](https://github.com/ethereumjs/ethereumjs-monorepo/pull/1919)

### Merge: Optimistic (Beacon) Sync

The client now supports [optimistic](https://github.com/ethereum/consensus-specs/blob/dev/sync/optimistic.md) (Beacon) sync where blocks are downloaded in reverse from the announced trusted head. This allows for a practically viable sync process in combination with a consensus client when running the client in an execution-consensus-client-combination setup on a Merge test network.

See PR [#1878](https://github.com/ethereumjs/ethereumjs-monorepo/pull/1878) for the implementation and PR [#1858](https://github.com/ethereumjs/ethereumjs-monorepo/pull/1858), PR [#1861](https://github.com/ethereumjs/ethereumjs-monorepo/pull/1861) and PR [#1863](https://github.com/ethereumjs/ethereumjs-monorepo/pull/1863) which prepare the ground with some (larger scale) preparator refactor for the implementation.

### TxPool Validation

With this release our tx pool grows into a still simple but full-grown and base-feature-complete pool by adding all sorts of validation checks to ensure validity with consensus, see PR [#1852](https://github.com/ethereumjs/ethereumjs-monorepo/pull/1852). This is another substantial step towards fullfilling the requirements for acting as an active block-producing client in an Ethereum network. Validation checks - like e.g. "tx nonce is greater than sender's current nonce" - are now run early on when a tx is send via RPC `eth_sendRawTransaction` and feedback (and eventual rejection of the tx) is provided at the point of submission. This allows for building valid blocks when acting as a block producer.

### Fixes

- Execution API: Added missing tx fields to `getBlockByHash` RPC method, PR [#1881](https://github.com/ethereumjs/ethereumjs-monorepo/pull/1881)


## 0.4.1 - 2022-04-14

- Allow `forkchoiceUpdated` method to properly work on a reorg if a previous block was sent as `headBlockHash`, PR [#1820](https://github.com/ethereumjs/ethereumjs-monorepo/pull/1820)
Expand Down
9 changes: 3 additions & 6 deletions packages/client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,13 @@ The client currently supports `full` sync being set as a default and has experim

### The Merge

The EthereumJS client is participating actively in the different testnets preparing for the Merge hardfork and the team is following up on implementing the Merge [specs](https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/merge.md) and updating along new versions of the specification.
The EthereumJS client is participating actively in the different testnets preparing for the Merge hardfork and the team is following up on implementing the Merge [specs](https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/paris.md) and updating along new versions of the specification.

There are dedicated instructions on how to setup for running the client in conjunction with a consensus (Eth 2.0) client (e.g. [Lodestar](https://github.com/ChainSafe/lodestar)).

Testnet Instructions:

- [Kiln v2 Public Testnet](./kiln/)
- [Kiln v2.1 Public Testnet](./kiln/)

#### Sync Scenarios

Expand All @@ -108,10 +108,7 @@ Currently the following sync scenarios are **supported**:
- **EL and CL Live Transition**: both clients follow the head of the respective chains pre Merge and go through the Merge transition live and in sync
- **EL synced to Merge block, CL Merge transition**: the EL client has been synced to the Merge transitition block and is waiting for CL requests, the CL is syncing through the transition and starts EL requests along
- **Resume syncing with equally synced clients / CL client behind**: sync can be resumed with EL client and CL client synced to the respective counterparts of the beacon and embedded execution chain, CL client can also be somewhat behind the EL client

**Unsupported** sync scenarios:

- **CL client ahead of EL client**: if the CL client has been synced without the EL client being connected and is therefore *ahead* of the EL client post Merge, sync will not be able to fully resume (this will need an optimistic sync implementation)
- **CL client ahead of EL client**: if the CL client has been synced without the EL client syncing in *lockstep* on/after merge (e.g. using weak subjectivity sync) and is therefore *ahead* of the EL client post-merge, the EL backfills blocks and brings the chain up-to-date with the head fcUs being issued by the CL via [optimistic](https://github.com/ethereum/consensus-specs/blob/dev/sync/optimistic.md) (beacon) sync (since `v0.5.0`)

### Custom Chains

Expand Down
8 changes: 4 additions & 4 deletions packages/client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ethereumjs/client",
"version": "0.4.1",
"version": "0.5.0",
"description": "EthereumJS client implementation",
"license": "MPL-2.0",
"author": "Vinay Pulim (v@pulim.com)",
Expand Down Expand Up @@ -55,14 +55,14 @@
"@ethereumjs/common": "^2.6.4",
"@ethereumjs/devp2p": "^4.2.2",
"@ethereumjs/ethash": "^1.1.0",
"@ethereumjs/tx": "^3.5.1",
"@ethereumjs/vm": "^5.9.0",
"@ethereumjs/tx": "^3.5.2",
"@ethereumjs/vm": "^5.9.1",
"body-parser": "^1.19.2",
"chalk": "^4.1.2",
"connect": "^3.7.0",
"cors": "^2.8.5",
"debug": "^4.3.3",
"ethereumjs-util": "^7.1.4",
"ethereumjs-util": "^7.1.5",
"fs-extra": "^10.0.0",
"it-pipe": "^1.1.0",
"it-pushable": "^1.4.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
},
"dependencies": {
"crc-32": "^1.2.0",
"ethereumjs-util": "^7.1.4"
"ethereumjs-util": "^7.1.5"
},
"devDependencies": {
"@types/node": "^16.11.7",
Expand Down
4 changes: 2 additions & 2 deletions packages/devp2p/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"base64url": "^3.0.1",
"bl": "^1.1.2",
"debug": "^4.3.3",
"ethereumjs-util": "^7.1.4",
"ethereumjs-util": "^7.1.5",
"hi-base32": "^0.5.0",
"inherits": "^2.0.1",
"ip": "^1.1.3",
Expand All @@ -63,7 +63,7 @@
},
"devDependencies": {
"@ethereumjs/block": "^3.6.2",
"@ethereumjs/tx": "^3.5.1",
"@ethereumjs/tx": "^3.5.2",
"@types/chalk": "^2.2.0",
"@types/debug": "^4.1.4",
"@types/ip": "^1.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/ethash/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@ethereumjs/block": "^3.6.2",
"@types/levelup": "^4.3.0",
"buffer-xor": "^2.0.1",
"ethereumjs-util": "^7.1.4",
"ethereumjs-util": "^7.1.5",
"miller-rabin": "^4.0.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/trie/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
},
"dependencies": {
"@types/levelup": "^4.3.0",
"ethereumjs-util": "^7.1.4",
"ethereumjs-util": "^7.1.5",
"level-mem": "^5.0.1",
"level-ws": "^2.0.0",
"readable-stream": "^3.6.0",
Expand Down
5 changes: 5 additions & 0 deletions packages/tx/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
(modification: no type change headlines) and this project adheres to
[Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## 3.5.2 - 2022-06-02

- Fixed a bug where tx options would not propagate from an unsigned to a signed tx when using the `sign()` function (there are not that many tx options, this is therefore in most cases not practically relevant and rather a guard for future option additions), PR [#1884](https://github.com/ethereumjs/ethereumjs-monorepo/pull/1884)
- Stricter `v` value validation for legacy txs, PR [#1905](https://github.com/ethereumjs/ethereumjs-monorepo/pull/1905)

## 3.5.1 - 2022-03-15

### EIP-3860 Support: Limit and Meter Initcode
Expand Down
4 changes: 2 additions & 2 deletions packages/tx/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ethereumjs/tx",
"version": "3.5.1",
"version": "3.5.2",
"description": "A simple module for creating, manipulating and signing Ethereum transactions",
"license": "MPL-2.0",
"author": "mjbecze <mb@ethdev.com>",
Expand Down Expand Up @@ -35,7 +35,7 @@
},
"dependencies": {
"@ethereumjs/common": "^2.6.4",
"ethereumjs-util": "^7.1.4"
"ethereumjs-util": "^7.1.5"
},
"devDependencies": {
"@types/minimist": "^1.2.0",
Expand Down
4 changes: 4 additions & 0 deletions packages/util/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
(modification: no type change headlines) and this project adheres to
[Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## 7.1.5 - 2022-06-02

- More flexible `signature` module methods now allow for passing in `v` values of `0` and `1` in the context of typed txs (e.g. EIP-1559 txs): `ecrecover()`, `toRpcSig()`, `toCompactSig()`, `isValidSignature()`, PR [#1905](https://github.com/ethereumjs/ethereumjs-monorepo/pull/1905)

## 7.1.4 - 2022-02-01

### Buffer <-> Uint8Array Conversion Helpers (RLP v3)
Expand Down
Loading

0 comments on commit 52c6d52

Please sign in to comment.