Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce EVMFungibleAdapter #1282

Conversation

ahmadkaouk
Copy link
Contributor

@ahmadkaouk ahmadkaouk commented Jan 19, 2024

Introduce EVMFungibleAdapter, equivalent to EVMCurrencyAdapter but for fungible traits. This is in preparation for the deprecation of the Currency Trait and migration to fungible (see paritytech/polkadot-sdk#226).

Similar to FungibleAdapter of pallet_transaction_payment here.

@ahmadkaouk ahmadkaouk marked this pull request as ready for review January 22, 2024 10:45
@ahmadkaouk ahmadkaouk requested a review from sorpaas as a code owner January 22, 2024 10:45
@ahmadkaouk ahmadkaouk changed the title New EVMFungibleAdapter struct Introduce EVMFungibleAdapter Jan 22, 2024
@boundless-forest
Copy link
Collaborator

boundless-forest commented Apr 29, 2024

Please merge this to master! @ahmadkaouk Thanks.

I just find this is a critically broken change for the users of this repo.

@boundless-forest boundless-forest linked an issue Apr 29, 2024 that may be closed by this pull request
Copy link

@benefacto benefacto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Our team would also appreciate having this changed merged as soon as possible as pallet_transaction_payment::CurrencyAdapter is already documented as deprecated and overdue to be removed entirely (March 2024).

@boundless-forest boundless-forest merged commit 9af8d5b into polkadot-evm:master May 6, 2024
4 checks passed
boundless-forest pushed a commit to darwinia-network/frontier that referenced this pull request May 7, 2024
* new EVMFungibleAdapter struct

* Update comment
AurevoirXavier pushed a commit to darwinia-network/frontier that referenced this pull request May 7, 2024
* new EVMFungibleAdapter struct

* Update comment

Co-authored-by: Ahmad Kaouk <[email protected]>
AurevoirXavier pushed a commit to darwinia-network/frontier that referenced this pull request Jun 25, 2024
* new EVMFungibleAdapter struct

* Update comment

Co-authored-by: Ahmad Kaouk <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fix balance inconsistency
3 participants