Expand description
Offchain storage for MSA pallet
Structs§
- Finalized
Block Response - Response type of rpc to get finalized block
Enums§
- Indexed
Event - Offchain indexed compatible Event type
- MsaOffchain
Replay Event - The Offchain replay type for Msa Pallet that can allow replay of different events
- Offchain
Replay Event - The overarching Offchain replay type that can allow replay of different events across different pallets
Constants§
- HTTP_
REQUEST_ DEADLINE_ MS - HTTP request deadline in milliseconds
- LAST_
PROCESSED_ BLOCK_ STORAGE_ NAME - lst processed block storage name
- MSA_
INITIAL_ INDEXED_ STORAGE_ NAME - storage name for initial data import storage
- RPC_
FINALIZED_ BLOCK_ REQUEST_ BODY - request body for getting last finalized block from rpc
- RPC_
FINALIZED_ BLOCK_ REQUEST_ URL - LOCAL RPC URL and port warning: this should be updated if rpc port is set to anything different from 9944
Functions§
- do_
offchain_ worker - offchain worker main execution function
- get_
bucket_ number - converts an event to a number between [1,
MAX_FORK_AWARE_BUCKET
] - offchain_
index_ event - stores the event into offchain DB using offchain indexing
Type Aliases§
- Message
Source Id - Message Source Id or msaId is the unique identifier for Message Source Accounts