Skip to content

Switch to assets pallet#112

Merged
stanly-johnson merged 9 commits intovirto-network:masterfrom
stanly-johnson:switch-to-assets-pallet
Jun 7, 2021
Merged

Switch to assets pallet#112
stanly-johnson merged 9 commits intovirto-network:masterfrom
stanly-johnson:switch-to-assets-pallet

Conversation

@stanly-johnson
Copy link
Copy Markdown
Member

@stanly-johnson stanly-johnson commented Jun 5, 2021

Use pallet-assets to generate tokens

  • removes orml-tokens
  • adds pallet-balances, pallet-transaction-payment, pallet-assets
  • convert escrow pallet to use fungible::* traits

resolves #84

@stanly-johnson stanly-johnson requested a review from olanod June 5, 2021 16:32
Copy link
Copy Markdown
Member

@olanod olanod left a comment

Choose a reason for hiding this comment

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

About the escrow I think we can still keep it around already changing the implementation to depend on one of the fungible traits that has the minimum functionality we might need(e.g. https://github.com/paritytech/substrate/blob/master/frame/support/src/traits/tokens/fungibles.rs#L153) and then instantiate it with a dummy(e.g. Asset = ()if()` implements the trait)

Copy link
Copy Markdown
Member

@olanod olanod left a comment

Choose a reason for hiding this comment

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

😃👌🏽

@stanly-johnson stanly-johnson merged commit 5201741 into virto-network:master Jun 7, 2021
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.

Replace tokens pallet instance with assets

2 participants