mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 20:27:58 +00:00
Introduce add_memo for Crowdloans (#2728)
* Add memo, but don't use it yet * add_memo * add weights * Update lib.rs * Update crowdloan.rs * add event
This commit is contained in:
@@ -216,7 +216,7 @@ parameter_types! {
|
||||
pub const MinContribution: Balance = 1;
|
||||
pub const RetirementPeriod: BlockNumber = 10;
|
||||
pub const RemoveKeysLimit: u32 = 100;
|
||||
|
||||
pub const MaxMemoLength: u8 = 32;
|
||||
}
|
||||
|
||||
impl crowdloan::Config for Test {
|
||||
@@ -229,6 +229,7 @@ impl crowdloan::Config for Test {
|
||||
type RemoveKeysLimit = RemoveKeysLimit;
|
||||
type Registrar = Registrar;
|
||||
type Auctioneer = Auctions;
|
||||
type MaxMemoLength = MaxMemoLength;
|
||||
type WeightInfo = crate::crowdloan::TestWeightInfo;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user