Skip to content

Commit

Permalink
Common, Block, VM: GrayGlacier HF Releases (#1989)
Browse files Browse the repository at this point in the history
* Monorepo: updated package-lock.json

* Common: bumped version to v2.6.5, added CHANGELOG, updated README, updated upstream dependency versions

* Block: bumped version to v3.6.3, added CHANGELOG entry, updated upstream dependency versions

* VM: Bumped version to v5.9.3, added CHANGELOG entry, updated upstream dependency versions
  • Loading branch information
holgerd77 authored Jun 23, 2022
1 parent 25db8e5 commit 343d41d
Show file tree
Hide file tree
Showing 14 changed files with 89 additions and 33 deletions.
34 changes: 17 additions & 17 deletions package-lock.json

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

21 changes: 21 additions & 0 deletions packages/block/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,27 @@ 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.6.3 - 2022-06-23

### GrayGlacier HF Support

This release adds support for the [GrayGlacier HF](https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/gray-glacier.md) - see PR [#1984](https://github.com/ethereumjs/ethereumjs-monorepo/pull/1984) - which delays the difficulty bomb to mid September 2022 on mainnet to allow for the Merge HF to take place before the difficulty bomb triggers.

Please note that for backwards-compatibility reasons Common is still instantiated with `istanbul` by default.

A GrayGlacier block can be instantiated with:

```typescript
import { Block } from '@ethereumjs/block'
import Common, { Chain, Hardfork } from '@ethereumjs/common'

const common = new Common({ chain: Chain.Mainnet, hardfork: Hardfork.GrayGlacier })
const block = Block.fromBlockData({
// Provide your block data here or use default values
}, { common })
```

## 3.6.2 - 2022-03-15

### Merge Kiln v2 Testnet Support
Expand Down
4 changes: 2 additions & 2 deletions packages/block/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ethereumjs/block",
"version": "3.6.2",
"version": "3.6.3",
"description": "Provides Block serialization and help functions",
"license": "MPL-2.0",
"author": "mjbecze (mb@ethdev.com)",
Expand Down Expand Up @@ -33,7 +33,7 @@
"test:browser": "karma start karma.conf.js"
},
"dependencies": {
"@ethereumjs/common": "^2.6.4",
"@ethereumjs/common": "^2.6.5",
"merkle-patricia-tree": "^4.2.4",
"@ethereumjs/tx": "^3.5.2",
"ethereumjs-util": "^7.1.5"
Expand Down
4 changes: 2 additions & 2 deletions packages/blockchain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
},
"author": "mjbecze <mjbecze@gmail.com>",
"dependencies": {
"@ethereumjs/block": "^3.6.2",
"@ethereumjs/common": "^2.6.4",
"@ethereumjs/block": "^3.6.3",
"@ethereumjs/common": "^2.6.5",
"@ethereumjs/ethash": "^1.1.0",
"debug": "^4.3.3",
"ethereumjs-util": "^7.1.5",
Expand Down
6 changes: 3 additions & 3 deletions packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@
},
"dependencies": {
"@chainsafe/libp2p-noise": "^4.1.1",
"@ethereumjs/block": "^3.6.2",
"@ethereumjs/block": "^3.6.3",
"@ethereumjs/blockchain": "^5.5.3",
"@ethereumjs/common": "^2.6.4",
"@ethereumjs/common": "^2.6.5",
"@ethereumjs/devp2p": "^4.2.2",
"@ethereumjs/ethash": "^1.1.0",
"@ethereumjs/tx": "^3.5.2",
"@ethereumjs/vm": "^5.9.2",
"@ethereumjs/vm": "^5.9.3",
"body-parser": "^1.19.2",
"chalk": "^4.1.2",
"connect": "^3.7.0",
Expand Down
15 changes: 15 additions & 0 deletions packages/common/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,21 @@ 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.5 - 2022-06-23

### GrayGlacier HF Support

This release adds support for the [GrayGlacier HF](https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/gray-glacier.md) - see PR [#1984](https://github.com/ethereumjs/ethereumjs-monorepo/pull/1984) - which delays the difficulty bomb to mid September 2022 on mainnet to allow for the Merge HF to take place before the difficulty bomb triggers.

Please note that for backwards-compatibility reasons Common is still instantiated with `istanbul` by default.

A GrayGlacier Common can be instantiated with:

```typescript
import Common, { Chain, Hardfork } from '@ethereumjs/common'
const common = new Common({ chain: Chain.Mainnet, hardfork: Hardfork.GrayGlacier })
```

## 2.6.4 - 2022-04-14

### EIP-3651: Warm COINBASE
Expand Down
2 changes: 2 additions & 0 deletions packages/common/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ library supported:
- `muirGlacier` (`Hardfork.MuirGlacier`)
- `berlin` (`Hardfork.Berlin`) (since `v2.2.0`)
- `london` (`Hardfork.London`) (since `v2.4.0`)
- `grayGlacier` (`Hardfork.GrayGlacier`) (since `v2.6.5`)
- `merge` (`Hardfork.Merge`) (since `v2.5.0`, `experimental`)

### Future Hardforks
Expand Down Expand Up @@ -345,6 +346,7 @@ The following EIPs are currently supported:
- [EIP-3860](https://eips.ethereum.org/EIPS/eip-3855): Limit and meter initcode (`experimental`)
- [EIP-4345](https://eips.ethereum.org/EIPS/eip-4345): Difficulty Bomb Delay to June 2022
- [EIP-4399](https://eips.ethereum.org/EIPS/eip-4399): Supplant DIFFICULTY opcode with PREVRANDAO (Merge) (`experimental`)
- [EIP-5133](https://eips.ethereum.org/EIPS/eip-5133): Delaying the difficulty bomb to Mid September 2022

## Bootstrap Nodes

Expand Down
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ethereumjs/common",
"version": "2.6.4",
"version": "2.6.5",
"description": "Resources common to all Ethereum implementations",
"license": "MIT",
"keywords": [
Expand Down
4 changes: 2 additions & 2 deletions packages/devp2p/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"test": "npm run tape -- ./test/index.ts"
},
"dependencies": {
"@ethereumjs/common": "^2.6.4",
"@ethereumjs/common": "^2.6.5",
"@types/bl": "^2.1.0",
"@types/k-bucket": "^5.0.0",
"@types/lru-cache": "^5.1.0",
Expand All @@ -62,7 +62,7 @@
"snappyjs": "^0.6.1"
},
"devDependencies": {
"@ethereumjs/block": "^3.6.2",
"@ethereumjs/block": "^3.6.3",
"@ethereumjs/tx": "^3.5.2",
"@types/chalk": "^2.2.0",
"@types/debug": "^4.1.4",
Expand Down
4 changes: 2 additions & 2 deletions packages/ethash/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@
"docs:build": "typedoc --options typedoc.js"
},
"dependencies": {
"@ethereumjs/block": "^3.6.2",
"@ethereumjs/block": "^3.6.3",
"@types/levelup": "^4.3.0",
"buffer-xor": "^2.0.1",
"ethereumjs-util": "^7.1.5",
"miller-rabin": "^4.0.0"
},
"devDependencies": {
"@ethereumjs/common": "^2.6.4",
"@ethereumjs/common": "^2.6.5",
"@types/tape": "^4.13.2",
"eslint": "^6.8.0",
"level-mem": "^5.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/tx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"examples": "ts-node ../../scripts/examples-runner.ts -- tx"
},
"dependencies": {
"@ethereumjs/common": "^2.6.4",
"@ethereumjs/common": "^2.6.5",
"ethereumjs-util": "^7.1.5"
},
"devDependencies": {
Expand Down
16 changes: 16 additions & 0 deletions packages/vm/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,22 @@ 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.9.3 - 2022-06-23

This release adds support for the [GrayGlacier HF](https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/gray-glacier.md) - see PR [#1984](https://github.com/ethereumjs/ethereumjs-monorepo/pull/1984) - which delays the difficulty bomb to mid September 2022 on mainnet to allow for the Merge HF to take place before the difficulty bomb triggers.

Please note that for backwards-compatibility reasons the associated Common is still instantiated with `istanbul` by default.

A GrayGlacier VM can be instantiated with:

```typescript
import VM from '@ethereumjs/vm'
import Common, { Chain, Hardfork } from '@ethereumjs/common'

const common = new Common({ chain: Chain.Mainnet, hardfork: Hardfork.GrayGlacier })
const vm = new VM({ common })
```

## 5.9.2 - 2022-06-03

- Updated to a new `@ethereumjs/blockchain` library version containing a Clique-related bugfix on signer-validation, PR [#1930](https://github.com/ethereumjs/ethereumjs-monorepo/issues/1930)
Expand Down
2 changes: 2 additions & 0 deletions packages/vm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ Currently the following hardfork rules are supported:
- `berlin` (`v5.2.0`+)
- `london` (`v5.4.0`+)
- `arrowGlacier` (only `mainnet`) (`v5.6.0`+)
- `grayGlacier` (only `mainnet`) (`5.9.3`+)

Default: `istanbul` (taken from `Common.DEFAULT_HARDFORK`)

Expand Down Expand Up @@ -182,6 +183,7 @@ Currently supported EIPs:
- [EIP-3855](https://eips.ethereum.org/EIPS/eip-3855) - PUSH0 instruction (`experimental`)
- [EIP-3860](https://eips.ethereum.org/EIPS/eip-3860) - Limit and meter initcode (`experimental`)
- [EIP-4399](https://eips.ethereum.org/EIPS/eip-4399) - Supplant DIFFICULTY opcode with PREVRANDAO (Merge) (`experimental`)
- [EIP-5133](https://eips.ethereum.org/EIPS/eip-5133) - Delaying Difficulty Bomb to mid-September 2022

## Tracing Events

Expand Down
6 changes: 3 additions & 3 deletions packages/vm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ethereumjs/vm",
"version": "5.9.2",
"version": "5.9.3",
"description": "An Ethereum VM implementation",
"license": "MPL-2.0",
"author": "mjbecze <mjbecze@gmail.com>",
Expand Down Expand Up @@ -47,9 +47,9 @@
"examples": "ts-node ../../scripts/examples-runner.ts -- vm"
},
"dependencies": {
"@ethereumjs/block": "^3.6.2",
"@ethereumjs/block": "^3.6.3",
"@ethereumjs/blockchain": "^5.5.3",
"@ethereumjs/common": "^2.6.4",
"@ethereumjs/common": "^2.6.5",
"@ethereumjs/tx": "^3.5.2",
"merkle-patricia-tree": "^4.2.4",
"async-eventemitter": "^0.2.4",
Expand Down

0 comments on commit 343d41d

Please sign in to comment.