Skip to content

Commit

Permalink
Hotfix Releases (Missing Trie debug dependency) (#3271)
Browse files Browse the repository at this point in the history
* Some README additions

* Correct release date

* Trie: add missing debug dependency, bumped version to v6.1.1, added CHANGELOG entry, updated upstream dependency versions

* Bumped version, added CHANGELOG, updated upstream dependency versions (@ethereumjs/tx v5.2.1)

* Bumped version, added CHANGELOG, updated upstream dependency versions (@ethereumjs/devp2p v6.1.1)

* Bumped version, added CHANGELOG, updated upstream dependency versions (@ethereumjs/statemanager v2.2.1)

* Bumped version, added CHANGELOG, updated upstream dependency versions (@ethereumjs/block v5.1.1)

* Rebuild package-lock.json
  • Loading branch information
holgerd77 authored Feb 8, 2024
1 parent b258fd9 commit ff43fc1
Show file tree
Hide file tree
Showing 28 changed files with 180 additions and 82 deletions.
56 changes: 28 additions & 28 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 18 additions & 3 deletions packages/block/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +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).

## 5.1.0 - 2024-02-01
## 5.1.1 - 2024-02-08

- Hotfix release adding a missing `debug` dependency to the `@ethereumjs/trie` package (dependency), PR [#3271](https://github.com/ethereumjs/ethereumjs-monorepo/pull/3271)

## 5.1.0 - 2024-02-08

### Dencun Hardfork Support

Expand All @@ -15,10 +19,21 @@ While all EIPs contained in the upcoming Dencun hardfork run pretty much stable
Dencun hardfork on the execution side is called [Cancun](https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/cancun.md) and can be activated within the EthereumJS libraries (default hardfork still `Shanghai`) with a following `common` instance:

```typescript
import { Chain, Common, Hardfork } from '@ethereumjs/common'
const common = new Common({ chain: Chain.Mainnet, hardfork: Hardfork.Cancun })
import * as kzg from 'c-kzg'
import { Common, Chain, Hardfork } from '@ethereumjs/common'
import { initKZG } from '@ethereumjs/util'

initKZG(kzg, __dirname + '/../../client/src/trustedSetups/official.txt')
const common = new Common({
chain: Chain.Mainnet,
hardfork: Hardfork.Cancun,
customCrypto: { kzg: kzg },
})
console.log(common.customCrypto.kzg) // Should print the initialized KZG interface
```

Note that the `kzg` initialization slightly changed from previous experimental releases and a custom KZG instance is now passed to `Common` by using the `customCrypto` parameter, see PR [#3262](https://github.com/ethereumjs/ethereumjs-monorepo/pull/3262).

While `EIP-4844` - activating shard blob transactions - is for sure the most prominent EIP from this hardfork, enabling better scaling for the Ethereum ecosystem by providing cheaper block space for L2s, there are in total 6 EIPs contained in the Dencun hardfork. The following is an overview of which EthereumJS libraries mainly implement the various EIPs:

- EIP-1153: Transient storage opcodes (`@ethereumjs/evm`)
Expand Down
6 changes: 3 additions & 3 deletions packages/block/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ethereumjs/block",
"version": "5.1.0",
"version": "5.1.1",
"description": "Provides Block serialization and help functions",
"keywords": [
"ethereum",
Expand Down Expand Up @@ -48,8 +48,8 @@
"dependencies": {
"@ethereumjs/common": "^4.2.0",
"@ethereumjs/rlp": "^5.0.2",
"@ethereumjs/trie": "^6.1.0",
"@ethereumjs/tx": "^5.2.0",
"@ethereumjs/trie": "^6.1.1",
"@ethereumjs/tx": "^5.2.1",
"@ethereumjs/util": "^9.0.2",
"ethereum-cryptography": "^2.1.3"
},
Expand Down
19 changes: 16 additions & 3 deletions packages/blockchain/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ 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.0 - 2024-02-01
## 7.1.0 - 2024-02-08

### Dencun Hardfork Support

Expand All @@ -15,10 +15,23 @@ While all EIPs contained in the upcoming Dencun hardfork run pretty much stable
Dencun hardfork on the execution side is called [Cancun](https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/cancun.md) and can be activated within the EthereumJS libraries (default hardfork still `Shanghai`) with a following `common` instance:

```typescript
import { Chain, Common, Hardfork } from '@ethereumjs/common'
const common = new Common({ chain: Chain.Mainnet, hardfork: Hardfork.Cancun })
import * as kzg from 'c-kzg'
import { Common, Chain, Hardfork } from '@ethereumjs/common'
import { initKZG } from '@ethereumjs/util'

initKZG(kzg, __dirname + '/../../client/src/trustedSetups/official.txt')
const common = new Common({
chain: Chain.Mainnet,
hardfork: Hardfork.Cancun,
customCrypto: { kzg: kzg },
})
console.log(common.customCrypto.kzg) // Should print the initialized KZG interface
```

Note that the `kzg` initialization slightly changed from previous experimental releases and a custom KZG instance is now passed to `Common` by using the `customCrypto` parameter, see PR [#3262](https://github.com/ethereumjs/ethereumjs-monorepo/pull/3262).

At the moment using the Node.js bindings for the `c-kzg` library is the only option to get KZG related functionality to work, note that this solution is not browser compatible. We are currently working on a WASM build of that respective library. Let us know on the urgency of this task! 😆

While `EIP-4844` - activating shard blob transactions - is for sure the most prominent EIP from this hardfork, enabling better scaling for the Ethereum ecosystem by providing cheaper block space for L2s, there are in total 6 EIPs contained in the Dencun hardfork. The following is an overview of which EthereumJS libraries mainly implement the various EIPs:

- EIP-1153: Transient storage opcodes (`@ethereumjs/evm`)
Expand Down
6 changes: 3 additions & 3 deletions packages/blockchain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@
"tsc": "../../config/cli/ts-compile.sh"
},
"dependencies": {
"@ethereumjs/block": "^5.1.0",
"@ethereumjs/block": "^5.1.1",
"@ethereumjs/common": "^4.2.0",
"@ethereumjs/ethash": "^3.0.2",
"@ethereumjs/rlp": "^5.0.2",
"@ethereumjs/trie": "^6.1.0",
"@ethereumjs/tx": "^5.2.0",
"@ethereumjs/trie": "^6.1.1",
"@ethereumjs/tx": "^5.2.1",
"@ethereumjs/util": "^9.0.2",
"debug": "^4.3.3",
"ethereum-cryptography": "^2.1.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/client/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ 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.10.0 - 2024-02-01
## 0.10.0 - 2024-02-08

This client release now comes with official Dencun hardfork support 🎉 and by default uses WASM for crypto primitives for faster block execution times.

Expand Down
10 changes: 5 additions & 5 deletions packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,17 @@
"tsc": "../../config/cli/ts-compile.sh"
},
"dependencies": {
"@ethereumjs/block": "5.1.0",
"@ethereumjs/block": "5.1.1",
"@ethereumjs/blockchain": "7.1.0",
"@ethereumjs/common": "4.2.0",
"@ethereumjs/devp2p": "6.1.0",
"@ethereumjs/devp2p": "6.1.1",
"@ethereumjs/ethash": "3.0.2",
"@ethereumjs/evm": "2.2.0",
"@ethereumjs/genesis": "0.2.1",
"@ethereumjs/rlp": "5.0.2",
"@ethereumjs/statemanager": "2.2.0",
"@ethereumjs/trie": "6.1.0",
"@ethereumjs/tx": "5.2.0",
"@ethereumjs/statemanager": "2.2.1",
"@ethereumjs/trie": "6.1.1",
"@ethereumjs/tx": "5.2.1",
"@ethereumjs/util": "9.0.2",
"@ethereumjs/verkle": "^0.0.1",
"@ethereumjs/vm": "7.2.0",
Expand Down
19 changes: 16 additions & 3 deletions packages/common/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ 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).

## 4.2.0 - 2024-02-01
## 4.2.0 - 2024-02-08

### Dencun Hardfork Support

Expand All @@ -15,10 +15,23 @@ While all EIPs contained in the upcoming Dencun hardfork run pretty much stable
Dencun hardfork on the execution side is called [Cancun](https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/cancun.md) and can be activated within the EthereumJS libraries (default hardfork still `Shanghai`) with a following `common` instance:

```typescript
import { Chain, Common, Hardfork } from '@ethereumjs/common'
const common = new Common({ chain: Chain.Mainnet, hardfork: Hardfork.Cancun })
import * as kzg from 'c-kzg'
import { Common, Chain, Hardfork } from '@ethereumjs/common'
import { initKZG } from '@ethereumjs/util'

initKZG(kzg, __dirname + '/../../client/src/trustedSetups/official.txt')
const common = new Common({
chain: Chain.Mainnet,
hardfork: Hardfork.Cancun,
customCrypto: { kzg: kzg },
})
console.log(common.customCrypto.kzg) // Should print the initialized KZG interface
```

Note that the `kzg` initialization slightly changed from previous experimental releases and a custom KZG instance is now passed to `Common` by using the `customCrypto` parameter, see PR [#3262](https://github.com/ethereumjs/ethereumjs-monorepo/pull/3262).

At the moment using the Node.js bindings for the `c-kzg` library is the only option to get KZG related functionality to work, note that this solution is not browser compatible. We are currently working on a WASM build of that respective library. Let us know on the urgency of this task! 😆

While `EIP-4844` - activating shard blob transactions - is for sure the most prominent EIP from this hardfork, enabling better scaling for the Ethereum ecosystem by providing cheaper block space for L2s, there are in total 6 EIPs contained in the Dencun hardfork. The following is an overview of which EthereumJS libraries mainly implement the various EIPs:

- EIP-1153: Transient storage opcodes (`@ethereumjs/evm`)
Expand Down
6 changes: 5 additions & 1 deletion packages/devp2p/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +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).

## 6.1.0 - 2024-02-01
## 6.1.1 - 2024-02-08

- Hotfix release adding a missing `debug` dependency to the `@ethereumjs/trie` package (dependency), PR [#3271](https://github.com/ethereumjs/ethereumjs-monorepo/pull/3271)

## 6.1.0 - 2024-02-08

### WASM Crypto Support

Expand Down
6 changes: 3 additions & 3 deletions packages/devp2p/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ethereumjs/devp2p",
"version": "6.1.0",
"version": "6.1.1",
"description": "A JavaScript implementation of ÐΞVp2p",
"keywords": [
"ethereum",
Expand Down Expand Up @@ -69,8 +69,8 @@
"snappyjs": "^0.6.1"
},
"devDependencies": {
"@ethereumjs/block": "^5.1.0",
"@ethereumjs/tx": "^5.2.0",
"@ethereumjs/block": "^5.1.1",
"@ethereumjs/tx": "^5.2.1",
"@types/debug": "^4.1.9",
"@types/k-bucket": "^5.0.0",
"chalk": "^4.1.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/ethash/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ 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.0.2 - 2024-02-01
### 3.0.2 - 2024-02-08

Maintenance release with dependency updates, see PR [#3261](https://github.com/ethereumjs/ethereumjs-monorepo/pull/3261)

Expand Down
Loading

0 comments on commit ff43fc1

Please sign in to comment.