mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-09 23:28:00 +00:00
4d04eebb44
* point to my branch * girazoki-add-TakeFirstAssetTrader-to-utility * Commit lock * point at custom branch * add new trader to statemine runtimes * compiles * Back to master * Update last tomls * Imports up * remove non-needing imports * FMT * log messages properly * Use TakeRevenue instead of HandleCredit * Introduce xcm fee handler * check total supply in tests * FMT * fix test * Start decoupling balance calculation into different traits * Make traits a bit more generic * PR suggestions * add import * import well * Place xcmfeesassethandler into parachains common * fix tests * config parameters * Min amount to fee receiver * Make minimum amount for block author to be at least the ED * Doc in AssetFeeAsExistentialDepositMultiplier * saturating sub * make sure we dont enter twice * FMT * fmt again * adapt tests * Add doc and struct for weight refund * Doc * More doc * PR suggestions * store all info related to asset payment as multiasset * return AssetNotFound instead of TooExpensive * Use asset transactor to deposit fee * uninstall from statemint * R for RUntime and CON for BalanceConverter * Rework logic to avoid unnecesary match and error * Rework ED check, also in case of refund * rework typo * In case refund makes drop below ED, just refund the difference * fix test westmint * clone id * move test imports to preamble * move test imports to preamble * test-utils with builderS * lock file updated * remove unused imports Co-authored-by: Stephen Shelton <steve@brewcraft.org> Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com> Co-authored-by: joepetrowski <joe@parity.io>
68 lines
3.3 KiB
TOML
68 lines
3.3 KiB
TOML
[package]
|
|
name = "parachains-common"
|
|
version = "1.0.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2021"
|
|
description = "Logic which is common to all parachain runtimes"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
codec = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"], default-features = false }
|
|
scale-info = { version = "2.1.1", default-features = false, features = ["derive"] }
|
|
|
|
# Substrate
|
|
frame-executive = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-asset-tx-payment = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-assets = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
|
|
# Polkadot
|
|
polkadot-primitives = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
|
|
polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
|
|
xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
|
|
xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
|
|
xcm-builder = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
|
|
|
|
# Cumulus
|
|
pallet-collator-selection = { path = "../../pallets/collator-selection", default-features = false }
|
|
cumulus-primitives-utility = { path = "../../primitives/utility", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" }
|
|
sp-io = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" }
|
|
|
|
[build-dependencies]
|
|
substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"codec/std",
|
|
"scale-info/std",
|
|
"frame-executive/std",
|
|
"frame-support/std",
|
|
"frame-system/std",
|
|
"pallet-asset-tx-payment/std",
|
|
"pallet-assets/std",
|
|
"pallet-authorship/std",
|
|
"pallet-balances/std",
|
|
"polkadot-primitives/std",
|
|
"polkadot-runtime-common/std",
|
|
"sp-consensus-aura/std",
|
|
"sp-io/std",
|
|
"sp-std/std",
|
|
"pallet-collator-selection/std",
|
|
"cumulus-primitives-utility/std",
|
|
"xcm-builder/std"
|
|
]
|