diff --git a/Cargo.lock b/Cargo.lock index 4d76278429..dbc802ab89 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1003,7 +1003,6 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std 4.0.0-dev (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.9)", - "substrate-fixed", ] [[package]] @@ -5108,7 +5107,7 @@ dependencies = [ [[package]] name = "node-cli" -version = "0.9.0" +version = "0.9.1" dependencies = [ "cumulus-client-cli", "cumulus-client-service", @@ -10959,15 +10958,6 @@ dependencies = [ "platforms", ] -[[package]] -name = "substrate-fixed" -version = "0.5.6" -source = "git+https://github.com/encointer/substrate-fixed#b33d186888c60f38adafcfc0ec3a21aab263aef1" -dependencies = [ - "parity-scale-codec", - "typenum", -] - [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" diff --git a/node/cli/Cargo.toml b/node/cli/Cargo.toml index 686b965d3b..f934b7df39 100644 --- a/node/cli/Cargo.toml +++ b/node/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "node-cli" -version = "0.9.0" +version = "0.9.1" authors = ["Liebi Technologies "] description = "Bifrost Parachain Node" build = "build.rs" diff --git a/node/primitives/src/currency.rs b/node/primitives/src/currency.rs index 64b97cddbe..851c8d777f 100644 --- a/node/primitives/src/currency.rs +++ b/node/primitives/src/currency.rs @@ -266,6 +266,7 @@ create_currency_id! { KSM("Kusama", 12) = 4, ETH("Ethereum", 18) = 5, KAR("Karura", 12) = 6, + ZLK("Zenlink Network Token", 18) = 7, } } diff --git a/runtime/bifrost/src/lib.rs b/runtime/bifrost/src/lib.rs index 39468c47a5..1c7bd11241 100644 --- a/runtime/bifrost/src/lib.rs +++ b/runtime/bifrost/src/lib.rs @@ -127,7 +127,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("bifrost"), impl_name: create_runtime_str!("bifrost"), authoring_version: 1, - spec_version: 900, + spec_version: 901, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, @@ -844,6 +844,7 @@ orml_traits::parameter_type_with_key! { &CurrencyId::Stable(TokenSymbol::KUSD) => 10 * MILLICENTS, &CurrencyId::Token(TokenSymbol::KSM) => 10 * MILLICENTS, &CurrencyId::Token(TokenSymbol::KAR) => 10 * MILLICENTS, + &CurrencyId::Token(TokenSymbol::ZLK) => 1_000_000_000_000, // ZLK has a decimals of 10e18 &CurrencyId::VSToken(TokenSymbol::KSM) => 10 * MILLICENTS, &CurrencyId::VSBond(TokenSymbol::BNC, ..) => 10 * MILLICENTS, &CurrencyId::VSBond(TokenSymbol::KSM, ..) => 10 * MILLICENTS,