Skeleton ruintime with new types

This commit is contained in:
Luke Parker
2025-02-26 14:16:04 -05:00
parent ed9cbdd8e0
commit 48f5ed71d7
8 changed files with 296 additions and 554 deletions

View File

@@ -0,0 +1,19 @@
#[frame_support::pallet]
mod core_pallet {
use ::alloc::*;
use frame_system::pallet_prelude::*;
use frame_support::pallet_prelude::*;
#[pallet::storage]
pub type NextNonce<T: Config> =
StorageMap<_, Blake2_128Concat, T::AccountId, T::Nonce, ValueQuery>;
#[pallet::storage]
pub type Blocks<T: Config> = StorageMap<_, Identity, T::Hash, (), OptionQuery>;
#[pallet::config]
pub trait Config: frame_system::Config {}
#[pallet::pallet]
pub struct Pallet<T>(_);
}
pub(super) use core_pallet::*;