mirror of
https://github.com/pezkuwichain/pez-solochain-template.git
synced 2026-04-22 02:08:04 +00:00
Update to 1.14.0 triggered by workflow_dispatch
This commit is contained in:
+11
-13
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "pallet-template"
|
||||
description = "FRAME pallet template for defining custom runtime logic. (polkadot v1.13.0)"
|
||||
description = "FRAME pallet template for defining custom runtime logic. (polkadot v1.14.0)"
|
||||
version = "0.1.0"
|
||||
license = "Unlicense"
|
||||
authors.workspace = true
|
||||
@@ -13,22 +13,20 @@ publish = false
|
||||
targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "3.6.12", default-features = false, features = [
|
||||
codec = { features = [
|
||||
"derive",
|
||||
] }
|
||||
scale-info = { version = "2.11.1", default-features = false, features = [
|
||||
], workspace = true }
|
||||
scale-info = { features = [
|
||||
"derive",
|
||||
] }
|
||||
|
||||
# frame deps
|
||||
frame-benchmarking = { version = "35.0.0", default-features = false, optional = true }
|
||||
frame-support = { version = "35.0.0", default-features = false }
|
||||
frame-system = { version = "35.0.0", default-features = false }
|
||||
], workspace = true }
|
||||
frame-benchmarking = { version = "36.0.0", optional = true, workspace = true }
|
||||
frame-support = { version = "36.0.0", workspace = true }
|
||||
frame-system = { version = "36.0.0", workspace = true }
|
||||
|
||||
[dev-dependencies]
|
||||
sp-core = { version = "34.0.0" }
|
||||
sp-io = { version = "37.0.0" }
|
||||
sp-runtime = { version = "38.0.0" }
|
||||
sp-core = { version = "34.0.0", default-features = true }
|
||||
sp-io = { version = "37.0.0", default-features = true }
|
||||
sp-runtime = { version = "38.0.0", default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
use crate as pallet_template;
|
||||
use frame_support::{derive_impl, traits::ConstU16};
|
||||
use sp_core::H256;
|
||||
use sp_runtime::{
|
||||
traits::{BlakeTwo256, IdentityLookup},
|
||||
BuildStorage,
|
||||
};
|
||||
use frame_support::derive_impl;
|
||||
use sp_runtime::BuildStorage;
|
||||
|
||||
type Block = frame_system::mocking::MockBlock<Test>;
|
||||
|
||||
@@ -19,28 +15,7 @@ frame_support::construct_runtime!(
|
||||
|
||||
#[derive_impl(frame_system::config_preludes::TestDefaultConfig)]
|
||||
impl frame_system::Config for Test {
|
||||
type BaseCallFilter = frame_support::traits::Everything;
|
||||
type BlockWeights = ();
|
||||
type BlockLength = ();
|
||||
type DbWeight = ();
|
||||
type RuntimeOrigin = RuntimeOrigin;
|
||||
type RuntimeCall = RuntimeCall;
|
||||
type Nonce = u64;
|
||||
type Hash = H256;
|
||||
type Hashing = BlakeTwo256;
|
||||
type AccountId = u64;
|
||||
type Lookup = IdentityLookup<Self::AccountId>;
|
||||
type Block = Block;
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
type Version = ();
|
||||
type PalletInfo = PalletInfo;
|
||||
type AccountData = ();
|
||||
type OnNewAccount = ();
|
||||
type OnKilledAccount = ();
|
||||
type SystemWeightInfo = ();
|
||||
type SS58Prefix = ConstU16<42>;
|
||||
type OnSetCode = ();
|
||||
type MaxConsumers = frame_support::traits::ConstU32<16>;
|
||||
}
|
||||
|
||||
impl pallet_template::Config for Test {
|
||||
|
||||
Reference in New Issue
Block a user