Refactoring Checkpoint: (WIP)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "kitchensink-runtime"
|
||||
name = "pez-kitchensink-runtime"
|
||||
version = "3.0.0-dev"
|
||||
authors.workspace = true
|
||||
description = "Bizinikiwi node kitchensink runtime."
|
||||
@@ -9,7 +9,7 @@ license = "Apache-2.0"
|
||||
homepage.workspace = true
|
||||
repository.workspace = true
|
||||
publish = false
|
||||
documentation = "https://docs.rs/kitchensink-runtime"
|
||||
documentation = "https://docs.rs/pez-kitchensink-runtime"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
@@ -39,7 +39,7 @@ primitive-types = { features = [
|
||||
pezkuwi-sdk = { features = ["runtime-full", "tuples-96"], workspace = true }
|
||||
|
||||
# shared code between runtime and node
|
||||
node-primitives = { workspace = true }
|
||||
pez-node-primitives = { workspace = true }
|
||||
|
||||
# Example pallets that are not published:
|
||||
pezpallet-example-mbm = { workspace = true }
|
||||
@@ -54,7 +54,7 @@ with-tracing = ["pezkuwi-sdk/with-tracing"]
|
||||
std = [
|
||||
"codec/std",
|
||||
"log/std",
|
||||
"node-primitives/std",
|
||||
"pez-node-primitives/std",
|
||||
"pezpallet-example-mbm/std",
|
||||
"pezpallet-example-tasks/std",
|
||||
"pezkuwi-sdk/std",
|
||||
@@ -66,7 +66,7 @@ std = [
|
||||
"bizinikiwi-wasm-builder",
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"node-primitives/runtime-benchmarks",
|
||||
"pez-node-primitives/runtime-benchmarks",
|
||||
"pezpallet-example-mbm/runtime-benchmarks",
|
||||
"pezpallet-example-tasks/runtime-benchmarks",
|
||||
"pezkuwi-sdk/runtime-benchmarks",
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
/// Money matters.
|
||||
pub mod currency {
|
||||
use node_primitives::Balance;
|
||||
use pez_node_primitives::Balance;
|
||||
|
||||
pub const MILLICENTS: Balance = 1_000_000_000;
|
||||
pub const CENTS: Balance = 1_000 * MILLICENTS; // assume this is worth about a cent.
|
||||
@@ -32,7 +32,7 @@ pub mod currency {
|
||||
|
||||
/// Time.
|
||||
pub mod time {
|
||||
use node_primitives::{BlockNumber, Moment};
|
||||
use pez_node_primitives::{BlockNumber, Moment};
|
||||
|
||||
/// Since BABE is probabilistic this is the average expected block time that
|
||||
/// we are targeting. Blocks will be produced at a minimum duration defined
|
||||
|
||||
@@ -76,8 +76,8 @@ use pezframe_system::{
|
||||
limits::{BlockLength, BlockWeights},
|
||||
EnsureRoot, EnsureRootWithSuccess, EnsureSigned, EnsureSignedBy, EnsureWithSuccess,
|
||||
};
|
||||
pub use node_primitives::{AccountId, Signature};
|
||||
use node_primitives::{AccountIndex, Balance, BlockNumber, Hash, Moment, Nonce};
|
||||
pub use pez_node_primitives::{AccountId, Signature};
|
||||
use pez_node_primitives::{AccountIndex, Balance, BlockNumber, Hash, Moment, Nonce};
|
||||
use pezpallet_asset_conversion::{AccountIdConverter, Ascending, Chain, WithFirstAsset};
|
||||
use pezpallet_asset_conversion_tx_payment::SwapAssetAdapter;
|
||||
use pezpallet_assets_precompiles::{InlineIdConfig, ERC20};
|
||||
|
||||
Reference in New Issue
Block a user