Skip to content
This repository was archived by the owner on Apr 6, 2020. It is now read-only.

Commit 16aba3e

Browse files
authored
Merge pull request #48 from ethereumjs/new-release-v200
New release v2.0.0
2 parents 6eed134 + c415b35 commit 16aba3e

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,26 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
[Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

88

9+
## [2.0.0] - 2018-06-25
10+
This release introduces both support for different ``chains`` (``mainnet``, ``ropsten``, ...)
11+
and ``hardforks`` up to the latest applied HF (``byzantium``). Parameters and genesis values
12+
are provided by the new [ethereumjs-common](https://github.com/ethereumjs/ethereumjs-common)
13+
library which also defines the set of supported chains and forks.
14+
15+
Changes in detail:
16+
- New initialization parameters ``opts.chain`` (default: ``mainnet``) and ``opts.hardfork``
17+
(default: ``null``, block number-based behaviour), PR [#44](https://github.com/ethereumjs/ethereumjs-block/pull/44)
18+
- Alternatively a ``Common`` class object can be provided directly with the ``opts.common`` parameter,
19+
see [API](https://github.com/ethereumjs/ethereumjs-block/blob/master/docs/index.md) docs
20+
- Correct block validation for all know hardforks, PR
21+
[#47](https://github.com/ethereumjs/ethereumjs-block/pull/47), if no hardfork is set validation logic
22+
is determined by block number in combination with the ``chain`` set
23+
- Genesis block initialization depending on the ``chain`` set (see ``ethereumjs-common`` for supported chains)
24+
- Extensive test additions to cover the newly introduced capabilities and changes
25+
- Fix default value for ``nonce`` (empty buffer -> ``<Buffer 00 00 00 00 00 00 00 00>``), PR [#42](https://github.com/ethereumjs/ethereumjs-block/pull/42)
26+
27+
[2.0.0]: https://github.com/ethereumjs/ethereumjs-vm/compare/v1.7.1...v2.0.0
28+
929
## [1.7.1] - 2018-02-15
1030
- Fix ``browserify`` issue blocking updates for packages depending on ``ethereumjs-block``
1131
library, PR [#40](https://github.com/ethereumjs/ethereumjs-block/pull/40)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ethereumjs-block",
3-
"version": "1.7.1",
3+
"version": "2.0.0",
44
"description": "Provides Block serialization and help functions",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)