@ethereumjs/vm v5.3.1
holgerd77
released this
10 Apr 07:54
·
2455 commits
to master
since this release
Features
- Added
receipt
toRunTxResult
, moved the tx receipt generation logic fromVM.runBlock()
toVM.runTx()
(generateTxReceipt()
and receipt exports inrunBlock
are now marked as deprecated), PR #1185
Bug Fixes
- Fixed BlockBuilder (see
v5.3.0
release) to allow building a block with zero txs, PR #1185 - BlockBuilder: Moves the
stateManager.commit
to after putting the block in blockchain in case it throws on validating, PR #1185
Testing
- Added test cases for legacy and access list transactions to
VM.runBlock()
tests, PR #1185 - Added type safety test (thanks to @alcuadrado from Hardhat for this code magic piece ❤️), PR #1185