Update to 1.13.0 triggered by workflow_dispatch

This commit is contained in:
Template Bot
2024-06-24 12:50:56 +00:00
parent 8ef4cfcfad
commit 22576ee44f
12 changed files with 620 additions and 675 deletions
+9 -12
View File
@@ -1,22 +1,19 @@
[package]
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"
license = "MIT-0"
license = "Unlicense"
authors.workspace = true
homepage.workspace = true
repository.workspace = true
edition.workspace = true
publish = false
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[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",
] }
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-benchmarking = { version = "34.0.0", default-features = false, optional = true }
frame-support = { version = "34.0.0", default-features = false }
frame-system = { version = "34.0.0", default-features = false }
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 }
[dev-dependencies]
sp-core = { version = "33.0.1" }
sp-io = { version = "36.0.0" }
sp-runtime = { version = "37.0.0" }
sp-core = { version = "34.0.0" }
sp-io = { version = "37.0.0" }
sp-runtime = { version = "38.0.0" }
[features]
default = ["std"]
+1 -1
View File
@@ -13,7 +13,7 @@ mod benchmarks {
#[benchmark]
fn do_something() {
let value = 100u32.into();
let value = 100u32;
let caller: T::AccountId = whitelisted_caller();
#[extrinsic_call]
do_something(RawOrigin::Signed(caller), value);
+1 -5
View File
@@ -1,8 +1,5 @@
use crate as pallet_template;
use frame_support::{
derive_impl,
traits::{ConstU16, ConstU64},
};
use frame_support::{derive_impl, traits::ConstU16};
use sp_core::H256;
use sp_runtime::{
traits::{BlakeTwo256, IdentityLookup},
@@ -35,7 +32,6 @@ impl frame_system::Config for Test {
type Lookup = IdentityLookup<Self::AccountId>;
type Block = Block;
type RuntimeEvent = RuntimeEvent;
type BlockHashCount = ConstU64<250>;
type Version = ();
type PalletInfo = PalletInfo;
type AccountData = ();