Skip to content

Commit

Permalink
change ss58 prefix to 2 (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
clangenb authored Mar 5, 2022
1 parent 988e310 commit ff85f3c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion polkadot-parachains/encointer-runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ parameter_types! {
})
.avg_block_initialization(AVERAGE_ON_INITIALIZE_RATIO)
.build_or_panic();
pub const SS58Prefix: u8 = 42;
pub const SS58Prefix: u8 = 2;
}

pub struct BaseFilter;
Expand Down
2 changes: 1 addition & 1 deletion polkadot-parachains/launch-runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ parameter_types! {
})
.avg_block_initialization(AVERAGE_ON_INITIALIZE_RATIO)
.build_or_panic();
pub const SS58Prefix: u8 = 42;
pub const SS58Prefix: u8 = 2;
}

pub struct BaseFilter;
Expand Down
2 changes: 1 addition & 1 deletion polkadot-parachains/src/chain_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ pub fn sybil_dummy_spec(id: ParaId, relay_chain: RelayChain) -> EncointerChainSp
Some(
serde_json::from_str(
r#"{
"ss58Format": 42,
"ss58Format": 2,
"tokenDecimals": 12,
"tokenSymbol": "DUM"
}"#,
Expand Down
4 changes: 2 additions & 2 deletions polkadot-parachains/src/chain_spec_helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ impl RelayChain {
pub fn rococo_properties() -> Properties {
serde_json::from_str(
r#"{
"ss58Format": 42,
"ss58Format": 2,
"tokenDecimals": 12,
"tokenSymbol": "ROC"
}"#,
Expand All @@ -168,7 +168,7 @@ pub fn kusama_properties() -> Properties {
pub fn westend_properties() -> Properties {
serde_json::from_str(
r#"{
"ss58Format": 42,
"ss58Format": 2,
"tokenDecimals": 12,
"tokenSymbol": "WND"
}"#,
Expand Down

0 comments on commit ff85f3c

Please sign in to comment.