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

[In-Progress] Use generic SS58 prefix. #522

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
30 changes: 15 additions & 15 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 res/amplitude-spec-raw.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"telemetryEndpoints": null,
"protocolId": "amplitude",
"properties": {
"ss58Format": 57,
"ss58Format": 0,
"tokenDecimals": 12,
"tokenSymbol": "AMPE"
},
Expand Down
2 changes: 1 addition & 1 deletion res/amplitude-spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"telemetryEndpoints": null,
"protocolId": "amplitude",
"properties": {
"ss58Format": 57,
"ss58Format": 0,
"tokenDecimals": 12,
"tokenSymbol": "AMPE"
},
Expand Down
2 changes: 1 addition & 1 deletion res/foucoco-paseo-spec-raw.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"telemetryEndpoints": null,
"protocolId": "foucoco-p",
"properties": {
"ss58Format": 57,
"ss58Format": 0,
"tokenDecimals": 12,
"tokenSymbol": "AMPE"
},
Expand Down
2 changes: 1 addition & 1 deletion res/foucoco-spec-raw.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"telemetryEndpoints": null,
"protocolId": "foucoco",
"properties": {
"ss58Format": 57,
"ss58Format": 0,
"tokenDecimals": 12,
"tokenSymbol": "AMPE"
},
Expand Down
2 changes: 1 addition & 1 deletion res/foucoco-spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"telemetryEndpoints": null,
"protocolId": "foucoco",
"properties": {
"ss58Format": 57,
"ss58Format": 0,
"tokenDecimals": 12,
"tokenSymbol": "AMPE"
},
Expand Down
2 changes: 1 addition & 1 deletion res/foucoco-standalone-spec-raw.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"telemetryEndpoints": null,
"protocolId": "foucoco",
"properties": {
"ss58Format": 57,
"ss58Format": 0,
"tokenDecimals": 12,
"tokenSymbol": "AMPE"
},
Expand Down
2 changes: 1 addition & 1 deletion res/foucoco-standalone-spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"telemetryEndpoints": null,
"protocolId": "foucoco",
"properties": {
"ss58Format": 57,
"ss58Format": 0,
"tokenDecimals": 12,
"tokenSymbol": "AMPE"
},
Expand Down
2 changes: 1 addition & 1 deletion res/pendulum-spec-raw.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"telemetryEndpoints": null,
"protocolId": "pendulum",
"properties": {
"ss58Format": 56,
"ss58Format": 0,
"tokenDecimals": 12,
"tokenSymbol": "PEN"
},
Expand Down
2 changes: 1 addition & 1 deletion res/pendulum-spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"telemetryEndpoints": null,
"protocolId": "pendulum",
"properties": {
"ss58Format": 56,
"ss58Format": 0,
"tokenDecimals": 12,
"tokenSymbol": "PEN"
},
Expand Down
4 changes: 2 additions & 2 deletions runtime/amplitude/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ parameter_types! {
})
.avg_block_initialization(AVERAGE_ON_INITIALIZE_RATIO)
.build_or_panic();
pub const SS58Prefix: u16 = 57;
pub const SS58Prefix: u16 = 0;
}

pub struct BaseFilter;
Expand Down Expand Up @@ -406,7 +406,7 @@ impl frame_system::Config for Runtime {
type BlockWeights = RuntimeBlockWeights;
/// The maximum length of a block (in bytes).
type BlockLength = RuntimeBlockLength;
/// This is used as an identifier of the chain. 57 is the prefix for Amplitude
/// Previous chain identifier prefix for address format: 57. We now use the generic prefix `0`.
type SS58Prefix = SS58Prefix;
/// The action to take on a Runtime Upgrade
type OnSetCode = cumulus_pallet_parachain_system::ParachainSetCode<Self>;
Expand Down
4 changes: 2 additions & 2 deletions runtime/foucoco/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ parameter_types! {
})
.avg_block_initialization(AVERAGE_ON_INITIALIZE_RATIO)
.build_or_panic();
pub const SS58Prefix: u16 = 57;
pub const SS58Prefix: u16 = 0;
}

pub struct BaseFilter;
Expand Down Expand Up @@ -408,7 +408,7 @@ impl frame_system::Config for Runtime {
type BlockWeights = RuntimeBlockWeights;
/// The maximum length of a block (in bytes).
type BlockLength = RuntimeBlockLength;
/// This is used as an identifier of the chain. 57 is the prefix for Foucoco
/// Previous chain identifier prefix for address format: 57. We now use the generic prefix `0`.
type SS58Prefix = SS58Prefix;
/// The action to take on a Runtime Upgrade
type OnSetCode = cumulus_pallet_parachain_system::ParachainSetCode<Self>;
Expand Down
4 changes: 2 additions & 2 deletions runtime/pendulum/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ parameter_types! {
})
.avg_block_initialization(AVERAGE_ON_INITIALIZE_RATIO)
.build_or_panic();
pub const SS58Prefix: u16 = 56;
pub const SS58Prefix: u16 = 0;
}

pub struct BaseFilter;
Expand Down Expand Up @@ -408,7 +408,7 @@ impl frame_system::Config for Runtime {
type BlockWeights = RuntimeBlockWeights;
/// The maximum length of a block (in bytes).
type BlockLength = RuntimeBlockLength;
/// This is used as an identifier of the chain. 56 is the prefix for Pendulum
/// Previous chain identifier prefix for address format: 56. We now use the generic prefix `0`.
type SS58Prefix = SS58Prefix;
/// The action to take on a Runtime Upgrade
type OnSetCode = cumulus_pallet_parachain_system::ParachainSetCode<Self>;
Expand Down
Loading