Name | Lookup | Parameters | |
|---|---|---|---|
| submit_finality_proof | 8200 | 2 | |
| initialize | 8201 | 1 | |
| set_owner | 8202 | 1 | |
| set_operating_mode | 8203 | 1 | |
| submit_finality_proof_ex | 8204 | 4 | |
| force_set_pallet_state | 8205 | 3 |
Name | Lookup | Attributes | |
|---|---|---|---|
| UpdatedBestFinalizedHeader | 8200 | ["BridgedBlockNumber","BridgedBlockHash","StoredHeaderGrandpaInfo<BridgedHeader>"] |
Name | Type | |
|---|---|---|
| FreeHeadersRemaining | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| InitialHash | {"origin":"PlainType","plain_type":"H256","PlainTypeValue":13} | |
| BestFinalized | {"origin":"PlainType","plain_type":"bp_runtime:HeaderId","PlainTypeValue":768} | |
| ImportedHashes | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["U32"],"value":"H256","keys_id":4,"value_id":13}} | |
| ImportedHashesPointer | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| ImportedHeaders | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"bp_header_chain:StoredHeaderData","keys_id":13,"value_id":769}} | |
| CurrentAuthoritySet | {"origin":"PlainType","plain_type":"pallet_bridge_grandpa:storage_types:StoredAuthoritySet","PlainTypeValue":770} | |
| PalletOwner | {"origin":"PlainType","plain_type":"H160","PlainTypeValue":0} | |
| PalletOperatingMode | {"origin":"PlainType","plain_type":"bp_runtime:BasicOperatingMode","PlainTypeValue":424} |
Name | Type | Value | |
|---|---|---|---|
| MaxFreeHeadersPerBlock | U32 | 04000000 | |
| FreeHeadersInterval | option<U32> | 0105000000 | |
| HeadersToKeep | U32 | 00040000 |
Name | Docs |
|---|---|
| InvalidJustification | The given justification is invalid for the given header. |
| InvalidAuthoritySet | The authority set from the underlying header chain is invalid. |
| OldHeader | The header being imported is older than the best finalized header known to the pallet. |
| UnsupportedScheduledChange | The scheduled authority set change found in the header is unsupported by the pallet.This is the case for non-standard (e.g forced) authority set changes. |
| NotInitialized | The pallet is not yet initialized. |
| AlreadyInitialized | The pallet has already been initialized. |
| TooManyAuthoritiesInSet | Too many authorities in the set. |
| BridgeModule | Error generated by the `OwnedBridgeModule` trait. |
| InvalidAuthoritySetId | The `current_set_id` argument of the `submit_finality_proof_ex` doesn't matchthe id of the current set, known to the pallet. |
| FreeHeadersLimitExceded | The submitter wanted free execution, but we can't fit more free transactionsto the block. |
| BelowFreeHeaderInterval | The submitter wanted free execution, but the difference between best known andbundled header numbers is below the `FreeHeadersInterval`. |
| HeaderOverflowLimits | The header (and its finality) submission overflows hardcoded chain limits: sizeand/or weight are larger than expected. |