ethereumjs-monorepo

@ethereumjs/vm


@ethereumjs/vm / AfterBlockEvent

Interface: AfterBlockEvent

Defined in: vm/src/types.ts:406

Emitted by VM after a block finishes processing via runBlock.

Extends

Properties

block

block: Block

Defined in: vm/src/types.ts:408

The block which just finished processing


blockLevelAccessList?

optional blockLevelAccessList?: BlockLevelAccessList

Defined in: vm/src/types.ts:402

The block level access list created during execution when EIP-7928 is active. Populated by runBlock; use with generate: true for builder flows or pass via RunBlockOpts.blockAccessList for validation.

Remarks

Experimental (Amsterdam): may change on patch releases. See @ethereumjs/vm README section Amsterdam hardfork (experimental) for release ↔ spec tracking.

Inherited from

RunBlockResult.blockLevelAccessList


gasUsed

gasUsed: bigint

Defined in: vm/src/types.ts:354

The gas used after executing the block

Inherited from

ApplyBlockResult.gasUsed


logsBloom

logsBloom: Uint8Array

Defined in: vm/src/types.ts:384

The bloom filter of the LOGs (events) after executing the block

Inherited from

RunBlockResult.logsBloom


preimages?

optional preimages?: Map<`0x${string}`, Uint8Array<ArrayBufferLike>>

Defined in: vm/src/types.ts:370

Preimages mapping of the touched accounts from the block (see reportPreimages option)

Inherited from

ApplyBlockResult.preimages


receipts

receipts: TxReceipt[]

Defined in: vm/src/types.ts:362

Receipts generated for transactions in the block

Inherited from

ApplyBlockResult.receipts


receiptsRoot

receiptsRoot: Uint8Array

Defined in: vm/src/types.ts:358

The receipt root after executing the block

Inherited from

ApplyBlockResult.receiptsRoot


requests?

optional requests?: CLRequest<CLRequestType>[]

Defined in: vm/src/types.ts:393

Any CL requests that were processed in the course of this block

Inherited from

RunBlockResult.requests


requestsHash?

optional requestsHash?: Uint8Array<ArrayBufferLike>

Defined in: vm/src/types.ts:389

The requestsHash for any CL requests in the block

Inherited from

RunBlockResult.requestsHash


results

results: RunTxResult[]

Defined in: vm/src/types.ts:366

Results of executing the transactions in the block

Inherited from

ApplyBlockResult.results


stateRoot

stateRoot: Uint8Array

Defined in: vm/src/types.ts:380

The stateRoot after executing the block

Inherited from

RunBlockResult.stateRoot