Skip to content

@acala-network/chopsticks-coreDocs


@acala-network/chopsticks-core / BuildBlockCallbacks

Type Alias: BuildBlockCallbacks

BuildBlockCallbacks: object

Type declaration

onApplyExtrinsicError()?

optional onApplyExtrinsicError: (extrinsic, error) => void

Parameters

extrinsic: HexString

error: TransactionValidityError

Returns

void

onPhaseApplied()?

optional onPhaseApplied: (phase, resp) => void

Parameters

phase: "initialize" | "finalize" | number

resp: TaskCallResponse

Returns

void

Defined in

packages/core/src/blockchain/block-builder.ts:208