From f778d6c76c93ae41d3d108bc226c485d91d875f6 Mon Sep 17 00:00:00 2001 From: holgerd77 Date: Wed, 18 Dec 2019 23:21:52 +0100 Subject: [PATCH 1/3] Updated ethereumjs-block to v2.2.1, ethereumjs-common to v1.5.0 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 75f8690..1bb2b8d 100644 --- a/package.json +++ b/package.json @@ -44,8 +44,8 @@ "dependencies": { "async": "^2.6.1", "ethashjs": "~0.0.7", - "ethereumjs-block": "~2.2.1", - "ethereumjs-common": "^1.1.0", + "ethereumjs-block": "~2.2.2", + "ethereumjs-common": "^1.5.0", "ethereumjs-util": "~6.1.0", "flow-stoplight": "^1.0.0", "level-mem": "^3.0.1", From 02fa86a39176d73a9b0e07e87386ededa269f9c8 Mon Sep 17 00:00:00 2001 From: holgerd77 Date: Wed, 18 Dec 2019 23:23:57 +0100 Subject: [PATCH 2/3] Adopted mismatched chains test to both run on (different) PoW chains --- test/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/index.ts b/test/index.ts index c9c8bd3..9bc4af8 100644 --- a/test/index.ts +++ b/test/index.ts @@ -871,11 +871,11 @@ test('blockchain test', t => { }) t.test('mismatched chains', st => { - const common = new Common('rinkeby') + const common = new Common('mainnet') const blockchain = new Blockchain({ common: common, validateBlocks: true, validatePow: false }) const blocks = [ new Block(null, { common: common }), - new Block(null, { chain: 'rinkeby' }), + new Block(null, { chain: 'mainnet' }), new Block(null, { chain: 'ropsten' }), ] From 57a3d1585504525488ef0e97adaaf4c3ce06e901 Mon Sep 17 00:00:00 2001 From: holgerd77 Date: Wed, 18 Dec 2019 23:29:45 +0100 Subject: [PATCH 3/3] Bumped version to v4.0.3, added CHANGELOG entry --- CHANGELOG.md | 14 ++++++++++++++ package.json | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b01f7e3..80c6532 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,20 @@ 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.0.3] - 2019-12-19 + +Supports `MuirGlacier` by updating `ethereumjs-block` to +[v2.2.2](https://github.com/ethereumjs/ethereumjs-block/releases/tag/v2.2.2) +and `ethereumjs-common` to +[v1.5.0](https://github.com/ethereumjs/ethereumjs-common/releases/tag/v1.5.0). + +This release comes also with a completely refactored test suite, see +PR [#134](https://github.com/ethereumjs/ethereumjs-blockchain/pull/134). +Tests are now less coupled and it gets easier to modify tests or extend +the test suite. + +[4.0.3]: https://github.com/ethereumjs/ethereumjs-blockchain/compare/v4.0.2...v4.0.3 + ## [4.0.2] - 2019-11-15 Supports Istanbul by updating `ethereumjs-block` to diff --git a/package.json b/package.json index 1bb2b8d..d3d2961 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ethereumjs-blockchain", - "version": "4.0.2", + "version": "4.0.3", "description": "A module to store and interact with blocks", "main": "dist/index.js", "types": "dist/index.d.ts",