diff --git a/blockchain/modules/asset-registry/Cargo.toml b/blockchain/modules/asset-registry/Cargo.toml index 7f08d9c7..a1925990 100644 --- a/blockchain/modules/asset-registry/Cargo.toml +++ b/blockchain/modules/asset-registry/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "module-asset-registry" -version = "0.9.81" +version = "0.9.81-dev" authors = ["Setheum Labs"] edition = "2021" diff --git a/blockchain/modules/currencies/Cargo.toml b/blockchain/modules/currencies/Cargo.toml index 8f82e963..0c87e384 100644 --- a/blockchain/modules/currencies/Cargo.toml +++ b/blockchain/modules/currencies/Cargo.toml @@ -1,52 +1,52 @@ -[package] -name = "module-currencies" -version = "0.9.81" -authors = ["Setheum Labs"] -edition = "2021" - -[dependencies] -parity-scale-codec = { workspace = true } -scale-info = { workspace = true } -sp-core = { workspace = true } -sp-runtime = { workspace = true } -sp-io = { workspace = true } -sp-std = { workspace = true } - -frame-support = { workspace = true } -frame-system = { workspace = true } - -orml-traits = { workspace = true } - -primitives = { workspace = true } -module-support = { workspace = true } - -[dev-dependencies] -serde_json = { workspace = true, features = ["std"] } -hex = { workspace = true, features = ["std"] } -hex-literal = { workspace = true } -sp-core = { workspace = true, features = ["std"] } -pallet-balances = { workspace = true, features = ["std"] } -pallet-timestamp = { workspace = true, features = ["std"] } -orml-tokens = { workspace = true, features = ["std"] } -module-evm = { workspace = true, features = ["std"] } -module-evm-bridge = { workspace = true, features = ["std"] } - -[features] -default = ["std"] -std = [ - "parity-scale-codec/std", - "frame-support/std", - "frame-system/std", - "orml-traits/std", - "primitives/std", - "scale-info/std", - "sp-core/std", - "sp-io/std", - "sp-runtime/std", - "sp-std/std", - "module-support/std", -] -try-runtime = [ - "frame-support/try-runtime", - "frame-system/try-runtime", -] +[package] +name = "module-currencies" +version = "0.9.81-dev" +authors = ["Setheum Labs"] +edition = "2021" + +[dependencies] +parity-scale-codec = { workspace = true } +scale-info = { workspace = true } +sp-core = { workspace = true } +sp-runtime = { workspace = true } +sp-io = { workspace = true } +sp-std = { workspace = true } + +frame-support = { workspace = true } +frame-system = { workspace = true } + +orml-traits = { workspace = true } + +primitives = { workspace = true } +module-support = { workspace = true } + +[dev-dependencies] +serde_json = { workspace = true, features = ["std"] } +hex = { workspace = true, features = ["std"] } +hex-literal = { workspace = true } +sp-core = { workspace = true, features = ["std"] } +pallet-balances = { workspace = true, features = ["std"] } +pallet-timestamp = { workspace = true, features = ["std"] } +orml-tokens = { workspace = true, features = ["std"] } +module-evm = { workspace = true, features = ["std"] } +module-evm-bridge = { workspace = true, features = ["std"] } + +[features] +default = ["std"] +std = [ + "parity-scale-codec/std", + "frame-support/std", + "frame-system/std", + "orml-traits/std", + "primitives/std", + "scale-info/std", + "sp-core/std", + "sp-io/std", + "sp-runtime/std", + "sp-std/std", + "module-support/std", +] +try-runtime = [ + "frame-support/try-runtime", + "frame-system/try-runtime", +] diff --git a/blockchain/modules/currencies/runtime-api/Cargo.toml b/blockchain/modules/currencies/runtime-api/Cargo.toml index 307f8bf0..8896618d 100644 --- a/blockchain/modules/currencies/runtime-api/Cargo.toml +++ b/blockchain/modules/currencies/runtime-api/Cargo.toml @@ -1,20 +1,20 @@ -[package] -name = "module-currencies-runtime-api" -version = "0.9.81" -authors = ["Setheum Labs"] -edition = "2021" - -[dependencies] -sp-runtime = { workspace = true } -sp-api = { workspace = true } -sp-std = { workspace = true } -sp-core = { workspace = true } - -[features] -default = ["std"] -std = [ - "sp-runtime/std", - "sp-api/std", - "sp-std/std", - "sp-core/std", -] +[package] +name = "module-currencies-runtime-api" +version = "0.9.81-dev" +authors = ["Setheum Labs"] +edition = "2021" + +[dependencies] +sp-runtime = { workspace = true } +sp-api = { workspace = true } +sp-std = { workspace = true } +sp-core = { workspace = true } + +[features] +default = ["std"] +std = [ + "sp-runtime/std", + "sp-api/std", + "sp-std/std", + "sp-core/std", +] diff --git a/blockchain/modules/evm-accounts/Cargo.toml b/blockchain/modules/evm-accounts/Cargo.toml index 35335ab9..3627436f 100644 --- a/blockchain/modules/evm-accounts/Cargo.toml +++ b/blockchain/modules/evm-accounts/Cargo.toml @@ -1,55 +1,55 @@ -[package] -name = "module-evm-accounts" -version = "0.9.81" -authors = ["Setheum Labs"] -edition = "2021" - -[dependencies] -parity-scale-codec = { workspace = true } -libsecp256k1 = { workspace = true, features = ["hmac", "static-context"], optional = true } -scale-info = { workspace = true } - -frame-support = { workspace = true } -frame-system = { workspace = true } -sp-core = { workspace = true } -sp-io = { workspace = true } -sp-runtime = { workspace = true } -sp-std = { workspace = true } - -orml-traits = { workspace = true } -primitives = { workspace = true } -module-support = { workspace = true } -module-evm-utility-macro = { workspace = true } - -[dev-dependencies] -pallet-balances = { workspace = true, features = ["std"] } -orml-currencies = { workspace = true, features = ["std"] } -orml-tokens = { workspace = true, features = ["std"] } - -[features] -default = ["std"] -std = [ - "parity-scale-codec/std", - "libsecp256k1", - "libsecp256k1/std", - "scale-info/std", - "sp-core/std", - "sp-runtime/std", - "sp-io/std", - "sp-std/std", - "frame-support/std", - "frame-system/std", - "primitives/std", - "orml-traits/std", - "module-support/std", -] -runtime-benchmarks = [ - "libsecp256k1/hmac", - "frame-support/runtime-benchmarks", - "frame-system/runtime-benchmarks", - "sp-runtime/runtime-benchmarks", -] -try-runtime = [ - "frame-support/try-runtime", - "frame-system/try-runtime", -] +[package] +name = "module-evm-accounts" +version = "0.9.81-dev" +authors = ["Setheum Labs"] +edition = "2021" + +[dependencies] +parity-scale-codec = { workspace = true } +libsecp256k1 = { workspace = true, features = ["hmac", "static-context"], optional = true } +scale-info = { workspace = true } + +frame-support = { workspace = true } +frame-system = { workspace = true } +sp-core = { workspace = true } +sp-io = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } + +orml-traits = { workspace = true } +primitives = { workspace = true } +module-support = { workspace = true } +module-evm-utility-macro = { workspace = true } + +[dev-dependencies] +pallet-balances = { workspace = true, features = ["std"] } +orml-currencies = { workspace = true, features = ["std"] } +orml-tokens = { workspace = true, features = ["std"] } + +[features] +default = ["std"] +std = [ + "parity-scale-codec/std", + "libsecp256k1", + "libsecp256k1/std", + "scale-info/std", + "sp-core/std", + "sp-runtime/std", + "sp-io/std", + "sp-std/std", + "frame-support/std", + "frame-system/std", + "primitives/std", + "orml-traits/std", + "module-support/std", +] +runtime-benchmarks = [ + "libsecp256k1/hmac", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", +] +try-runtime = [ + "frame-support/try-runtime", + "frame-system/try-runtime", +] diff --git a/blockchain/modules/evm-utility/Cargo.toml b/blockchain/modules/evm-utility/Cargo.toml index 444ca823..8aa7bc7b 100644 --- a/blockchain/modules/evm-utility/Cargo.toml +++ b/blockchain/modules/evm-utility/Cargo.toml @@ -1,32 +1,32 @@ -[package] -name = "module-evm-utility" -version = "0.9.81" -authors = ["Setheum Labs"] -edition = "2021" - -[dependencies] -sha3 = { workspace = true } - -sp-std = { workspace = true } - -evm = { version = "0.41.1", default-features = false, features = ["with-codec"] } -evm-gasometer = { version = "0.41.0", default-features = false } -evm-runtime = { version = "0.41.0", default-features = false } -ethereum = { version = "0.15.0", default-features = false, features = ["with-codec"] } - -[features] -default = ["std"] -std = [ - "sha3/std", - "sp-std/std", - "evm/std", - "evm/with-serde", - "evm-runtime/std", - "evm-gasometer/std", - "ethereum/with-serde", -] -tracing = [ - "evm/tracing", - "evm-gasometer/tracing", - "evm-runtime/tracing", -] +[package] +name = "module-evm-utility" +version = "0.9.81-dev" +authors = ["Setheum Labs"] +edition = "2021" + +[dependencies] +sha3 = { workspace = true } + +sp-std = { workspace = true } + +evm = { version = "0.41.1", default-features = false, features = ["with-codec"] } +evm-gasometer = { version = "0.41.0", default-features = false } +evm-runtime = { version = "0.41.0", default-features = false } +ethereum = { version = "0.15.0", default-features = false, features = ["with-codec"] } + +[features] +default = ["std"] +std = [ + "sha3/std", + "sp-std/std", + "evm/std", + "evm/with-serde", + "evm-runtime/std", + "evm-gasometer/std", + "ethereum/with-serde", +] +tracing = [ + "evm/tracing", + "evm-gasometer/tracing", + "evm-runtime/tracing", +] diff --git a/blockchain/modules/evm-utility/macro/Cargo.toml b/blockchain/modules/evm-utility/macro/Cargo.toml index 203d3ef9..21ceb6c0 100644 --- a/blockchain/modules/evm-utility/macro/Cargo.toml +++ b/blockchain/modules/evm-utility/macro/Cargo.toml @@ -1,14 +1,14 @@ -[package] -name = "module-evm-utility-macro" -version = "0.9.81" -authors = ["Setheum Labs"] -edition = "2021" - -[lib] -proc-macro = true - -[dependencies] -quote = { workspace = true } -syn = { workspace = true, features = ["full", "fold", "extra-traits", "visit"] } -proc-macro2 = { workspace = true } -module-evm-utility = { workspace = true, features = ["std"] } +[package] +name = "module-evm-utility-macro" +version = "0.9.81-dev" +authors = ["Setheum Labs"] +edition = "2021" + +[lib] +proc-macro = true + +[dependencies] +quote = { workspace = true } +syn = { workspace = true, features = ["full", "fold", "extra-traits", "visit"] } +proc-macro2 = { workspace = true } +module-evm-utility = { workspace = true, features = ["std"] } diff --git a/blockchain/modules/nft/Cargo.toml b/blockchain/modules/nft/Cargo.toml index d0c15271..40e230bc 100644 --- a/blockchain/modules/nft/Cargo.toml +++ b/blockchain/modules/nft/Cargo.toml @@ -1,61 +1,61 @@ -[package] -name = "module-nft" -version = "0.9.81" -authors = ["Setheum Labs"] -edition = "2021" - -[dependencies] -serde = { workspace = true, features = ["alloc", "derive"] } -parity-scale-codec = { workspace = true, features = ["max-encoded-len"] } -scale-info = { workspace = true } - -frame-benchmarking = { workspace = true, optional = true} -frame-support = { workspace = true } -frame-system = { workspace = true } -pallet-proxy = { workspace = true } -primitives = { workspace = true } -sp-runtime = { workspace = true } -sp-std = { workspace = true } - -orml-nft = { workspace = true } -orml-traits = { workspace = true } - -[dev-dependencies] -sp-core = { workspace = true, features = ["std"] } -sp-io = { workspace = true, features = ["std"] } -pallet-balances = { workspace = true, features = ["std"] } -pallet-utility = { workspace = true, features = ["std"] } -orml-tokens = { workspace = true, features = ["std"] } -module-currencies = { workspace = true, features = ["std"] } -module-support = { workspace = true, features = ["std"] } - -[features] -default = ["std"] -std = [ - "serde/std", - - "parity-scale-codec/std", - "frame-benchmarking/std", - "frame-support/std", - "frame-system/std", - "orml-nft/std", - "orml-traits/std", - "pallet-proxy/std", - "primitives/std", - "scale-info/std", - "sp-runtime/std", - "sp-std/std", -] -runtime-benchmarks = [ - "frame-benchmarking/runtime-benchmarks", - "frame-support/runtime-benchmarks", - "frame-system/runtime-benchmarks", - "pallet-proxy/runtime-benchmarks", - "sp-runtime/runtime-benchmarks", -] -try-runtime = [ - "frame-support/try-runtime", - "frame-system/try-runtime", - "orml-nft/try-runtime", - "pallet-proxy/try-runtime", -] +[package] +name = "module-nft" +version = "0.9.81-dev" +authors = ["Setheum Labs"] +edition = "2021" + +[dependencies] +serde = { workspace = true, features = ["alloc", "derive"] } +parity-scale-codec = { workspace = true, features = ["max-encoded-len"] } +scale-info = { workspace = true } + +frame-benchmarking = { workspace = true, optional = true} +frame-support = { workspace = true } +frame-system = { workspace = true } +pallet-proxy = { workspace = true } +primitives = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } + +orml-nft = { workspace = true } +orml-traits = { workspace = true } + +[dev-dependencies] +sp-core = { workspace = true, features = ["std"] } +sp-io = { workspace = true, features = ["std"] } +pallet-balances = { workspace = true, features = ["std"] } +pallet-utility = { workspace = true, features = ["std"] } +orml-tokens = { workspace = true, features = ["std"] } +module-currencies = { workspace = true, features = ["std"] } +module-support = { workspace = true, features = ["std"] } + +[features] +default = ["std"] +std = [ + "serde/std", + + "parity-scale-codec/std", + "frame-benchmarking/std", + "frame-support/std", + "frame-system/std", + "orml-nft/std", + "orml-traits/std", + "pallet-proxy/std", + "primitives/std", + "scale-info/std", + "sp-runtime/std", + "sp-std/std", +] +runtime-benchmarks = [ + "frame-benchmarking/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "pallet-proxy/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", +] +try-runtime = [ + "frame-support/try-runtime", + "frame-system/try-runtime", + "orml-nft/try-runtime", + "pallet-proxy/try-runtime", +] diff --git a/blockchain/modules/prices/Cargo.toml b/blockchain/modules/prices/Cargo.toml index 00b94f6b..89d99949 100644 --- a/blockchain/modules/prices/Cargo.toml +++ b/blockchain/modules/prices/Cargo.toml @@ -1,40 +1,40 @@ -[package] -name = "module-prices" -version = "0.9.81" -authors = ["Setheum Labs"] -edition = "2021" - -[dependencies] -parity-scale-codec = { workspace = true } -scale-info = { workspace = true } -sp-runtime = { workspace = true } -frame-support = { workspace = true } -frame-system = { workspace = true } -sp-core = { workspace = true } -sp-std = { workspace = true } -orml-traits = { workspace = true } -module-support = { workspace = true } -primitives = { workspace = true } - -[dev-dependencies] -sp-io = { workspace = true, features = ["std"] } -orml-tokens = { workspace = true, features = ["std"] } - -[features] -default = ["std"] -std = [ - "parity-scale-codec/std", - "frame-support/std", - "frame-system/std", - "orml-traits/std", - "primitives/std", - "scale-info/std", - "sp-core/std", - "sp-runtime/std", - "sp-std/std", - "module-support/std", -] -try-runtime = [ - "frame-support/try-runtime", - "frame-system/try-runtime", -] +[package] +name = "module-prices" +version = "0.9.81-dev" +authors = ["Setheum Labs"] +edition = "2021" + +[dependencies] +parity-scale-codec = { workspace = true } +scale-info = { workspace = true } +sp-runtime = { workspace = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +sp-core = { workspace = true } +sp-std = { workspace = true } +orml-traits = { workspace = true } +module-support = { workspace = true } +primitives = { workspace = true } + +[dev-dependencies] +sp-io = { workspace = true, features = ["std"] } +orml-tokens = { workspace = true, features = ["std"] } + +[features] +default = ["std"] +std = [ + "parity-scale-codec/std", + "frame-support/std", + "frame-system/std", + "orml-traits/std", + "primitives/std", + "scale-info/std", + "sp-core/std", + "sp-runtime/std", + "sp-std/std", + "module-support/std", +] +try-runtime = [ + "frame-support/try-runtime", + "frame-system/try-runtime", +] diff --git a/blockchain/modules/support/Cargo.toml b/blockchain/modules/support/Cargo.toml index 781b93e9..6fea841c 100644 --- a/blockchain/modules/support/Cargo.toml +++ b/blockchain/modules/support/Cargo.toml @@ -1,42 +1,42 @@ -[package] -name = "module-support" -version = "0.9.81" -authors = ["Setheum Labs"] -edition = "2021" - -[dependencies] -impl-trait-for-tuples = { workspace = true } -parity-scale-codec = { workspace = true } -scale-info = { workspace = true } -serde = { workspace = true, features = ["std"], optional = true } - -frame-support = { workspace = true } -frame-system = { workspace = true } -sp-runtime = { workspace = true } -sp-std = { workspace = true } -sp-core = { workspace = true } -sp-io = { workspace = true } -xcm = { workspace = true } - -orml-tokens = { workspace = true } -primitives = { workspace = true } - -[dev-dependencies] -serde_json = { workspace = true, features = ["std"] } - -[features] -default = ["std"] -std = [ - "parity-scale-codec/std", - "frame-support/std", - "frame-system/std", - "orml-tokens/std", - "primitives/std", - "scale-info/std", - "serde", - "sp-core/std", - "sp-io/std", - "sp-runtime/std", - "sp-std/std", - "xcm/std", -] +[package] +name = "module-support" +version = "0.9.81-dev" +authors = ["Setheum Labs"] +edition = "2021" + +[dependencies] +impl-trait-for-tuples = { workspace = true } +parity-scale-codec = { workspace = true } +scale-info = { workspace = true } +serde = { workspace = true, features = ["std"], optional = true } + +frame-support = { workspace = true } +frame-system = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } +sp-core = { workspace = true } +sp-io = { workspace = true } +xcm = { workspace = true } + +orml-tokens = { workspace = true } +primitives = { workspace = true } + +[dev-dependencies] +serde_json = { workspace = true, features = ["std"] } + +[features] +default = ["std"] +std = [ + "parity-scale-codec/std", + "frame-support/std", + "frame-system/std", + "orml-tokens/std", + "primitives/std", + "scale-info/std", + "serde", + "sp-core/std", + "sp-io/std", + "sp-runtime/std", + "sp-std/std", + "xcm/std", +] diff --git a/blockchain/modules/transaction-pause/Cargo.toml b/blockchain/modules/transaction-pause/Cargo.toml index 492db202..ad22f476 100644 --- a/blockchain/modules/transaction-pause/Cargo.toml +++ b/blockchain/modules/transaction-pause/Cargo.toml @@ -1,42 +1,42 @@ -[package] -name = "module-transaction-pause" -version = "0.9.81" -authors = ["Setheum Labs"] -edition = "2021" - -[dependencies] -log = { workspace = true } -hex-literal = { workspace = true } -parity-scale-codec = { workspace = true } -scale-info = { workspace = true } -frame-support = { workspace = true } -frame-system = { workspace = true } -sp-core = { workspace = true } -sp-runtime = { workspace = true } -sp-std = { workspace = true } -module-support = { workspace = true } - -[dev-dependencies] -sp-io = { workspace = true, features = ["std"] } -pallet-balances = { workspace = true, features = ["std"] } -orml-tokens = { workspace = true, features = ["std"] } -orml-traits = { workspace = true, features = ["std"] } -primitives = { workspace = true, features = ["std"] } -smallvec = { workspace = true } - -[features] -default = ["std"] -std = [ - "parity-scale-codec/std", - "frame-support/std", - "frame-system/std", - "module-support/std", - "scale-info/std", - "sp-core/std", - "sp-runtime/std", - "sp-std/std", -] -try-runtime = [ - "frame-support/try-runtime", - "frame-system/try-runtime", -] +[package] +name = "module-transaction-pause" +version = "0.9.81-dev" +authors = ["Setheum Labs"] +edition = "2021" + +[dependencies] +log = { workspace = true } +hex-literal = { workspace = true } +parity-scale-codec = { workspace = true } +scale-info = { workspace = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +sp-core = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } +module-support = { workspace = true } + +[dev-dependencies] +sp-io = { workspace = true, features = ["std"] } +pallet-balances = { workspace = true, features = ["std"] } +orml-tokens = { workspace = true, features = ["std"] } +orml-traits = { workspace = true, features = ["std"] } +primitives = { workspace = true, features = ["std"] } +smallvec = { workspace = true } + +[features] +default = ["std"] +std = [ + "parity-scale-codec/std", + "frame-support/std", + "frame-system/std", + "module-support/std", + "scale-info/std", + "sp-core/std", + "sp-runtime/std", + "sp-std/std", +] +try-runtime = [ + "frame-support/try-runtime", + "frame-system/try-runtime", +] diff --git a/blockchain/modules/transaction-payment/Cargo.toml b/blockchain/modules/transaction-payment/Cargo.toml index 3e8d49eb..cff01107 100644 --- a/blockchain/modules/transaction-payment/Cargo.toml +++ b/blockchain/modules/transaction-payment/Cargo.toml @@ -1,45 +1,45 @@ -[package] -name = "module-transaction-payment" -version = "0.9.81" -authors = ["Setheum Labs"] -edition = "2021" - -[dependencies] -serde = { version = "1.0.124", optional = true } -codec = { package = "parity-scale-codec", version = "2.2.0", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.10", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.10", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.10", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.10", default-features = false } -sp-io= { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.10", default-features = false } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.10", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.10", default-features = false } - -primitives = { package = "setheum-primitives", path = "../primitives", default-features = false } -support = { package = "module-support", path = "../support", default-features = false } -orml-traits = { path = "../submodules/orml/traits", default-features = false } - -[dev-dependencies] -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.10" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.10" } -orml-tokens = { path = "../submodules/orml/tokens" } -module-currencies = { path = "../../tokens/currencies" } -# module-dex = { path = "../submodules/EthicalDeFi/DEX" } -smallvec = "1.4.1" - -[features] -default = ["std"] -std = [ - "serde", - "codec/std", - "sp-runtime/std", - "frame-support/std", - "frame-system/std", - "sp-io/std", - "sp-std/std", - "pallet-transaction-payment/std", - "pallet-transaction-payment-rpc-runtime-api/std", - "primitives/std", - "support/std", - "orml-traits/std", -] +[package] +name = "module-transaction-payment" +version = "0.9.81-dev" +authors = ["Setheum Labs"] +edition = "2021" + +[dependencies] +serde = { version = "1.0.124", optional = true } +codec = { package = "parity-scale-codec", version = "2.2.0", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.10", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.10", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.10", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.10", default-features = false } +sp-io= { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.10", default-features = false } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.10", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.10", default-features = false } + +primitives = { package = "setheum-primitives", path = "../primitives", default-features = false } +support = { package = "module-support", path = "../support", default-features = false } +orml-traits = { path = "../submodules/orml/traits", default-features = false } + +[dev-dependencies] +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.10" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.10" } +orml-tokens = { path = "../submodules/orml/tokens" } +module-currencies = { path = "../../tokens/currencies" } +# module-dex = { path = "../submodules/EthicalDeFi/DEX" } +smallvec = "1.4.1" + +[features] +default = ["std"] +std = [ + "serde", + "codec/std", + "sp-runtime/std", + "frame-support/std", + "frame-system/std", + "sp-io/std", + "sp-std/std", + "pallet-transaction-payment/std", + "pallet-transaction-payment-rpc-runtime-api/std", + "primitives/std", + "support/std", + "orml-traits/std", +] diff --git a/blockchain/modules/vesting/Cargo.toml b/blockchain/modules/vesting/Cargo.toml index 29a6539a..1272266c 100644 --- a/blockchain/modules/vesting/Cargo.toml +++ b/blockchain/modules/vesting/Cargo.toml @@ -1,51 +1,51 @@ -[package] -name = "module-vesting" -description = "Provides scheduled balance locking mechanism, in a *graded vesting* way." -version = "0.9.81" -authors = ["Setheum Labs"] -edition = "2021" - -[dependencies] -scale-info = { workspace = true } -serde = { workspace = true, optional = true } -parity-scale-codec = { version = "3.0.0", default-features = false, features = ["max-encoded-len"] } -sp-runtime = { workspace = true } -sp-io = { workspace = true } -sp-std = { workspace = true } -frame-support = { workspace = true } -frame-system = { workspace = true } - -primitives = { package = "setheum-primitives", path = "../primitives", default-features = false } -support = { package = "module-support", path = "../support", default-features = false } -orml-traits = { path = "../submodules/orml/traits", default-features = false } - -[dev-dependencies] -sp-core = { workspace = true, features = ["std"] } -pallet-balances = { workspace = true } -orml-tokens = { workspace = true } - -[features] -default = ["std"] -std = [ - "scale-info/std", - "serde", - "parity-scale-codec/std", - "sp-runtime/std", - "sp-std/std", - "sp-io/std", - "frame-support/std", - "frame-system/std", - "primitives/std", - "support/std", - "orml-traits/std", -] -runtime-benchmarks = [ - "frame-support/runtime-benchmarks", - "frame-system/runtime-benchmarks", - "sp-runtime/runtime-benchmarks", -] -try-runtime = [ - "frame-support/try-runtime", - "frame-system/try-runtime", - "sp-runtime/try-runtime", -] +[package] +name = "module-vesting" +description = "Provides scheduled balance locking mechanism, in a *graded vesting* way." +version = "0.9.81-dev" +authors = ["Setheum Labs"] +edition = "2021" + +[dependencies] +scale-info = { workspace = true } +serde = { workspace = true, optional = true } +parity-scale-codec = { version = "3.0.0", default-features = false, features = ["max-encoded-len"] } +sp-runtime = { workspace = true } +sp-io = { workspace = true } +sp-std = { workspace = true } +frame-support = { workspace = true } +frame-system = { workspace = true } + +primitives = { package = "setheum-primitives", path = "../primitives", default-features = false } +support = { package = "module-support", path = "../support", default-features = false } +orml-traits = { path = "../submodules/orml/traits", default-features = false } + +[dev-dependencies] +sp-core = { workspace = true, features = ["std"] } +pallet-balances = { workspace = true } +orml-tokens = { workspace = true } + +[features] +default = ["std"] +std = [ + "scale-info/std", + "serde", + "parity-scale-codec/std", + "sp-runtime/std", + "sp-std/std", + "sp-io/std", + "frame-support/std", + "frame-system/std", + "primitives/std", + "support/std", + "orml-traits/std", +] +runtime-benchmarks = [ + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", +] +try-runtime = [ + "frame-support/try-runtime", + "frame-system/try-runtime", + "sp-runtime/try-runtime", +] diff --git a/blockchain/primitives/Cargo.toml b/blockchain/primitives/Cargo.toml index bf004b6b..3ef2c526 100644 --- a/blockchain/primitives/Cargo.toml +++ b/blockchain/primitives/Cargo.toml @@ -1,55 +1,55 @@ -[package] -name = "setheum-primitives" -version = "0.9.81" -authors = ["Setheum Labs"] -edition = "2021" - -[dependencies] -log = { workspace = true } -hex-literal = { workspace = true } -bstringify = { workspace = true } -serde = { workspace = true, features = ["alloc", "derive"] } -parity-scale-codec = { workspace = true, features = ["max-encoded-len"] } -num_enum = { workspace = true } -scale-info = { workspace = true } -enumflags2 = { workspace = true, features = ["serde"] } -paste = { workspace = true } - -sp-core = { workspace = true } -sp-runtime = { workspace = true } -sp-std = { workspace = true } -sp-io = { workspace = true } -sp-api = { workspace = true } - -frame-support = { workspace = true } - -orml-traits = { workspace = true } - -module-evm-utility = { workspace = true } -module-evm-utility-macro = { workspace = true } - -[dev-dependencies] -serde_json = { workspace = true, features = ["std"] } - - -[features] -default = ["std"] -std = [ - "serde/std", - "parity-scale-codec/std", - "num_enum/std", - "scale-info/std", - "enumflags2/serde", - "sp-runtime/std", - "sp-core/std", - "sp-std/std", - "sp-io/std", - "sp-api/std", - - "frame-support/std", - - "orml-traits/std", - "module-evm-utility/std", -] -evm-tests = [] -try-runtime = [] +[package] +name = "setheum-primitives" +version = "0.9.81-dev" +authors = ["Setheum Labs"] +edition = "2021" + +[dependencies] +log = { workspace = true } +hex-literal = { workspace = true } +bstringify = { workspace = true } +serde = { workspace = true, features = ["alloc", "derive"] } +parity-scale-codec = { workspace = true, features = ["max-encoded-len"] } +num_enum = { workspace = true } +scale-info = { workspace = true } +enumflags2 = { workspace = true, features = ["serde"] } +paste = { workspace = true } + +sp-core = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } +sp-io = { workspace = true } +sp-api = { workspace = true } + +frame-support = { workspace = true } + +orml-traits = { workspace = true } + +module-evm-utility = { workspace = true } +module-evm-utility-macro = { workspace = true } + +[dev-dependencies] +serde_json = { workspace = true, features = ["std"] } + + +[features] +default = ["std"] +std = [ + "serde/std", + "parity-scale-codec/std", + "num_enum/std", + "scale-info/std", + "enumflags2/serde", + "sp-runtime/std", + "sp-core/std", + "sp-std/std", + "sp-io/std", + "sp-api/std", + + "frame-support/std", + + "orml-traits/std", + "module-evm-utility/std", +] +evm-tests = [] +try-runtime = [] diff --git a/blockchain/runtime/common/Cargo.toml b/blockchain/runtime/common/Cargo.toml index 51710ab3..75f17e1a 100644 --- a/blockchain/runtime/common/Cargo.toml +++ b/blockchain/runtime/common/Cargo.toml @@ -1,75 +1,75 @@ -[package] -name = "runtime-common" -version = "0.9.81" -authors = ["Setheum Developers"] -edition = "2021" - -[dependencies] -static_assertions = "1.1.0" -num_enum = { version = "0.5.1", default-features = false } -serde = { version = "1.0.101", optional = true, default-features = false } -codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false } -ethabi = { version = "15.0.0", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.10" } -sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.10" } -sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.10" } -frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.10" } -frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.10" } -pallet-scheduler = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.10" } -log = { version = "0.4.14", default-features = false } -pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.10", default-features = false } -pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.10", default-features = false } - -orml-oracle = { path = "../submodules/orml/oracle", default-features = false } -orml-traits = { path = "../submodules/orml/traits", default-features = false } - -module-evm = { path = "../../../modules//evm", default-features = false } -module-support = { path = "../../../modules/support", default-features = false } -module-transaction-payment = { path = "../../../modules/transaction-payment", default-features = false } -primitives = { package = "setheum-primitives", path = "../primitives", default-features = false } -primitives-proc-macro = { path = "../primitives/proc-macro" } - -[dev-dependencies] -serde_json = "1.0.41" -hex-literal = "0.3.1" -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.10" } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.10" } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.10" } -pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.10" } -pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.10" } - -orml-tokens = { path = "../submodules/orml/tokens" } -orml-nft = { path = "../submodules/orml/nft" } - -module-currencies = { path = "../../../modules/currencies" } -module-evm-bridge = { path = "../../../modules//evm-bridge" } -module-evm-manager = { path = "../../../modules//evm-manager" } -module-nft = { path = "../../../modules/nft" } -# module-dex = { path = "../../../modules/defi/setswap/dex" } -module-prices = { path = "../../../modules/prices" } -module-transaction-payment = { path = "../../../modules/transaction-payment" } - -[features] -default = ["std"] -std = [ - "num_enum/std", - "serde", - "codec/std", - "ethabi/std", - "frame-support/std", - "frame-system/std", - "pallet-scheduler/std", - "pallet-collective/std", - "pallet-membership/std", - "sp-core/std", - "sp-runtime/std", - "sp-std/std", - "orml-oracle/std", - "orml-traits/std", - "module-evm/std", - "module-support/std", - "primitives/std", -] -with-ethereum-compatibility = [ - "module-evm/with-ethereum-compatibility", -] +[package] +name = "runtime-common" +version = "0.9.81-dev" +authors = ["Setheum Developers"] +edition = "2021" + +[dependencies] +static_assertions = "1.1.0" +num_enum = { version = "0.5.1", default-features = false } +serde = { version = "1.0.101", optional = true, default-features = false } +codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false } +ethabi = { version = "15.0.0", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.10" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.10" } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.10" } +frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.10" } +frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.10" } +pallet-scheduler = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.10" } +log = { version = "0.4.14", default-features = false } +pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.10", default-features = false } +pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.10", default-features = false } + +orml-oracle = { path = "../submodules/orml/oracle", default-features = false } +orml-traits = { path = "../submodules/orml/traits", default-features = false } + +module-evm = { path = "../../../modules//evm", default-features = false } +module-support = { path = "../../../modules/support", default-features = false } +module-transaction-payment = { path = "../../../modules/transaction-payment", default-features = false } +primitives = { package = "setheum-primitives", path = "../primitives", default-features = false } +primitives-proc-macro = { path = "../primitives/proc-macro" } + +[dev-dependencies] +serde_json = "1.0.41" +hex-literal = "0.3.1" +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.10" } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.10" } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.10" } +pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.10" } +pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.10" } + +orml-tokens = { path = "../submodules/orml/tokens" } +orml-nft = { path = "../submodules/orml/nft" } + +module-currencies = { path = "../../../modules/currencies" } +module-evm-bridge = { path = "../../../modules//evm-bridge" } +module-evm-manager = { path = "../../../modules//evm-manager" } +module-nft = { path = "../../../modules/nft" } +# module-dex = { path = "../../../modules/defi/setswap/dex" } +module-prices = { path = "../../../modules/prices" } +module-transaction-payment = { path = "../../../modules/transaction-payment" } + +[features] +default = ["std"] +std = [ + "num_enum/std", + "serde", + "codec/std", + "ethabi/std", + "frame-support/std", + "frame-system/std", + "pallet-scheduler/std", + "pallet-collective/std", + "pallet-membership/std", + "sp-core/std", + "sp-runtime/std", + "sp-std/std", + "orml-oracle/std", + "orml-traits/std", + "module-evm/std", + "module-support/std", + "primitives/std", +] +with-ethereum-compatibility = [ + "module-evm/with-ethereum-compatibility", +]