Skip to content

Commit

Permalink
Update karura chain spec (#1128)
Browse files Browse the repository at this point in the history
* fix genesis council accounts

* update karura chain spec

* fix format
  • Loading branch information
xlc committed Jun 24, 2021
1 parent 7f4ded1 commit c9cfc9b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 4 additions & 3 deletions node/service/src/chain_spec/karura.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ use karura_runtime::{
dollar, get_all_module_accounts, Balance, BalancesConfig, BlockNumber, CdpEngineConfig, CdpTreasuryConfig,
CollatorSelectionConfig, DexConfig, FinancialCouncilMembershipConfig, GeneralCouncilMembershipConfig,
HomaCouncilMembershipConfig, NativeTokenExistentialDeposit, OperatorMembershipAcalaConfig, OrmlNFTConfig,
ParachainInfoConfig, SessionConfig, SessionKeys, SudoConfig, SystemConfig, TechnicalCommitteeMembershipConfig,
TokensConfig, VestingConfig, KAR, KSM, KUSD, LKSM,
ParachainInfoConfig, SS58Prefix, SessionConfig, SessionKeys, SudoConfig, SystemConfig,
TechnicalCommitteeMembershipConfig, TokensConfig, VestingConfig, KAR, KSM, KUSD, LKSM,
};
use runtime_common::TokenInfo;

Expand All @@ -55,6 +55,7 @@ fn karura_properties() -> Properties {
});
properties.insert("tokenSymbol".into(), token_symbol.into());
properties.insert("tokenDecimals".into(), token_decimals.into());
properties.insert("ss58Format".into(), SS58Prefix::get().into());

properties
}
Expand Down Expand Up @@ -101,7 +102,7 @@ pub fn latest_karura_config() -> Result<ChainSpec, String> {
// qPnkT89PRdiCbBgvE6a6gLcFCqWC8F1UoCZUhFvjbBkXMXc
hex!["5cac9c2837017a40f90cc15b292acdf1ee28ae03005dff8d13d32fdf7d2e237c"].into(),
// sZCH1stvMnSuDK1EDpdNepMYcpZWoDt3yF3PnUENS21f2tA
hex!["1ab677fa2007fb1e8ac2f5f6d253d5a2bd9c2ed4e5d3c1565c5d84436f81325d"].into(),
hex!["bc517c01c4b663efdfea3dd9ab71bdc3ea607e8a35ba3d1872e5b0942821cd2f"].into(),
// ra6MmAYU2qdCVsMS3REKZ82CJ1EwMWq6H6Zo475xTzedctJ
hex!["90c492f38270b5512370886c392ff6ec7624b14185b4b610b30248a28c94c953"].into(),
// ts9q95ZJmaCMCPKuKTY4g5ZeK65GdFVz6ZDD8LEnYJ3jpbm
Expand Down
1 change: 1 addition & 0 deletions resources/karura-dist.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
],
"protocolId": "karura",
"properties": {
"ss58Format": 8,
"tokenDecimals": [
12,
12,
Expand Down

0 comments on commit c9cfc9b

Please sign in to comment.