Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
polkadot
Commits
9a49dd26
Unverified
Commit
9a49dd26
authored
May 20, 2021
by
Shawn Tabrizi
Committed by
GitHub
May 20, 2021
Browse files
Add `OnSwap` hook for crowdloans. (#3017)
parent
41f8909f
Pipeline
#138882
passed with stages
in 26 minutes and 57 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
runtime/kusama/src/lib.rs
View file @
9a49dd26
...
@@ -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
;
...
...
runtime/westend/src/lib.rs
View file @
9a49dd26
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment