The block page shows extrinsics but not events #3
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
/quantus/block/1shows one extrinsic and nothing else. The index holdstwenty-eight events for that block and the route returns none of them:
BlockDetailhasbodyand noevents.The asymmetry is visible from the outside. An account page shows a
Wormhole::NativeTransferredat block 1; following the link to block 1 shows nosign of it.
What block 1 actually holds
Two things worth noticing, and neither is visible anywhere on the site today:
1's
Initializationphase — not in block zero, and not as extrinsics.Vesting::LaunchMomentSetfired at block 1, so vesting has been exercisedeven though the calls index shows zero
Vesting::*dispatched. A pallet usedby the runtime rather than by a submitter looks unused from the call side
alone.
Scope
events_at(chain, height), the counterpart to the existingextrinsics_at.BlockDetailgains the block's events.phase is
ApplyExtrinsic(n)nest them under extrinsicn. The block alreadylists its extrinsics; an event's
extrinsic_indexis exactly the join thatturns "what was asked" and "what happened" into one readable block.
InitializationandFinalizationevents belong to the block rather than toany extrinsic and want their own groups.
Note
phaseandextrinsic_indexare already stored — they were kept for preciselythis join and have never been used. Nothing new needs indexing.