polkadot-runtime-template icon indicating copy to clipboard operation
polkadot-runtime-template copied to clipboard

🐞 [Bug]: Usage of depreciated CurrencyAdapter in transaction_payment

Open KitHat opened this issue 1 year ago • 1 comments

templates

  • [X] Generic Runtime Template
  • [X] Evm Template

What happened?

The runtime configuration for pallet_transaction_payment relies on deprecated (since v1.6.0) CurrencyAdapter [16]. The discrepancy this introduces may result in unexpected behavior and inconsistencies when calculating transferable balances.

Expected behavior

We recommend migrating to the supported FungibleAdapter and Fungible traits.

Contribution Guidelines

  • [X] I agree to follow this project's Contribution Guidelines

KitHat avatar Jul 19 '24 05:07 KitHat

Blocked until we upgrade dependencies to include pallet_transaction_payment::FungibleAdapter in the dependencies

Checked and our current pinned commit for polkadot-sdk does not include the suggested config type pallet_transaction_payment::FungibleAdapater

4meta5 avatar Jul 20 '24 18:07 4meta5

Closed by a recent dep update

4meta5 avatar Oct 09 '24 20:10 4meta5