Skip to content

Commit

Permalink
Merge pull request #57 from toints/optimize
Browse files Browse the repository at this point in the history
Feat: Added the functionality to distribute profits from parachain to the treasury account of the relayChain
  • Loading branch information
Acaishiba authored Mar 4, 2024
2 parents 41569b3 + 235e57e commit 9a74a70
Show file tree
Hide file tree
Showing 5 changed files with 267 additions and 41 deletions.
69 changes: 37 additions & 32 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions pallets/liquidation/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ smallvec = { workspace = true }
pallet-order = {path = "../order", default-features = false}
pallet-pot = {path = "../pot", default-features = false}
mp-system = { path = "../../primitives/system", default-features = false }
pallet-xcm = {path = "../pallet-xcm", default-features = false}

pallet-balances = { workspace = true, default-features = false }
pallet-transaction-payment = { workspace = true, default-features = false }
Expand All @@ -35,6 +36,10 @@ frame-support = { workspace = true, default-features = false }
frame-system = { workspace = true, default-features = false }
frame-benchmarking = { workspace = true, default-features = false, optional = true}
pallet-utility = { workspace = true, default-features = false}
xcm = { workspace = true, default-features = false}
xcm-builder = { workspace = true, default-features = false}
cumulus-pallet-xcmp-queue = { workspace = true, default-features = false}
xcm-executor = { workspace = true, default-features = false}

[features]
default = ['std']
Expand All @@ -58,6 +63,11 @@ std = [
"mp-system/std",
"pallet-utility/std",
"frame-benchmarking/std",
"pallet-xcm/std",
"xcm/std",
"xcm-builder/std",
"cumulus-pallet-xcmp-queue/std",
"xcm-executor/std",
]
try-runtime = [
"frame-support/try-runtime",
Expand Down
Loading

0 comments on commit 9a74a70

Please sign in to comment.