Skip to content

Commit b961dd1

Browse files
al3martDaanvdplas
andcommitted
refactor(mainnet): system config (#442)
* refactor(mainnet): add frame_system to system * test(mainnet): add pallet_system test * fix(mainnet): rebase fixes * fix(system): bring missing types in scope * refactor(system): add cumulus_parachain_system to system config module * test(system): add cumulus_parachain_system tests * refactor(system): add parachain_info into system config module * refactor(system): add pallet_timestamp into system config module * style(system): add ConsensusHook comment * refactor(system): separate tests by module * docs(system): document public config modules * fix(system): allow unused_imports to remove Executive warning * refactor(system): reintroduce FilteredCalls * style(system): get rid of test prefixes * style(system): relocate max_block_weigth comment * test(system): check for Hash type config * docs(system): amend outdated comments * Update runtime/mainnet/src/config/mod.rs Co-authored-by: Daan van der Plas <93204684+Daanvdplas@users.noreply.github.com> * Update runtime/mainnet/src/config/mod.rs Co-authored-by: Daan van der Plas <93204684+Daanvdplas@users.noreply.github.com> * Update runtime/mainnet/src/config/mod.rs Co-authored-by: Daan van der Plas <93204684+Daanvdplas@users.noreply.github.com> * Update runtime/mainnet/src/config/mod.rs Co-authored-by: Daan van der Plas <93204684+Daanvdplas@users.noreply.github.com> --------- Co-authored-by: Daan van der Plas <93204684+Daanvdplas@users.noreply.github.com>
1 parent 68b155f commit b961dd1

4 files changed

Lines changed: 632 additions & 133 deletions

File tree

node/src/command.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ pub fn run() -> Result<()> {
417417
#[cfg(not(feature = "ismp"))]
418418
{
419419
sp_core::crypto::set_default_ss58_version(
420-
pop_runtime_mainnet::SS58Prefix::get().into(),
420+
pop_runtime_mainnet::config::system::SS58Prefix::get().into(),
421421
);
422422
crate::service::start_parachain_node::<pop_runtime_mainnet::RuntimeApi>(
423423
config,

runtime/mainnet/src/config/mod.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1+
/// Governance.
12
pub mod governance;
2-
mod proxy;
3+
/// Proxy.
4+
pub(crate) mod proxy;
5+
/// System functionality.
6+
pub mod system;
37
mod utility;
48
mod revive;
9+
/// XCM.
510
pub mod xcm;

0 commit comments

Comments
 (0)