Expand description
Common primitives for subspace domain runtime.
Modules§
- Opaque types.
Structs§
- A fully Ethereum-compatible
AccountId
. Conforms to H160 address and ECDSA key standards. Alternative to H256->H160 mapping. - An AccountId20 to MultiAccount converter.
- An AccountId32 to MultiAccount converter.
Enums§
- MultiAccountId used by all the domains to describe their account type.
Constants§
- fullu qualified method name of check_extrinsics_and_do_pre_dispatch runtime api. Used to call state machine. Change it when the runtime api’s name is changed in the interface.
- Custom error when balance overflow occurs.
- Custom error when nonce overflow occurs.
- The existential deposit. Same with the one on primary chain.
- Dispatch ratio for domains
- Slot duration that is same as consensus chain runtime.
Traits§
- Extracts the signer from an unchecked extrinsic.
- Extensible conversion trait. Generic over both source and destination types.
Functions§
- Maximum block length for all dispatches. This is set to 3.75 MiB since consensus chain supports on 3.75 MiB for normal
- The maximum domain block weight with 3.25 MiB as proof size Consensus allows 3.75 MiB but Fraud proof can carry extra size along with proof size So we set the proof size to 3.25 MiB
Type Aliases§
- Some way of identifying an account on the chain. We intentionally make it equivalent to the public key of our transaction signing scheme.
- The address format for describing accounts.
- Balance of an account.
- An index to a block.
- The EVM chain Id type
- A hash of some data used by the chain.
- Index of a transaction in the chain.
- Alias to 512-bit hash when used in the context of a transaction signature on the chain.