mirror of
https://git.ghostchain.io/proxmio/ghost-node.git
synced 2025-12-27 19:29:56 +00:00
ghost sudo added as a dependency to casper runtime
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
This commit is contained in:
@@ -1105,6 +1105,12 @@ impl ghost_slow_clap::Config for Runtime {
|
||||
type WeightInfo = weights::ghost_slow_clap::WeightInfo<Runtime>;
|
||||
}
|
||||
|
||||
impl ghost_sudo::Config for Runtime {
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
type RuntimeCall = RuntimeCall;
|
||||
type WeightInfo = weights::ghost_sudo::WeightInfo<Runtime>;
|
||||
}
|
||||
|
||||
construct_runtime! {
|
||||
pub enum Runtime
|
||||
{
|
||||
@@ -1132,6 +1138,7 @@ construct_runtime! {
|
||||
Session: pallet_session = 9,
|
||||
Grandpa: pallet_grandpa = 11,
|
||||
AuthorityDiscovery: pallet_authority_discovery = 12,
|
||||
GhostSudo: ghost_sudo = 13,
|
||||
|
||||
// Governance stuff.
|
||||
Treasury: pallet_treasury = 19,
|
||||
@@ -1260,6 +1267,7 @@ mod benches {
|
||||
[ghost_networks, GhostNetworks]
|
||||
[ghost_claims, GhostClaims]
|
||||
[ghost_slow_clap, GhostSlowClaps]
|
||||
[ghost_sudo, GhostSudo]
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1566,6 +1574,7 @@ sp_api::impl_runtime_apis! {
|
||||
(list, storage_info)
|
||||
}
|
||||
|
||||
#[allow(non_local_definitions)]
|
||||
fn dispatch_benchmark(
|
||||
config: frame_benchmarking::BenchmarkConfig,
|
||||
) -> Result<
|
||||
|
||||
Reference in New Issue
Block a user