Skip to content

Commit

Permalink
fix(metadata-hash): use original token symbol (DEV) in moonbase runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
RomarQ committed Oct 16, 2024
1 parent 24e7817 commit 00d6075
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions node/service/src/chain_spec/moonbase.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ pub fn development_chain_spec(mnemonic: Option<String>, num_accounts: Option<u32
.with_chain_type(ChainType::Development)
.with_properties(
serde_json::from_str(
"{\"tokenDecimals\": 18, \"tokenSymbol\": \"UNIT\", \"SS58Prefix\": 1287}",
"{\"tokenDecimals\": 18, \"tokenSymbol\": \"DEV\", \"SS58Prefix\": 1287}",
)
.expect("Provided valid json map"),
)
Expand Down Expand Up @@ -118,7 +118,7 @@ pub fn get_chain_spec(para_id: ParaId) -> ChainSpec {
.with_chain_type(ChainType::Local)
.with_properties(
serde_json::from_str(
"{\"tokenDecimals\": 18, \"tokenSymbol\": \"UNIT\", \"SS58Prefix\": 1287}",
"{\"tokenDecimals\": 18, \"tokenSymbol\": \"DEV\", \"SS58Prefix\": 1287}",
)
.expect("Provided valid json map"),
)
Expand Down
2 changes: 1 addition & 1 deletion runtime/moonbase/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ fn main() {
.with_current_project()
.export_heap_base()
.import_memory()
.enable_metadata_hash("UNIT", 18)
.enable_metadata_hash("DEV", 18)
.build()
}

0 comments on commit 00d6075

Please sign in to comment.