Skip to content

assignBlockRewards

assignBlockRewards(vm): (block) => Promise<void>

Calculates block rewards for miner and ommers and puts the updated balances of their accounts to state.

Parameters

vm: BaseVm

Returns

Function

Parameters

block: Block

Returns

Promise<void>

Defined in

packages/vm/src/actions/assignBlockRewards.ts:12