mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 12:11:09 +00:00
Moving pallet-asset-tx-payment from cumulus to substrate (#10127)
* Moving `pallet-asset-tx-payment` from cumulus * move pallet-asset-tx-payment into transaction payment directory * cargo +nightly fmt * Adding `pallet-asset-tx-payment` to node runtime I had to change the Balance type to u128. Also harmonised that pallet's version * Updating cargo.lock after merge * forgot this * Adding tx-payment signature * Missed one more * `transaction-payment` replaced in`SignedExtension` by `asset-tx-payment` and not added * Fixing benches * add test to verify that we don't charge on post-dispatch if we didn't on pre-dispatch * add (failing) test for asset tx payment of unsigned extrinsics * fix test by removing debug_assert * cargo +nightly fmt * typo in `Cargo.lock` * Object defined twice in lock file * cargo update * remove todo * Apply formatting suggestions from code review Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com> * Refactoring `post_dispatch` of `asset-tx-payment` to reuse `post_dispatch` of `transaction-payment` if the fee asset is native Removing unneeded imports. * Removing redundant `TODO` * Reverting an accidental bump of `impl-serde` from `0.3.1` to `0.3.2` * Revert unneeded changes to `cargo.lock` * Update frame/transaction-payment/asset-tx-payment/src/payment.rs Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com> * Fixing cargo fmt Reverting changes which broke cargo fmt Co-authored-by: Alexander Popiak <alexander.popiak@parity.io> Co-authored-by: Alexander Popiak <alexander.popiak@gmail.com> Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
This commit is contained in:
Generated
+26
@@ -4536,6 +4536,7 @@ dependencies = [
|
||||
"node-primitives",
|
||||
"node-rpc",
|
||||
"node-runtime",
|
||||
"pallet-asset-tx-payment",
|
||||
"pallet-balances",
|
||||
"pallet-im-online",
|
||||
"pallet-timestamp",
|
||||
@@ -4701,6 +4702,7 @@ dependencies = [
|
||||
"hex-literal",
|
||||
"log 0.4.14",
|
||||
"node-primitives",
|
||||
"pallet-asset-tx-payment",
|
||||
"pallet-assets",
|
||||
"pallet-authority-discovery",
|
||||
"pallet-authorship",
|
||||
@@ -4861,6 +4863,7 @@ dependencies = [
|
||||
"node-executor",
|
||||
"node-primitives",
|
||||
"node-runtime",
|
||||
"pallet-asset-tx-payment",
|
||||
"pallet-transaction-payment",
|
||||
"parity-scale-codec",
|
||||
"sc-block-builder",
|
||||
@@ -5104,6 +5107,28 @@ dependencies = [
|
||||
"stable_deref_trait",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "pallet-asset-tx-payment"
|
||||
version = "4.0.0-dev"
|
||||
dependencies = [
|
||||
"frame-support",
|
||||
"frame-system",
|
||||
"pallet-assets",
|
||||
"pallet-authorship",
|
||||
"pallet-balances",
|
||||
"pallet-transaction-payment",
|
||||
"parity-scale-codec",
|
||||
"scale-info",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"smallvec 1.7.0",
|
||||
"sp-core",
|
||||
"sp-io",
|
||||
"sp-runtime",
|
||||
"sp-std",
|
||||
"sp-storage",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "pallet-assets"
|
||||
version = "4.0.0-dev"
|
||||
@@ -10420,6 +10445,7 @@ dependencies = [
|
||||
"node-cli",
|
||||
"node-primitives",
|
||||
"node-runtime",
|
||||
"pallet-asset-tx-payment",
|
||||
"pallet-transaction-payment",
|
||||
"sc-consensus",
|
||||
"sc-consensus-babe",
|
||||
|
||||
Reference in New Issue
Block a user