-
Notifications
You must be signed in to change notification settings - Fork 14
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
base: main
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -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; | ||||||
|
@@ -313,7 +313,7 @@ impl Contains<RuntimeCall> for BaseFilter { | |||||
RuntimeCall::Bounties(_) | | ||||||
RuntimeCall::ChildBounties(_) | | ||||||
RuntimeCall::ClientsInfo(_) | | ||||||
RuntimeCall::Treasury(_) | | ||||||
RuntimeCall::TreaSS58Prefixsury(_) | | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This change doesn't seem intended to me 😅 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, not ready yet. Just the first commit and PR to keep track of it :) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah I'm sorry, I assumed it's ready already 😬 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's fine! Actually, it may be. But we also need to perform changes on UI of portal and vortex, tests scripts, etc. |
||||||
RuntimeCall::Tokens(_) | | ||||||
RuntimeCall::Currencies(_) | | ||||||
RuntimeCall::ParachainStaking(_) | | ||||||
|
@@ -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. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
type SS58Prefix = SS58Prefix; | ||||||
/// The action to take on a Runtime Upgrade | ||||||
type OnSetCode = cumulus_pallet_parachain_system::ParachainSetCode<Self>; | ||||||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -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; | ||||||
|
@@ -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: 57. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It was 56 for Pendulum so we need to adjust the comment.
Suggested change
|
||||||
type SS58Prefix = SS58Prefix; | ||||||
/// The action to take on a Runtime Upgrade | ||||||
type OnSetCode = cumulus_pallet_parachain_system::ParachainSetCode<Self>; | ||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.