Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SS58 update crate and prefix #3103

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/subspace-farmer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ schnorrkel = "0.11.4"
serde = { version = "1.0.110", features = ["derive"] }
serde_json = "1.0.128"
static_assertions = "1.1.0"
ss58-registry = "1.50.0"
ss58-registry = "1.51.0"
subspace-erasure-coding = { version = "0.1.0", path = "../subspace-erasure-coding" }
subspace-farmer-components = { version = "0.1.0", path = "../subspace-farmer-components" }
subspace-core-primitives = { version = "0.1.0", path = "../subspace-core-primitives" }
Expand Down
2 changes: 1 addition & 1 deletion crates/subspace-node/src/chain_spec_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub(crate) fn chain_spec_properties() -> Properties {
<SS58Prefix as Get<u16>>::get().into(),
);
properties.insert("tokenDecimals".to_string(), DECIMAL_PLACES.into());
properties.insert("tokenSymbol".to_string(), "tSSC".into());
properties.insert("tokenSymbol".to_string(), "AI3".into());
properties.insert(
"domainsBootstrapNodes".to_string(),
serde_json::to_value(HashMap::<DomainId, Vec<MultiaddrWithPeerId>>::new())
Expand Down
2 changes: 1 addition & 1 deletion crates/subspace-runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ parameter_types! {
pub SubspaceBlockLength: BlockLength = maximum_normal_block_length();
}

pub type SS58Prefix = ConstU16<2254>;
pub type SS58Prefix = ConstU16<6094>;

// Configure FRAME pallets to include in runtime.

Expand Down
2 changes: 1 addition & 1 deletion domains/runtime/auto-id/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ impl frame_system::Config for Runtime {
type BlockWeights = RuntimeBlockWeights;
/// The maximum length of a block (in bytes).
type BlockLength = RuntimeBlockLength;
type SS58Prefix = ConstU16<2254>;
type SS58Prefix = ConstU16<6094>;
/// The action to take on a Runtime Upgrade
type OnSetCode = ();
type SingleBlockMigrations = ();
Expand Down
2 changes: 1 addition & 1 deletion domains/runtime/evm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ impl frame_system::Config for Runtime {
type BlockWeights = RuntimeBlockWeights;
/// The maximum length of a block (in bytes).
type BlockLength = RuntimeBlockLength;
type SS58Prefix = ConstU16<2254>;
type SS58Prefix = ConstU16<6094>;
/// The action to take on a Runtime Upgrade
type OnSetCode = ();
type SingleBlockMigrations = ();
Expand Down
2 changes: 1 addition & 1 deletion domains/test/runtime/auto-id/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ impl frame_system::Config for Runtime {
type BlockWeights = RuntimeBlockWeights;
/// The maximum length of a block (in bytes).
type BlockLength = RuntimeBlockLength;
type SS58Prefix = ConstU16<2254>;
type SS58Prefix = ConstU16<6094>;
/// The action to take on a Runtime Upgrade
type OnSetCode = ();
type SingleBlockMigrations = ();
Expand Down
2 changes: 1 addition & 1 deletion domains/test/runtime/evm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ impl frame_system::Config for Runtime {
type BlockWeights = RuntimeBlockWeights;
/// The maximum length of a block (in bytes).
type BlockLength = RuntimeBlockLength;
type SS58Prefix = ConstU16<2254>;
type SS58Prefix = ConstU16<6094>;
/// The action to take on a Runtime Upgrade
type OnSetCode = ();
type SingleBlockMigrations = ();
Expand Down
2 changes: 1 addition & 1 deletion test/subspace-test-runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ parameter_types! {
pub SubspaceBlockLength: BlockLength = BlockLength::max_with_normal_ratio(MAX_BLOCK_LENGTH, NORMAL_DISPATCH_RATIO);
}

pub type SS58Prefix = ConstU16<2254>;
pub type SS58Prefix = ConstU16<6094>;

// Configure FRAME pallets to include in runtime.

Expand Down
Loading