mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-03 01:11:07 +00:00
Add OnSwap hook for crowdloans. (#3017)
This commit is contained in:
1 parent
6a0b7b4164
commit
25bbcfd724
2 files changed
+2
-2
No files matched your search
@@ -1087,7 +1087,7 @@ impl paras_registrar::Config for Runtime {
|
|||||||
type Event = Event;
|
type Event = Event;
|
||||||
type Origin = Origin;
|
type Origin = Origin;
|
||||||
type Currency = Balances;
|
type Currency = Balances;
|
||||||
type OnSwap = Slots;
|
type OnSwap = (Crowdloan, Slots);
|
||||||
type ParaDeposit = ParaDeposit;
|
type ParaDeposit = ParaDeposit;
|
||||||
type DataDepositPerByte = DataDepositPerByte;
|
type DataDepositPerByte = DataDepositPerByte;
|
||||||
type MaxCodeSize = MaxCodeSize;
|
type MaxCodeSize = MaxCodeSize;
|
||||||
|
|||||||
@@ -772,7 +772,7 @@ impl paras_registrar::Config for Runtime {
|
|||||||
type Event = Event;
|
type Event = Event;
|
||||||
type Origin = Origin;
|
type Origin = Origin;
|
||||||
type Currency = Balances;
|
type Currency = Balances;
|
||||||
type OnSwap = Slots;
|
type OnSwap = (Crowdloan, Slots);
|
||||||
type ParaDeposit = ParaDeposit;
|
type ParaDeposit = ParaDeposit;
|
||||||
type DataDepositPerByte = DataDepositPerByte;
|
type DataDepositPerByte = DataDepositPerByte;
|
||||||
type MaxCodeSize = MaxCodeSize;
|
type MaxCodeSize = MaxCodeSize;
|
||||||
|
|||||||
Reference in new issue
Block a user