upgrade to latest polkadot (#278)

* upgrade to latest polkadot

* ss58 in tests

* format

* removed unused import
This commit is contained in:
lumir-mrkva
2021-01-04 00:22:17 +01:00
committed by GitHub
parent 09b27cec90
commit 44dbe6aa9e
8 changed files with 409 additions and 399 deletions
+2
View File
@@ -124,6 +124,7 @@ parameter_types! {
})
.avg_block_initialization(AVERAGE_ON_INITIALIZE_RATIO)
.build_or_panic();
pub const SS58Prefix: u8 = 42;
}
impl frame_system::Config for Runtime {
@@ -160,6 +161,7 @@ impl frame_system::Config for Runtime {
type SystemWeightInfo = ();
type BlockWeights = RuntimeBlockWeights;
type BlockLength = RuntimeBlockLength;
type SS58Prefix = SS58Prefix;
}
parameter_types! {
+1 -1
View File
@@ -22,7 +22,7 @@ use substrate_test_runtime_client::AccountKeyring::*;
#[substrate_test_utils::test]
async fn test_collating_and_non_collator_mode_catching_up(task_executor: TaskExecutor) {
sc_cli::init_logger("", Default::default(), None, false).expect("Sets up logger");
sc_cli::init_logger(Default::default()).expect("Sets up logger");
let para_id = ParaId::from(100);