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

Releases: ethereumjs/ethereumjs-blockchain

v4.0.3 - MuirGlacier Support

19 Dec 09:24
e0a66d7
Compare
Choose a tag to compare

Supports MuirGlacier by updating ethereumjs-block to v2.2.2 and ethereumjs-common to v1.5.0.

This release comes also with a completely refactored test suite, see PR #134. Tests are now less coupled and it gets easier to modify tests or extend the test suite.

v4.0.2 - Istanbul Support

17 Nov 09:31
0cf409e
Compare
Choose a tag to compare

Supports Istanbul by updating ethereumjs-block to v2.2.1 which in turn uses ethereumjs-tx v2.1.1 which implements EIP-2028 (calldata fee reduction), PR #130.

From this release the validate flag is deprecated and users are encouraged to use the more granular flags validatePow and validateBlocks. For more on this please see #121.

For Typescript users this release also comes with a BlockchainInterface interface which the Blockchain class implements, PR #124.

v4.0.1 - Bugfix Release

01 Jul 09:48
35fefe6
Compare
Choose a tag to compare
  • Fixes a browser-compatibility issue caused by the library using util.callbackify, PR #117

v4.0.0 - TypeScript Release

26 Apr 10:04
d6235a7
Compare
Choose a tag to compare

First TypeScript based release of the library. TypeScript handles ES6 transpilation a bit differently (at the end: cleaner) than babel so require syntax of the library slightly changes to:

let Blockchain = require('ethereumjs-blockchain').default

The library now also comes with a type declaration file distributed along with the package published.

This release drops support for Node versions 4 and 6 due to internal code updates requiring newer Node.js versions and removes the previously deprecated DB constructor options opts.blockDb and opts.detailsDb.

Change Summary:

  • Migration of code base and internal toolchain to TypeScript, PR #92
  • Refactoring of DB operations introducing a separate DBManager class (comes along with dropped Node 6 support), PR #91
  • Auto-generated TSDoc documentation, PR #98
  • Replaced safe-buffer with native Node.js Buffer usage (this comes along with dropped support for Node 4), PR #92
  • Dropped deprecated DB options, PR #100

v3.4.0 - Petersburg/Goerli Support

06 Feb 13:09
f662f92
Compare
Choose a tag to compare

Petersburg (aka constantinopleFix) as well as Goerli
support/readiness by updating to a supporting ethereumjs-common version
v1.1.0,
PR #86

v3.3.3 - Bugfix Release

04 Jan 07:48
3c458de
Compare
Choose a tag to compare
  • Fixed a bug causing the iterate() method to fail when an older version
    levelup DB instance is passed, see PR #83

v3.3.2 - Bugfix Release

22 Dec 00:53
6095dc9
Compare
Choose a tag to compare
  • Updated levelup dependency to level-mem v3.0.1, PR #75
  • Fix putBlock() edge case, PR #79
  • Replaced uses of deprecated new Buffer with Buffer.from, PR #80

v3.3.1 - Bugfix Release

26 Oct 16:32
a0581ef
Compare
Choose a tag to compare
  • Replaced calls to BN.toBuffer() with BN.toArrayLike() so that ethereumjs-blockchain can run in a browser environment, PR #73

v3.3.0 - Feature Release: Constantinople Support

19 Oct 12:24
d64c302
Compare
Choose a tag to compare
  • Constantinople support when using block validation (set with opts.validate in constructor),
    update to a Constantinople-ready version of the ethereumjs-block dependency (>2.1.0), PR #71

v3.2.1 - Bugfix Release

29 Aug 10:50
20b19a0
Compare
Choose a tag to compare
  • Fixed an issue with the iterator() function returning an error on end of block iteration instead of finish gracefully, PR #64
  • Updated ethereumjs-common dependency to v0.5.0 (custom chain support), PR #63