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

refactor: pallet improvements and xyk pallet #242

Merged
merged 13 commits into from May 18, 2021

Conversation

enthusiastmartin
Copy link
Contributor

Description

Amm pallet refactor to remove HDX references and use of native asset instead.

Added XYK pallet - basically amm pallet renamed and amm pallet will be eventually replaced by this new xyk pallet ( first it needs few clarifications) and amm deprecated.

Few other minor code improvements as well.

Motivation and Context

Some pallets are used in basilisk node too where there is other than HDX asset as native currency. So it would make sense to remove hdx references from the code to be more generic.

How Has This Been Tested?

Tests.

pallets/amm/src/lib.rs Outdated Show resolved Hide resolved
pallets/amm/src/lib.rs Outdated Show resolved Hide resolved
pallets/amm/src/lib.rs Outdated Show resolved Hide resolved
@jak-pan
Copy link
Contributor

jak-pan commented May 4, 2021

Let's remove amm

@enthusiastmartin
Copy link
Contributor Author

Let's remove amm

ready. Should I test it in some specific way? obviously it is ok when starting a new chain.

@mrq1911
Copy link
Member

mrq1911 commented May 18, 2021

@enthusiastmartin LGTM

@enthusiastmartin enthusiastmartin merged commit f57debc into master May 18, 2021
@enthusiastmartin enthusiastmartin deleted the refactor/pallets_improvements branch May 18, 2021 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants