Skip to content

Commit

Permalink
New Minor Releases (VM Dynamic GasCosts, EIP-2681, Sepolia, various o…
Browse files Browse the repository at this point in the history
…ther) (#1640)

* trie: bumped version to v4.2.3, added CHANGELOG entry, updated upstream dependency versions

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

* Util: rebuild documentation

* Common: bumped version to v2.6.1, added CHANGELOG entry, updated upstream dependency versions

* Common: rebuild documentation

* Monorepo: updated package-lock.json

* tx: bumped version to v3.5.0, added CHANGELOG entry, updated upstream dependency versions

* tx: rebuild documentation

* devp2p: bumped version to v4.2.1, added CHANGELOG entry, updated upstream dependency versions

* Common: small README updates

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

* Monorepo: updated package-lock.json

* Client: bumped version to v0.3.0, added CHANGELOG entry, updated minimal Node engine version in package.json

* Monorepo: updated package-lock.json

* Minor Releases: Apply suggestions from code review

Co-authored-by: Ryan Ghods <ryan@ryanio.com>

* monorepo: updated package-lock.json

* Minor Releases: updated CHANGELOG files, updated release date

* Util: rebuild documentation

Co-authored-by: Ryan Ghods <ryan@ryanio.com>
  • Loading branch information
holgerd77 and ryanio committed Feb 1, 2022
1 parent aa7d323 commit 06bdad5
Show file tree
Hide file tree
Showing 39 changed files with 3,827 additions and 2,181 deletions.
4,060 changes: 2,318 additions & 1,742 deletions package-lock.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions packages/block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@
"test:browser": "karma start karma.conf.js"
},
"dependencies": {
"@ethereumjs/common": "^2.6.0",
"merkle-patricia-tree": "^4.2.2",
"@ethereumjs/tx": "^3.4.0",
"ethereumjs-util": "^7.1.3"
"@ethereumjs/common": "^2.6.1",
"merkle-patricia-tree": "^4.2.3",
"@ethereumjs/tx": "^3.5.0",
"ethereumjs-util": "^7.1.4"
},
"devDependencies": {
"@types/lru-cache": "^5.1.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/blockchain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@
"author": "mjbecze <mjbecze@gmail.com>",
"dependencies": {
"@ethereumjs/block": "^3.6.0",
"@ethereumjs/common": "^2.6.0",
"@ethereumjs/common": "^2.6.1",
"@ethereumjs/ethash": "^1.1.0",
"debug": "^4.3.3",
"ethereumjs-util": "^7.1.3",
"ethereumjs-util": "^7.1.4",
"level-mem": "^5.0.1",
"lru-cache": "^5.1.1",
"semaphore-async-await": "^1.5.1"
Expand Down
31 changes: 31 additions & 0 deletions packages/client/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,37 @@ 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.3.0 - 2022-02-01

### New RPC Endpoints: eth_getLogs, eth_getTransactionReceipt and eth_getTransactionByHash

This release adds receipt and log saving functionality to the client. There has been a new database infrastructure laid out in PR [#1556](https://github.com/ethereumjs/ethereumjs-monorepo/pull/1556) for data, caching and indexes.

A new `ReceiptsManager` handles receipt and log saving and lookup, along with the `txHash -> [blockHash, txIndex]` index that is limited by `--txLookupLimit` (default = 2350000 blocks = about one year, 0 = entire chain).

Enable with `--saveReceipts` and use with --rpc to enable `eth_getLogs`, `eth_getTransactionReceipt` and `eth_getTransactionByHash` endpoints.

### Sepolia PoW Testnet Support

The client now supports the new [Sepolia](https://sepolia.ethdevops.io/) testnet, which is a PoW network intended to replace the `ropsten` network, see PR [#1581](https://github.com/ethereumjs/ethereumjs-monorepo/pull/1581).

A client connecting to the Sepolia network can be started as follows:

```shell
ethereumjs --network=sepolia
```

### Allow past block numbers in RPC queries

The RPC calls `call`, `getBalance`, `getCode`, `getStorageAt`, `getTransactionCount`, and `estimateGas` up till now only supported being called with the `latest` tag. This has been updated in PR [#1598](https://github.com/ethereumjs/ethereumjs-monorepo/pull/1598) and it is now possible to use past block numbers for the various calls.

### Bug Fixes

- Fixed browser build and libp2p sync, PR [#1588](https://github.com/ethereumjs/ethereumjs-monorepo/pull/1588)
- Fixed error logging stack trace output, PR [#1595](https://github.com/ethereumjs/ethereumjs-monorepo/pull/1595)
- Fixed broken dependency in webpack where node's constants package isn't being polyfilled by webpack 5, PR [#1621](https://github.com/ethereumjs/ethereumjs-monorepo/pull/1621)
- Fixed `mainnet` consensus bug from block `4,993,075` (`byzantium`) where a tx goes OOG but refunds get applied anyways (thanks @LogvinovLeon for reporting! ❤️), PR [#1603](https://github.com/ethereumjs/ethereumjs-monorepo/pull/1603)

## 0.2.0 - 2021-11-09

### Experimental Merge Support
Expand Down
3 changes: 2 additions & 1 deletion packages/client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The EthereumJS Client is an Ethereum Execution Client (similar to [go-ethereum](

Here are some use cases:

- Sync the main Ethereum networks (`mainnet`, `goerli`, `rinkeby`,...)
- Sync the main Ethereum networks (`mainnet`, `goerli`, `rinkeby`, `sepolia`...)
- Set up your own local development networks (PoA Clique or PoW with CPU miner)
- Run a network with your own custom [EthereumJS VM](../vm)
- Analyze what's in the Ethereum `mainnet` [transaction pool](./lib/sync/txpool.ts)
Expand Down Expand Up @@ -79,6 +79,7 @@ The main supported networks are:
- `rinkeby`
- `ropsten`
- `goerli`
- `sepolia` (`v0.3.0`+)

Use the CLI `--network` option to switch the network:

Expand Down
16 changes: 8 additions & 8 deletions packages/client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ethereumjs/client",
"version": "0.2.0",
"version": "0.3.0",
"description": "EthereumJS client implementation",
"license": "MPL-2.0",
"author": "Vinay Pulim (v@pulim.com)",
Expand All @@ -13,7 +13,7 @@
"full sync"
],
"engines": {
"node": ">=8.0.0"
"node": ">=12.0.0"
},
"files": [
"dist"
Expand Down Expand Up @@ -52,14 +52,14 @@
"@chainsafe/libp2p-noise": "^4.1.1",
"@ethereumjs/block": "^3.6.0",
"@ethereumjs/blockchain": "^5.5.1",
"@ethereumjs/common": "^2.6.0",
"@ethereumjs/devp2p": "^4.2.0",
"@ethereumjs/common": "^2.6.1",
"@ethereumjs/devp2p": "^4.2.1",
"@ethereumjs/ethash": "^1.1.0",
"@ethereumjs/tx": "^3.4.0",
"@ethereumjs/vm": "^5.6.0",
"@ethereumjs/tx": "^3.5.0",
"@ethereumjs/vm": "^5.7.0",
"chalk": "^4.1.2",
"debug": "^4.3.3",
"ethereumjs-util": "^7.1.3",
"ethereumjs-util": "^7.1.4",
"fs-extra": "^10.0.0",
"it-pipe": "^1.1.0",
"it-pushable": "^1.4.2",
Expand All @@ -73,7 +73,7 @@
"libp2p-mplex": "^0.10.2",
"libp2p-tcp": "^0.15.3",
"libp2p-websockets": "^0.15.1",
"merkle-patricia-tree": "^4.2.2",
"merkle-patricia-tree": "^4.2.3",
"multiaddr": "^10.0.1",
"peer-id": "^0.14.3",
"qheap": "^1.4.0",
Expand Down
6 changes: 6 additions & 0 deletions packages/common/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ 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).

## 2.6.1 - 2022-02-01

- Added support for [EIP-3855](https://eips.ethereum.org/EIPS/eip-3855) `push0` opcode, PR [#1616](https://github.com/ethereumjs/ethereumjs-monorepo/pull/1616)
- Added support for the new [Sepolia](https://sepolia.ethdevops.io/) (`Chain.Sepolia`) test network (PoW network replacing `ropsten`), PR [#1581](https://github.com/ethereumjs/ethereumjs-monorepo/pull/1581)
- Added `berlin` and `london` HF block numbers and fork hashes to `kovan`, PR [#1577](https://github.com/ethereumjs/ethereumjs-monorepo/pull/1577)

## 2.6.0 - 2021-11-09

### ArrowGlacier HF Support
Expand Down
3 changes: 2 additions & 1 deletion packages/common/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ Supported chains:
- `rinkeby` (`Chain.Rinkeby`)
- `kovan` (`Chain.Kovan`)
- `goerli` (`Chain.Goerli`)
- `sepolia` (`Chain.Sepolia`)
- `sepolia` (`Chain.Sepolia`) (`v2.6.1`+)
- Private/custom chain parameters

The following chain-specific parameters are provided:
Expand Down Expand Up @@ -293,6 +293,7 @@ The following EIPs are currently supported:
- [EIP-3541](https://eips.ethereum.org/EIPS/eip-3541): Reject new contracts starting with the 0xEF byte
- [EIP-3554](https://eips.ethereum.org/EIPS/eip-3554): Difficulty Bomb Delay to December 2021 (only PoW networks)
- [EIP-3675](https://eips.ethereum.org/EIPS/eip-3675): Upgrade consensus to Proof-of-Stake (`experimental`)
- [EIP-3855](https://eips.ethereum.org/EIPS/eip-3855): Push0 opcode (`v2.6.1`+)

## Bootstrap Nodes

Expand Down
Loading

1 comment on commit 06bdad5

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 2.

Benchmark suite Current: 06bdad5 Previous: aa7d323 Ratio
Block 9422910 6737 ops/sec (±18.09%) 16652 ops/sec (±2.82%) 2.47

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.