Unverified Commit 9a49dd26 authored by Shawn Tabrizi's avatar Shawn Tabrizi Committed by GitHub
Browse files

Add `OnSwap` hook for crowdloans. (#3017)

parent 41f8909f
Pipeline #138882 passed with stages
in 26 minutes and 57 seconds
...@@ -1087,7 +1087,7 @@ impl paras_registrar::Config for Runtime { ...@@ -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 { ...@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment