Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Commit

Permalink
fix: use kusama constants as before
Browse files Browse the repository at this point in the history
  • Loading branch information
José Molina committed Dec 7, 2023
1 parent 883bc05 commit 88a0b6a
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 11 deletions.
2 changes: 0 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ polkadot-service = "4.0.0"
polkadot-runtime-parachains = { version = "4.0.0", default-features = false }

# Polkadot Dependencies
rococo-runtime-constants = { version = "4.0.0", default-features = false }
pallet-xcm = { version = "4.0.0", default-features = false }
polkadot-core-primitives = { version = "4.0.0", default-features = false }
polkadot-parachain-primitives = { version = "3.0.0", default-features = false }
Expand Down
2 changes: 0 additions & 2 deletions runtime/stout/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ parachain-info = { workspace = true }
cumulus-pallet-session-benchmarking = { workspace = true }

# Polkadot Dependencies
rococo-runtime-constants = { workspace = true }
pallet-xcm = { workspace = true }
polkadot-core-primitives = { workspace = true }
polkadot-parachain-primitives = { workspace = true }
Expand Down Expand Up @@ -142,7 +141,6 @@ std = [
"pallet-uniques/std",
"pallet-utility/std",
"pallet-xcm/std",
"rococo-runtime-constants/std",
"cumulus-pallet-aura-ext/std",
"cumulus-pallet-parachain-system/std",
"cumulus-pallet-xcm/std",
Expand Down
2 changes: 1 addition & 1 deletion runtime/stout/src/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
// limitations under the License.

pub mod currency {
use parachains_common::kusama as constants;
use polkadot_core_primitives::Balance;
use rococo_runtime_constants as constants;

/// The existential deposit. Set to 1/10 of its parent Relay Chain.
pub const EXISTENTIAL_DEPOSIT: Balance = constants::currency::EXISTENTIAL_DEPOSIT / 10;
Expand Down
2 changes: 0 additions & 2 deletions runtime/trappist/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ parachain-info = { workspace = true }
cumulus-pallet-session-benchmarking = { workspace = true }

# Polkadot Dependencies
rococo-runtime-constants = { workspace = true }
pallet-xcm = { workspace = true }
polkadot-core-primitives = { workspace = true }
polkadot-parachain-primitives = { workspace = true }
Expand Down Expand Up @@ -160,7 +159,6 @@ std = [
"pallet-utility/std",
"pallet-xcm/std",
"pallet-xcm-benchmarks/std",
"rococo-runtime-constants/std",
"assets-common/std",
"cumulus-pallet-aura-ext/std",
"cumulus-pallet-parachain-system/std",
Expand Down
4 changes: 2 additions & 2 deletions runtime/trappist/src/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
// limitations under the License.

pub mod currency {
use parachains_common::kusama as constants;
use polkadot_core_primitives::Balance;
use rococo_runtime_constants as constants;

/// The existential deposit. Set to 1/10 of its parent Relay Chain.
pub const EXISTENTIAL_DEPOSIT: Balance = constants::currency::EXISTENTIAL_DEPOSIT / 10;
Expand All @@ -28,7 +28,7 @@ pub mod currency {
pub const MILLICENTS: Balance = constants::currency::MILLICENTS;

pub const fn deposit(items: u32, bytes: u32) -> Balance {
// map to 1/100 of what the rococo relay chain charges (v9020)
// map to 1/100 of what the kusama relay chain charges (v9020)
constants::currency::deposit(items, bytes) / 100
}
}
Expand Down
1 change: 0 additions & 1 deletion xcm-simulator/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 88a0b6a

Please sign in to comment.