mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-01 03:07:56 +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:
@@ -660,6 +660,8 @@ parameter_types! {
|
||||
pub const MinContribution: Balance = 1 * DOLLARS;
|
||||
pub const RetirementPeriod: BlockNumber = 6 * HOURS;
|
||||
pub const RemoveKeysLimit: u32 = 500;
|
||||
// Allow 32 bytes for an additional memo to a crowdloan.
|
||||
pub const MaxMemoLength: u8 = 32;
|
||||
}
|
||||
|
||||
impl crowdloan::Config for Runtime {
|
||||
@@ -672,6 +674,7 @@ impl crowdloan::Config for Runtime {
|
||||
type RemoveKeysLimit = RemoveKeysLimit;
|
||||
type Registrar = Registrar;
|
||||
type Auctioneer = Auctions;
|
||||
type MaxMemoLength = MaxMemoLength;
|
||||
type WeightInfo = crowdloan::TestWeightInfo;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user