@ethereumjs/block v3.0.0-beta.2
Pre-release
Pre-release
holgerd77
released this
12 Nov 08:42
·
4942 commits
to master
since this release
ATTENTION: This is a pre-release and only meant to be used for testing purposes.
Do not use in production!
Feedback is extremely welcome, please use the beta
Releases feedback issue #923 or our Discord channel.
This is the second beta release towards a final library release, see beta.1 release notes for an overview on the full changes since the last publicly released version.
- Added
freeze
option to allow for block freeze deactivation (e.g. to allow for subclassing block and adding additional parameters), see PR #941 - Breaking: Difficulty-depending methods
canonicalDifficulty()
andvalidateDifficulty()
in block and header now throw on non-PoW chains, see PR #937 - Breaking: Non-blockchain dependent validation checks have been extracted from
validate()
to its ownBlock.validateData()
function. For thevalidate()
method in block and headerblockchain
is now a mandatory parameter, see PR #942 - Fixed bug where block options have not been passed on to the main constructor from the static factory methods, see PR #941