mirror of
https://github.com/pezkuwichain/pez-minimal-template.git
synced 2026-07-22 19:15:44 +00:00
[create-pull-request] automated change
This commit is contained in:
committed by
github-actions[bot]
parent
d7a09baa65
commit
34a0e0a0e5
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "pallet-minimal-template"
|
||||
description = "A minimal pallet built with FRAME, part of Polkadot Sdk. (polkadot v1.15.0)"
|
||||
description = "A minimal pallet built with FRAME, part of Polkadot Sdk."
|
||||
version = "0.1.0"
|
||||
license = "Unlicense"
|
||||
authors.workspace = true
|
||||
@@ -13,15 +13,11 @@ publish = false
|
||||
targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
[dependencies]
|
||||
codec = { features = [
|
||||
"derive",
|
||||
], workspace = true }
|
||||
scale-info = { features = [
|
||||
"derive",
|
||||
], workspace = true }
|
||||
frame = { features = ["experimental", "runtime"], workspace = true }
|
||||
codec = { features = ["derive"], workspace = true }
|
||||
scale-info = { features = ["derive"], workspace = true }
|
||||
polkadot-sdk = { workspace = true, features = ["experimental", "runtime"], default-features = false }
|
||||
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = ["codec/std", "frame/std", "scale-info/std"]
|
||||
std = ["codec/std", "polkadot-sdk/std", "scale-info/std"]
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
|
||||
|
||||
## Release
|
||||
|
||||
Polkadot SDK stable2409
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
#![cfg_attr(not(feature = "std"), no_std)]
|
||||
|
||||
use frame::prelude::*;
|
||||
use polkadot_sdk::polkadot_sdk_frame as frame;
|
||||
|
||||
// Re-export all pallet parts, this is needed to properly import the pallet into the runtime.
|
||||
pub use pallet::*;
|
||||
@@ -15,7 +15,7 @@ pub mod pallet {
|
||||
use super::*;
|
||||
|
||||
#[pallet::config]
|
||||
pub trait Config: frame_system::Config {}
|
||||
pub trait Config: polkadot_sdk::frame_system::Config {}
|
||||
|
||||
#[pallet::pallet]
|
||||
pub struct Pallet<T>(_);
|
||||
|
||||
Reference in New Issue
Block a user