Skip to content

Commit

Permalink
remove without_storage_info macro
Browse files Browse the repository at this point in the history
  • Loading branch information
Roznovjak committed Jul 4, 2023
1 parent 5c866a7 commit c45b14d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 14 deletions.
20 changes: 10 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pallets/lbp/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pallet-lbp"
version = "4.6.12"
version = "4.6.13"
description = "HydraDX Liquidity Bootstrapping Pool Pallet"
authors = ["GalacticCouncil"]
edition = "2021"
Expand Down
5 changes: 2 additions & 3 deletions pallets/lbp/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#![allow(clippy::type_complexity)]
#![allow(clippy::too_many_arguments)]

use codec::{Decode, Encode};
use codec::{Decode, Encode, MaxEncodedLen};
use frame_support::sp_runtime::{
traits::{AtLeast32BitUnsigned, BlockNumberProvider, Saturating, Zero},
DispatchError, RuntimeDebug,
Expand Down Expand Up @@ -90,7 +90,7 @@ pub const MAX_SALE_DURATION: u32 = (60 * 60 * 24 / 6) * 14;
pub const COLLECTOR_LOCK_ID: LockIdentifier = *b"lbpcllct";

#[cfg_attr(feature = "std", derive(Serialize, Deserialize))]
#[derive(RuntimeDebug, Encode, Decode, Clone, PartialEq, Eq, TypeInfo)]
#[derive(RuntimeDebug, Encode, Decode, Clone, PartialEq, Eq, TypeInfo, MaxEncodedLen)]
pub struct Pool<AccountId, BlockNumber: AtLeast32BitUnsigned + Copy> {
/// owner of the pool after `CreatePoolOrigin` creates it
pub owner: AccountId,
Expand Down Expand Up @@ -182,7 +182,6 @@ pub mod pallet {
use frame_system::pallet_prelude::OriginFor;

#[pallet::pallet]
#[pallet::without_storage_info]
pub struct Pallet<T>(_);

#[pallet::config]
Expand Down

0 comments on commit c45b14d

Please sign in to comment.