@ethereumjs/vm / buildBlock
buildBlock(
vm
,opts
):Promise
<BlockBuilder
>
Defined in: vm/src/buildBlock.ts:450
Build a block on top of the current state by adding one transaction at a time.
Creates a checkpoint on the StateManager and modifies the state as transactions are run. The checkpoint is committed on BlockBuilder.build or discarded with BlockBuilder.revert.
Promise
<BlockBuilder
>
An instance of BlockBuilder with methods: