mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 08:51:09 +00:00
upgrade to latest polkadot (#278)
* upgrade to latest polkadot * ss58 in tests * format * removed unused import
This commit is contained in:
@@ -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! {
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user