mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 09:21:04 +00:00
5487ce7687
* Dex and payment by dex in westmint * Wrap U256 type for now (to support required traits.) * cargo fmt * We can now use U256 * Rename PromotedBalance * name change * Updating the code to master. TODO: handle dust! * cargo fmt * Minimising changes and step towards getting benchmarks compiling (still a From<u32> bound in the pallet) * minimise diff * Update parachains/runtimes/assets/westmint/src/lib.rs Co-authored-by: Jegor Sidorenko <5252494+jsidorenko@users.noreply.github.com> * Update parachains/runtimes/assets/westmint/src/lib.rs Co-authored-by: Jegor Sidorenko <5252494+jsidorenko@users.noreply.github.com> * Update parachains/common/src/impls.rs Co-authored-by: Jegor Sidorenko <5252494+jsidorenko@users.noreply.github.com> * Fix benchmark build * Add in AssetConversionAPI * Handle dust * cargo fmt * Don't need to be explicit that it's AccountId32 * remove pool setup fee (Asset deposit fees are a sufficient anti-spam measure) * More natural way to specify native * cargo fmt * Update parachains/runtimes/assets/westmint/src/lib.rs * Additional required impls * either form of multilocation should be acceptable. * add call filter exclusion * Fix typo & try_convert now fails if native is converted * merge master fixup * Fix: HoldReason should be there. * Box MultiAssetId Otherwise it blows out the Call enum memory size. * cargo fmt * update lock file * add std feature, update lock file * need to turn on std on common * adding in westmint tests * WeightToFee must be from the destination chain. * cargo fmt * account for higher ED on westmint * type removed as not used * cargo fmt * remove unused import * minimising diff * import needed only with feature enabled * use multilocation contains * move the impls to separate file * simplify on conversion * simplify on reverse conversion also. * rename var * clippy * removed dead code * cargo fmt * Use pay by swap * review suggestions * cargo fmt * Update parachains/runtimes/assets/asset-hub-westend/src/lib.rs Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com> * add benchmarks for new assets pallet * revert common/src changes * need a concrete id * more fixes * lock --------- Co-authored-by: Jegor Sidorenko <5252494+jsidorenko@users.noreply.github.com> Co-authored-by: joepetrowski <joe@parity.io> Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
65 lines
3.2 KiB
TOML
65 lines
3.2 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.8.0", default-features = false, features = ["derive"] }
|
|
num-traits = { version = "0.2", default-features = false}
|
|
|
|
# Substrate
|
|
frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" }
|
|
frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" }
|
|
pallet-asset-tx-payment = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" }
|
|
pallet-assets = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" }
|
|
pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" }
|
|
pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" }
|
|
sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" }
|
|
sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" }
|
|
sp-io = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" }
|
|
sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" }
|
|
sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" }
|
|
|
|
# Polkadot
|
|
polkadot-primitives = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
|
|
xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
|
|
xcm-builder = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
|
|
xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" }
|
|
|
|
# Cumulus
|
|
pallet-collator-selection = { path = "../../pallets/collator-selection", default-features = false }
|
|
cumulus-primitives-core = { path = "../../primitives/core", 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 = [
|
|
"frame-support/std",
|
|
"frame-system/std",
|
|
"pallet-assets/std",
|
|
"pallet-authorship/std",
|
|
"pallet-balances/std",
|
|
"polkadot-primitives/std",
|
|
"sp-consensus-aura/std",
|
|
"sp-io/std",
|
|
"sp-std/std",
|
|
"pallet-collator-selection/std",
|
|
"cumulus-primitives-core/std",
|
|
"cumulus-primitives-utility/std",
|
|
"xcm/std",
|
|
"xcm-executor/std",
|
|
]
|