Support paying DOT as a fee (#404)

* generic template implemented

* support pay do as a fee

* update locks with latest fixes

* docs & tests

* fix clippy

* fix fmt
This commit is contained in:
Nikita Khateev
2025-02-18 07:09:43 +04:00
committed by GitHub
parent 268bb2dd12
commit d953d959e6
16 changed files with 354 additions and 26 deletions
+35 -2
View File
@@ -3870,10 +3870,13 @@ dependencies = [
"nimbus-primitives",
"openzeppelin-pallet-abstractions",
"openzeppelin-pallet-abstractions-proc",
"orml-oracle",
"orml-oracle-runtime-api",
"orml-traits",
"orml-xcm-support",
"orml-xtokens",
"pallet-asset-manager",
"pallet-asset-tx-payment",
"pallet-assets",
"pallet-aura",
"pallet-author-inherent",
@@ -3882,6 +3885,7 @@ dependencies = [
"pallet-cc-authorities-noting",
"pallet-collator-selection",
"pallet-conviction-voting",
"pallet-membership",
"pallet-message-queue",
"pallet-multisig",
"pallet-preimage",
@@ -6790,7 +6794,7 @@ dependencies = [
[[package]]
name = "openzeppelin-pallet-abstractions"
version = "0.1.0"
source = "git+https://github.com/OpenZeppelin/openzeppelin-pallet-abstractions?tag=v0.1-rc3#130bff8b34d6d4f10885e0691614f57a59f3ecab"
source = "git+https://github.com/OpenZeppelin/openzeppelin-pallet-abstractions?branch=dot-as-a-fee-fixes#2e88d23d3d336d4c65b039c431ea3219e8e3b856"
dependencies = [
"cumulus-primitives-core",
"frame-support",
@@ -6803,7 +6807,7 @@ dependencies = [
[[package]]
name = "openzeppelin-pallet-abstractions-proc"
version = "0.1.0"
source = "git+https://github.com/OpenZeppelin/openzeppelin-pallet-abstractions?tag=v0.1-rc3#130bff8b34d6d4f10885e0691614f57a59f3ecab"
source = "git+https://github.com/OpenZeppelin/openzeppelin-pallet-abstractions?branch=dot-as-a-fee-fixes#2e88d23d3d336d4c65b039c431ea3219e8e3b856"
dependencies = [
"darling",
"openzeppelin-pallet-abstractions",
@@ -6860,6 +6864,35 @@ dependencies = [
"num-traits",
]
[[package]]
name = "orml-oracle"
version = "0.10.0"
source = "git+https://github.com/OpenZeppelin/open-runtime-module-library?branch=polkadot-stable2407-1#aafe9077c9ec61dd8b3a42e899ef8353b2b050c0"
dependencies = [
"frame-benchmarking",
"frame-support",
"frame-system",
"orml-traits",
"orml-utilities",
"parity-scale-codec",
"scale-info",
"serde",
"sp-application-crypto",
"sp-io",
"sp-runtime",
"sp-std",
]
[[package]]
name = "orml-oracle-runtime-api"
version = "0.10.0"
source = "git+https://github.com/OpenZeppelin/open-runtime-module-library?branch=polkadot-stable2407-1#aafe9077c9ec61dd8b3a42e899ef8353b2b050c0"
dependencies = [
"parity-scale-codec",
"sp-api",
"sp-std",
]
[[package]]
name = "orml-traits"
version = "0.10.0"