From 45ca433a80a3330e72ebae4fb63666fa9e1f7914 Mon Sep 17 00:00:00 2001 From: holgerd77 Date: Wed, 6 Feb 2019 13:56:04 +0100 Subject: [PATCH] Bumped version to v3.4.0, added CHANGELOG entry --- CHANGELOG.md | 8 ++++++++ README.md | 3 +++ package.json | 5 ++++- 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6f69f60..e8d893e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,14 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [3.4.0] - 2019-02-06 +**Petersburg** (aka `constantinopleFix`) as well as **Goerli** +support/readiness by updating to a supporting `ethereumjs-common` version +[v1.1.0](https://github.com/ethereumjs/ethereumjs-common/releases/tag/v1.1.0), +PR [#86](https://github.com/ethereumjs/ethereumjs-blockchain/pull/86) + +[3.4.0]: https://github.com/ethereumjs/ethereumjs-blockchain/compare/v3.3.3...v3.4.0 + ## [3.3.3] - 2019-01-03 - Fixed a bug causing the ``iterate()`` method to fail when an older version ``levelup`` DB instance is passed, see PR [#83](https://github.com/ethereumjs/ethereumjs-blockchain/pull/83) diff --git a/README.md b/README.md index cba6944..ce5ff2e 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,9 @@ Implements functions for retrieving, manipulating and storing Ethereum's blockch ### `new Blockchain(opts)` Creates new Blockchain object +- `opts.chain` **([String](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String) \| [Number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number))** The chain for the block [default: 'mainnet'] +- `opts.hardfork` **[String](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** Hardfork for the block [default: null, block number-based behavior] +- `opts.common` **[Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)** Alternatively pass a Common instance (ethereumjs-common) instead of setting chain/hardfork directly - `opts.db` - Database to store blocks and metadata. Should be a [levelup](https://github.com/rvagg/node-levelup) instance. - `opts.validate` - this the flag to validate blocks (e.g. Proof-of-Work), latest HF rules supported: ``Constantinople``. diff --git a/package.json b/package.json index 2e20413..26985ff 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,11 @@ { "name": "ethereumjs-blockchain", - "version": "3.3.3", + "version": "3.4.0", "description": "A module to store and interact with blocks", "main": "index.js", + "files": [ + "*.js" + ], "scripts": { "coverage": "nyc npm run test && nyc report --reporter=text-lcov > .nyc_output/lcov.info", "coveralls": "npm run coverage && coveralls <.nyc_output/lcov.info",