Expand description
Dummy runtime with pallet revive and all necessary pallets for running tests with forge.
THIS IS WORK IN PROGRESS. It is not yet complete and may change in the future.
Modulesยง
Structsยง
- Block
Author - ChainId
- Code
Hash Lockup Deposit Percent - Deposit
PerByte - Deposit
PerItem - EthExtra
Impl - Default extensions applied to Ethereum transactions.
- FeeMultiplier
- GasScale
- Native
ToEth Ratio - Pallet
Info - Provides an implementation of
PalletInfoto provide information about the pallet setup in the runtime. - Runtime
- Runtime
Block Weights - Runtime
Genesis Config - Runtime
Origin - The runtime origin type representing the origin of a call.
- Transaction
Byte Fee - Unstable
Interface
Enumsยง
- Origin
Caller - Runtime
Call - The aggregated runtime call type.
- Runtime
Error - Runtime
Event - Runtime
Freeze Reason - A reason for placing a freeze on funds.
- Runtime
Hold Reason - A reason for placing a hold on funds.
- Runtime
Lock Id - An identifier for each lock placed on funds.
- Runtime
Slash Reason - A reason for slashing funds.
- Runtime
Task - An aggregation of all
Taskenums across all pallets included in the current runtime. - Runtime
View Function - Runtime query type.
Constantsยง
- AVERAGE_
ON_ ๐INITIALIZE_ RATIO - We assume that ~10% of the block weight is consumed by
on_initializehandlers. This is used to limit the maximal weight of a single extrinsic. - MAXIMUM_
BLOCK_ ๐WEIGHT - We allow for 2 seconds of compute with a 6 second average block time, with maximum proof size.
- NORMAL_
DISPATCH_ ๐RATIO - We allow
Normalextrinsics to fill up the block up to 75%, the rest can be used by Operational extrinsics.
Traitsยง
- Inherent
Data ๐Ext
Type Aliasesยง
- Address
- AllPallets
With System - All pallets included in the runtime as a nested tuple of types.
- AllPallets
Without System - All pallets included in the runtime as a nested tuple of types. Excludes the System pallet.
- Balance
- Balances
- Balances
Config - Block
- Contracts
- Contracts
Config - Signature
- Alias to 512-bit hash when used in the context of a transaction signature on the chain.
- System
- System
Config - Timestamp
- Transaction
Payment - Provides the ability to charge for extrinsic execution.
- Transaction
Payment Config - TxExtension ๐
- The transaction extensions that are added to the runtime.
- Unchecked
Extrinsic