mirror of
https://github.com/pezkuwichain/pez-solochain-template.git
synced 2026-04-21 23:47:59 +00:00
Update to 1.13.0 triggered by workflow_dispatch
This commit is contained in:
Generated
+492
-528
File diff suppressed because it is too large
Load Diff
-41
@@ -13,46 +13,5 @@ members = [
|
|||||||
]
|
]
|
||||||
resolver = "2"
|
resolver = "2"
|
||||||
|
|
||||||
[workspace.lints.rust]
|
|
||||||
suspicious_double_ref_op = { level = "allow", priority = 2 }
|
|
||||||
|
|
||||||
[workspace.lints.clippy]
|
|
||||||
all = { level = "allow", priority = 0 }
|
|
||||||
correctness = { level = "warn", priority = 1 }
|
|
||||||
complexity = { level = "warn", priority = 1 }
|
|
||||||
if-same-then-else = { level = "allow", priority = 2 }
|
|
||||||
zero-prefixed-literal = { level = "allow", priority = 2 } # 00_1000_000
|
|
||||||
type_complexity = { level = "allow", priority = 2 } # raison d'etre
|
|
||||||
nonminimal-bool = { level = "allow", priority = 2 } # maybe
|
|
||||||
borrowed-box = { level = "allow", priority = 2 } # Reasonable to fix this one
|
|
||||||
too-many-arguments = { level = "allow", priority = 2 } # (Turning this on would lead to)
|
|
||||||
needless-lifetimes = { level = "allow", priority = 2 } # generated code
|
|
||||||
unnecessary_cast = { level = "allow", priority = 2 } # Types may change
|
|
||||||
identity-op = { level = "allow", priority = 2 } # One case where we do 0 +
|
|
||||||
useless_conversion = { level = "allow", priority = 2 } # Types may change
|
|
||||||
unit_arg = { level = "allow", priority = 2 } # stylistic
|
|
||||||
option-map-unit-fn = { level = "allow", priority = 2 } # stylistic
|
|
||||||
bind_instead_of_map = { level = "allow", priority = 2 } # stylistic
|
|
||||||
erasing_op = { level = "allow", priority = 2 } # E.g. 0 * DOLLARS
|
|
||||||
eq_op = { level = "allow", priority = 2 } # In tests we test equality.
|
|
||||||
while_immutable_condition = { level = "allow", priority = 2 } # false positives
|
|
||||||
needless_option_as_deref = { level = "allow", priority = 2 } # false positives
|
|
||||||
derivable_impls = { level = "allow", priority = 2 } # false positives
|
|
||||||
stable_sort_primitive = { level = "allow", priority = 2 } # prefer stable sort
|
|
||||||
extra-unused-type-parameters = { level = "allow", priority = 2 } # stylistic
|
|
||||||
default_constructed_unit_structs = { level = "allow", priority = 2 } # stylistic
|
|
||||||
|
|
||||||
[workspace.dependencies]
|
[workspace.dependencies]
|
||||||
polkavm = "0.9.3"
|
|
||||||
polkavm-linker = "0.9.2"
|
|
||||||
polkavm-derive = "0.9.1"
|
|
||||||
log = { version = "0.4.21", default-features = false }
|
|
||||||
quote = { version = "1.0.33" }
|
|
||||||
serde = { version = "1.0.197", default-features = false }
|
|
||||||
serde-big-array = { version = "0.3.2" }
|
|
||||||
serde_derive = { version = "1.0.117" }
|
|
||||||
serde_json = { version = "1.0.114", default-features = false }
|
serde_json = { version = "1.0.114", default-features = false }
|
||||||
serde_yaml = { version = "0.9" }
|
|
||||||
syn = { version = "2.0.53" }
|
|
||||||
thiserror = { version = "1.0.48" }
|
|
||||||
tracing-subscriber = { version = "0.3.18" }
|
|
||||||
|
|||||||
+28
@@ -0,0 +1,28 @@
|
|||||||
|
FROM docker.io/paritytech/ci-unified:latest as builder
|
||||||
|
|
||||||
|
WORKDIR /polkadot
|
||||||
|
COPY . /polkadot
|
||||||
|
|
||||||
|
RUN cargo fetch
|
||||||
|
RUN cargo build --locked --release
|
||||||
|
|
||||||
|
FROM docker.io/parity/base-bin:latest
|
||||||
|
|
||||||
|
COPY --from=builder /polkadot/target/release/solochain-template-node /usr/local/bin
|
||||||
|
|
||||||
|
USER root
|
||||||
|
RUN useradd -m -u 1001 -U -s /bin/sh -d /polkadot polkadot && \
|
||||||
|
mkdir -p /data /polkadot/.local/share && \
|
||||||
|
chown -R polkadot:polkadot /data && \
|
||||||
|
ln -s /data /polkadot/.local/share/polkadot && \
|
||||||
|
# unclutter and minimize the attack surface
|
||||||
|
rm -rf /usr/bin /usr/sbin && \
|
||||||
|
# check if executable works in this container
|
||||||
|
/usr/local/bin/solochain-template-node --version
|
||||||
|
|
||||||
|
USER polkadot
|
||||||
|
|
||||||
|
EXPOSE 30333 9933 9944 9615
|
||||||
|
VOLUME ["/data"]
|
||||||
|
|
||||||
|
ENTRYPOINT ["/usr/local/bin/solochain-template-node"]
|
||||||
@@ -1,16 +1,24 @@
|
|||||||
MIT No Attribution
|
This is free and unencumbered software released into the public domain.
|
||||||
|
|
||||||
Copyright Parity Technologies (UK) Ltd.
|
Anyone is free to copy, modify, publish, use, compile, sell, or
|
||||||
|
distribute this software, either in source code form or as a compiled
|
||||||
|
binary, for any purpose, commercial or non-commercial, and by any
|
||||||
|
means.
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this
|
In jurisdictions that recognize copyright laws, the author or authors
|
||||||
software and associated documentation files (the "Software"), to deal in the Software
|
of this software dedicate any and all copyright interest in the
|
||||||
without restriction, including without limitation the rights to use, copy, modify,
|
software to the public domain. We make this dedication for the benefit
|
||||||
merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
|
of the public at large and to the detriment of our heirs and
|
||||||
permit persons to whom the Software is furnished to do so.
|
successors. We intend this dedication to be an overt act of
|
||||||
|
relinquishment in perpetuity of all present and future rights to this
|
||||||
|
software under copyright law.
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||||
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||||
|
OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
|
For more information, please refer to <http://unlicense.org>
|
||||||
|
|||||||
@@ -103,9 +103,8 @@ After you start the node template locally, you can interact with it using the
|
|||||||
hosted version of the [Polkadot/Substrate
|
hosted version of the [Polkadot/Substrate
|
||||||
Portal](https://polkadot.js.org/apps/#/explorer?rpc=ws://localhost:9944)
|
Portal](https://polkadot.js.org/apps/#/explorer?rpc=ws://localhost:9944)
|
||||||
front-end by connecting to the local node endpoint. A hosted version is also
|
front-end by connecting to the local node endpoint. A hosted version is also
|
||||||
available on [IPFS (redirect) here](https://dotapps.io/) or [IPNS (direct)
|
available on [IPFS](https://dotapps.io/). You can
|
||||||
here](ipns://dotapps.io/?rpc=ws%3A%2F%2F127.0.0.1%3A9944#/explorer). You can
|
also find the source code and instructions for hosting your own instance in the
|
||||||
also find the source code and instructions for hosting your own instance on the
|
|
||||||
[`polkadot-js/apps`](https://github.com/polkadot-js/apps) repository.
|
[`polkadot-js/apps`](https://github.com/polkadot-js/apps) repository.
|
||||||
|
|
||||||
### Multi-Node Local Testnet
|
### Multi-Node Local Testnet
|
||||||
@@ -131,7 +130,7 @@ capabilities:
|
|||||||
the network. Substrate makes it possible to supply custom consensus engines
|
the network. Substrate makes it possible to supply custom consensus engines
|
||||||
and also ships with several consensus mechanisms that have been built on top
|
and also ships with several consensus mechanisms that have been built on top
|
||||||
of [Web3 Foundation
|
of [Web3 Foundation
|
||||||
research](https://research.web3.foundation/en/latest/polkadot/NPoS/index.html).
|
research](https://research.web3.foundation/Polkadot/protocols/NPoS).
|
||||||
- RPC Server: A remote procedure call (RPC) server is used to interact with
|
- RPC Server: A remote procedure call (RPC) server is used to interact with
|
||||||
Substrate nodes.
|
Substrate nodes.
|
||||||
|
|
||||||
|
|||||||
+32
-35
@@ -1,8 +1,8 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "solochain-template-node"
|
name = "solochain-template-node"
|
||||||
description = "A solochain node template built with Substrate, part of Polkadot Sdk. (polkadot v1.12.0)"
|
description = "A solochain node template built with Substrate, part of Polkadot Sdk. (polkadot v1.13.0)"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
license = "MIT-0"
|
license = "Unlicense"
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
homepage.workspace = true
|
homepage.workspace = true
|
||||||
repository.workspace = true
|
repository.workspace = true
|
||||||
@@ -11,9 +11,6 @@ publish = false
|
|||||||
|
|
||||||
build = "build.rs"
|
build = "build.rs"
|
||||||
|
|
||||||
[lints]
|
|
||||||
workspace = true
|
|
||||||
|
|
||||||
[package.metadata.docs.rs]
|
[package.metadata.docs.rs]
|
||||||
targets = ["x86_64-unknown-linux-gnu"]
|
targets = ["x86_64-unknown-linux-gnu"]
|
||||||
|
|
||||||
@@ -22,36 +19,36 @@ clap = { version = "4.5.3", features = ["derive"] }
|
|||||||
futures = { version = "0.3.30", features = ["thread-pool"] }
|
futures = { version = "0.3.30", features = ["thread-pool"] }
|
||||||
serde_json = { workspace = true, default-features = true }
|
serde_json = { workspace = true, default-features = true }
|
||||||
jsonrpsee = { version = "0.22", features = ["server"] }
|
jsonrpsee = { version = "0.22", features = ["server"] }
|
||||||
sc-cli = { version = "0.42.0" }
|
sc-cli = { version = "0.43.0" }
|
||||||
sp-core = { version = "33.0.1" }
|
sp-core = { version = "34.0.0" }
|
||||||
sc-executor = { version = "0.38.0" }
|
sc-executor = { version = "0.39.0" }
|
||||||
sc-network = { version = "0.40.0" }
|
sc-network = { version = "0.41.0" }
|
||||||
sc-service = { version = "0.41.0" }
|
sc-service = { version = "0.42.0" }
|
||||||
sc-telemetry = { version = "20.0.0" }
|
sc-telemetry = { version = "21.0.0" }
|
||||||
sc-transaction-pool = { version = "34.0.0" }
|
sc-transaction-pool = { version = "35.0.0" }
|
||||||
sc-transaction-pool-api = { version = "34.0.0" }
|
sc-transaction-pool-api = { version = "35.0.0" }
|
||||||
sc-offchain = { version = "35.0.0" }
|
sc-offchain = { version = "36.0.0" }
|
||||||
sc-consensus-aura = { version = "0.40.0" }
|
sc-consensus-aura = { version = "0.41.0" }
|
||||||
sp-consensus-aura = { version = "0.38.0" }
|
sp-consensus-aura = { version = "0.39.0" }
|
||||||
sc-consensus = { version = "0.39.1" }
|
sc-consensus = { version = "0.40.0" }
|
||||||
sc-consensus-grandpa = { version = "0.25.0" }
|
sc-consensus-grandpa = { version = "0.26.0" }
|
||||||
sp-consensus-grandpa = { version = "19.0.0" }
|
sp-consensus-grandpa = { version = "20.0.0" }
|
||||||
sc-client-api = { version = "34.0.0" }
|
sc-client-api = { version = "35.0.0" }
|
||||||
sc-rpc-api = { version = "0.39.0" }
|
sc-rpc-api = { version = "0.40.0" }
|
||||||
sc-basic-authorship = { version = "0.40.0" }
|
sc-basic-authorship = { version = "0.41.0" }
|
||||||
sp-runtime = { version = "37.0.0" }
|
sp-runtime = { version = "38.0.0" }
|
||||||
sp-io = { version = "36.0.0" }
|
sp-io = { version = "37.0.0" }
|
||||||
sp-timestamp = { version = "32.0.0" }
|
sp-timestamp = { version = "33.0.0" }
|
||||||
sp-inherents = { version = "32.0.0" }
|
sp-inherents = { version = "33.0.0" }
|
||||||
sp-keyring = { version = "37.0.0" }
|
sp-keyring = { version = "38.0.0" }
|
||||||
sp-api = { version = "32.0.0" }
|
sp-api = { version = "33.0.0" }
|
||||||
sp-blockchain = { version = "34.0.0" }
|
sp-blockchain = { version = "35.0.0" }
|
||||||
sp-block-builder = { version = "32.0.0" }
|
sp-block-builder = { version = "33.0.0" }
|
||||||
frame-system = { version = "34.0.0" }
|
frame-system = { version = "35.0.0" }
|
||||||
pallet-transaction-payment = { version = "34.0.0", default-features = false }
|
pallet-transaction-payment = { version = "35.0.0", default-features = false }
|
||||||
pallet-transaction-payment-rpc = { version = "36.0.0" }
|
pallet-transaction-payment-rpc = { version = "37.0.0" }
|
||||||
substrate-frame-rpc-system = { version = "34.0.0" }
|
substrate-frame-rpc-system = { version = "35.0.0" }
|
||||||
frame-benchmarking-cli = { version = "38.0.0" }
|
frame-benchmarking-cli = { version = "39.0.0" }
|
||||||
solochain-template-runtime = { version = "0.1.0", path = "../runtime" }
|
solochain-template-runtime = { version = "0.1.0", path = "../runtime" }
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
use sc_service::ChainType;
|
use sc_service::ChainType;
|
||||||
use solochain_template_runtime::{AccountId, RuntimeGenesisConfig, Signature, WASM_BINARY};
|
use solochain_template_runtime::{AccountId, Signature, WASM_BINARY};
|
||||||
use sp_consensus_aura::sr25519::AuthorityId as AuraId;
|
use sp_consensus_aura::sr25519::AuthorityId as AuraId;
|
||||||
use sp_consensus_grandpa::AuthorityId as GrandpaId;
|
use sp_consensus_grandpa::AuthorityId as GrandpaId;
|
||||||
use sp_core::{sr25519, Pair, Public};
|
use sp_core::{sr25519, Pair, Public};
|
||||||
@@ -9,7 +9,7 @@ use sp_runtime::traits::{IdentifyAccount, Verify};
|
|||||||
// const STAGING_TELEMETRY_URL: &str = "wss://telemetry.polkadot.io/submit/";
|
// const STAGING_TELEMETRY_URL: &str = "wss://telemetry.polkadot.io/submit/";
|
||||||
|
|
||||||
/// Specialized `ChainSpec`. This is a specialization of the general Substrate ChainSpec type.
|
/// Specialized `ChainSpec`. This is a specialization of the general Substrate ChainSpec type.
|
||||||
pub type ChainSpec = sc_service::GenericChainSpec<RuntimeGenesisConfig>;
|
pub type ChainSpec = sc_service::GenericChainSpec;
|
||||||
|
|
||||||
/// Generate a crypto pair from seed.
|
/// Generate a crypto pair from seed.
|
||||||
pub fn get_from_seed<TPublic: Public>(seed: &str) -> <TPublic::Pair as Pair>::Public {
|
pub fn get_from_seed<TPublic: Public>(seed: &str) -> <TPublic::Pair as Pair>::Public {
|
||||||
|
|||||||
+1
-1
@@ -114,7 +114,7 @@ pub fn run() -> sc_cli::Result<()> {
|
|||||||
"Runtime benchmarking wasn't enabled when building the node. \
|
"Runtime benchmarking wasn't enabled when building the node. \
|
||||||
You can enable it with `--features runtime-benchmarks`."
|
You can enable it with `--features runtime-benchmarks`."
|
||||||
.into(),
|
.into(),
|
||||||
)
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
cmd.run_with_spec::<sp_runtime::traits::HashingFor<Block>, ()>(Some(
|
cmd.run_with_spec::<sp_runtime::traits::HashingFor<Block>, ()>(Some(
|
||||||
|
|||||||
@@ -1,22 +1,19 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "pallet-template"
|
name = "pallet-template"
|
||||||
description = "FRAME pallet template for defining custom runtime logic. (polkadot v1.12.0)"
|
description = "FRAME pallet template for defining custom runtime logic. (polkadot v1.13.0)"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
license = "MIT-0"
|
license = "Unlicense"
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
homepage.workspace = true
|
homepage.workspace = true
|
||||||
repository.workspace = true
|
repository.workspace = true
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
[lints]
|
|
||||||
workspace = true
|
|
||||||
|
|
||||||
[package.metadata.docs.rs]
|
[package.metadata.docs.rs]
|
||||||
targets = ["x86_64-unknown-linux-gnu"]
|
targets = ["x86_64-unknown-linux-gnu"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = [
|
codec = { package = "parity-scale-codec", version = "3.6.12", default-features = false, features = [
|
||||||
"derive",
|
"derive",
|
||||||
] }
|
] }
|
||||||
scale-info = { version = "2.11.1", default-features = false, features = [
|
scale-info = { version = "2.11.1", default-features = false, features = [
|
||||||
@@ -24,14 +21,14 @@ scale-info = { version = "2.11.1", default-features = false, features = [
|
|||||||
] }
|
] }
|
||||||
|
|
||||||
# frame deps
|
# frame deps
|
||||||
frame-benchmarking = { version = "34.0.0", default-features = false, optional = true }
|
frame-benchmarking = { version = "35.0.0", default-features = false, optional = true }
|
||||||
frame-support = { version = "34.0.0", default-features = false }
|
frame-support = { version = "35.0.0", default-features = false }
|
||||||
frame-system = { version = "34.0.0", default-features = false }
|
frame-system = { version = "35.0.0", default-features = false }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
sp-core = { version = "33.0.1" }
|
sp-core = { version = "34.0.0" }
|
||||||
sp-io = { version = "36.0.0" }
|
sp-io = { version = "37.0.0" }
|
||||||
sp-runtime = { version = "37.0.0" }
|
sp-runtime = { version = "38.0.0" }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["std"]
|
default = ["std"]
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ mod benchmarks {
|
|||||||
|
|
||||||
#[benchmark]
|
#[benchmark]
|
||||||
fn do_something() {
|
fn do_something() {
|
||||||
let value = 100u32.into();
|
let value = 100u32;
|
||||||
let caller: T::AccountId = whitelisted_caller();
|
let caller: T::AccountId = whitelisted_caller();
|
||||||
#[extrinsic_call]
|
#[extrinsic_call]
|
||||||
do_something(RawOrigin::Signed(caller), value);
|
do_something(RawOrigin::Signed(caller), value);
|
||||||
|
|||||||
@@ -1,8 +1,5 @@
|
|||||||
use crate as pallet_template;
|
use crate as pallet_template;
|
||||||
use frame_support::{
|
use frame_support::{derive_impl, traits::ConstU16};
|
||||||
derive_impl,
|
|
||||||
traits::{ConstU16, ConstU64},
|
|
||||||
};
|
|
||||||
use sp_core::H256;
|
use sp_core::H256;
|
||||||
use sp_runtime::{
|
use sp_runtime::{
|
||||||
traits::{BlakeTwo256, IdentityLookup},
|
traits::{BlakeTwo256, IdentityLookup},
|
||||||
@@ -35,7 +32,6 @@ impl frame_system::Config for Test {
|
|||||||
type Lookup = IdentityLookup<Self::AccountId>;
|
type Lookup = IdentityLookup<Self::AccountId>;
|
||||||
type Block = Block;
|
type Block = Block;
|
||||||
type RuntimeEvent = RuntimeEvent;
|
type RuntimeEvent = RuntimeEvent;
|
||||||
type BlockHashCount = ConstU64<250>;
|
|
||||||
type Version = ();
|
type Version = ();
|
||||||
type PalletInfo = PalletInfo;
|
type PalletInfo = PalletInfo;
|
||||||
type AccountData = ();
|
type AccountData = ();
|
||||||
|
|||||||
+30
-33
@@ -1,22 +1,19 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "solochain-template-runtime"
|
name = "solochain-template-runtime"
|
||||||
description = "A solochain runtime template built with Substrate, part of Polkadot Sdk. (polkadot v1.12.0)"
|
description = "A solochain runtime template built with Substrate, part of Polkadot Sdk. (polkadot v1.13.0)"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
license = "MIT-0"
|
license = "Unlicense"
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
homepage.workspace = true
|
homepage.workspace = true
|
||||||
repository.workspace = true
|
repository.workspace = true
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
[lints]
|
|
||||||
workspace = true
|
|
||||||
|
|
||||||
[package.metadata.docs.rs]
|
[package.metadata.docs.rs]
|
||||||
targets = ["x86_64-unknown-linux-gnu"]
|
targets = ["x86_64-unknown-linux-gnu"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = [
|
codec = { package = "parity-scale-codec", version = "3.6.12", default-features = false, features = [
|
||||||
"derive",
|
"derive",
|
||||||
] }
|
] }
|
||||||
scale-info = { version = "2.11.1", default-features = false, features = [
|
scale-info = { version = "2.11.1", default-features = false, features = [
|
||||||
@@ -25,48 +22,48 @@ scale-info = { version = "2.11.1", default-features = false, features = [
|
|||||||
] }
|
] }
|
||||||
|
|
||||||
# frame
|
# frame
|
||||||
frame-support = { version = "34.0.0", default-features = false, features = ["experimental"] }
|
frame-support = { version = "35.0.0", default-features = false, features = ["experimental"] }
|
||||||
frame-system = { version = "34.0.0", default-features = false }
|
frame-system = { version = "35.0.0", default-features = false }
|
||||||
frame-try-runtime = { version = "0.40.0", default-features = false, optional = true }
|
frame-try-runtime = { version = "0.41.0", default-features = false, optional = true }
|
||||||
frame-executive = { version = "34.0.0", default-features = false }
|
frame-executive = { version = "35.0.0", default-features = false }
|
||||||
|
|
||||||
# frame pallets
|
# frame pallets
|
||||||
pallet-aura = { version = "33.0.0", default-features = false }
|
pallet-aura = { version = "34.0.0", default-features = false }
|
||||||
pallet-balances = { version = "35.0.0", default-features = false }
|
pallet-balances = { version = "36.0.0", default-features = false }
|
||||||
pallet-grandpa = { version = "34.0.0", default-features = false }
|
pallet-grandpa = { version = "35.0.0", default-features = false }
|
||||||
pallet-sudo = { version = "34.0.0", default-features = false }
|
pallet-sudo = { version = "35.0.0", default-features = false }
|
||||||
pallet-timestamp = { version = "33.0.0", default-features = false }
|
pallet-timestamp = { version = "34.0.0", default-features = false }
|
||||||
pallet-transaction-payment = { version = "34.0.0", default-features = false }
|
pallet-transaction-payment = { version = "35.0.0", default-features = false }
|
||||||
|
|
||||||
# primitives
|
# primitives
|
||||||
sp-api = { version = "32.0.0", default-features = false }
|
sp-api = { version = "33.0.0", default-features = false }
|
||||||
sp-block-builder = { version = "32.0.0", default-features = false }
|
sp-block-builder = { version = "33.0.0", default-features = false }
|
||||||
sp-consensus-aura = { version = "0.38.0", default-features = false, features = ["serde"] }
|
sp-consensus-aura = { version = "0.39.0", default-features = false, features = ["serde"] }
|
||||||
sp-consensus-grandpa = { version = "19.0.0", default-features = false, features = ["serde"] }
|
sp-consensus-grandpa = { version = "20.0.0", default-features = false, features = ["serde"] }
|
||||||
sp-core = { version = "33.0.1", default-features = false, features = ["serde"] }
|
sp-core = { version = "34.0.0", default-features = false, features = ["serde"] }
|
||||||
sp-inherents = { version = "32.0.0", default-features = false }
|
sp-inherents = { version = "33.0.0", default-features = false }
|
||||||
sp-offchain = { version = "32.0.0", default-features = false }
|
sp-offchain = { version = "33.0.0", default-features = false }
|
||||||
sp-runtime = { version = "37.0.0", default-features = false, features = ["serde"] }
|
sp-runtime = { version = "38.0.0", default-features = false, features = ["serde"] }
|
||||||
sp-session = { version = "33.0.0", default-features = false }
|
sp-session = { version = "34.0.0", default-features = false }
|
||||||
sp-std = { version = "14.0.0", default-features = false }
|
sp-std = { version = "14.0.0", default-features = false }
|
||||||
sp-storage = { version = "21.0.0", default-features = false }
|
sp-storage = { version = "21.0.0", default-features = false }
|
||||||
sp-transaction-pool = { version = "32.0.0", default-features = false }
|
sp-transaction-pool = { version = "33.0.0", default-features = false }
|
||||||
sp-version = { version = "35.0.0", default-features = false, features = ["serde"] }
|
sp-version = { version = "36.0.0", default-features = false, features = ["serde"] }
|
||||||
sp-genesis-builder = { version = "0.13.0", default-features = false }
|
sp-genesis-builder = { version = "0.14.0", default-features = false }
|
||||||
|
|
||||||
# RPC related
|
# RPC related
|
||||||
frame-system-rpc-runtime-api = { version = "32.0.0", default-features = false }
|
frame-system-rpc-runtime-api = { version = "33.0.0", default-features = false }
|
||||||
pallet-transaction-payment-rpc-runtime-api = { version = "34.0.0", default-features = false }
|
pallet-transaction-payment-rpc-runtime-api = { version = "35.0.0", default-features = false }
|
||||||
|
|
||||||
# Used for runtime benchmarking
|
# Used for runtime benchmarking
|
||||||
frame-benchmarking = { version = "34.0.0", default-features = false, optional = true }
|
frame-benchmarking = { version = "35.0.0", default-features = false, optional = true }
|
||||||
frame-system-benchmarking = { version = "34.0.0", default-features = false, optional = true }
|
frame-system-benchmarking = { version = "35.0.0", default-features = false, optional = true }
|
||||||
|
|
||||||
# The pallet in this template.
|
# The pallet in this template.
|
||||||
pallet-template = { path = "../pallets/template", default-features = false, version = "0.1.0" }
|
pallet-template = { path = "../pallets/template", default-features = false, version = "0.1.0" }
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
substrate-wasm-builder = { version = "22.0.0", optional = true }
|
substrate-wasm-builder = { version = "23.0.0", optional = true }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["std"]
|
default = ["std"]
|
||||||
|
|||||||
Reference in New Issue
Block a user