make weightinfo pub (#12074)

This commit is contained in:
Shawn Tabrizi
2022-08-19 18:08:31 +01:00
committed by GitHub
parent b0ff805740
commit b4caec7f31
+1 -1
View File
@@ -38,6 +38,7 @@ mod mock;
#[cfg(test)] #[cfg(test)]
mod tests; mod tests;
pub mod weights; pub mod weights;
pub use weights::WeightInfo;
use codec::{DecodeLimit, Encode, FullCodec}; use codec::{DecodeLimit, Encode, FullCodec};
use frame_support::{ use frame_support::{
@@ -54,7 +55,6 @@ pub use pallet::*;
#[frame_support::pallet] #[frame_support::pallet]
pub mod pallet { pub mod pallet {
use super::*; use super::*;
use crate::weights::WeightInfo;
use frame_support::pallet_prelude::*; use frame_support::pallet_prelude::*;
use frame_system::pallet_prelude::*; use frame_system::pallet_prelude::*;