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

fix: default to xcmPallet #442

Merged
merged 5 commits into from
Oct 4, 2024
Merged

fix: default to xcmPallet #442

merged 5 commits into from
Oct 4, 2024

Conversation

marshacb
Copy link
Contributor

@marshacb marshacb commented Oct 4, 2024

Changes

This PR refactors existing pallet selection logic to default to palletXcm rather than the xTokens pallet when both are available in the runtime. It also adds an additional option to the TransferArgsOpts called xcmPalletOverride to allow users to manually select palletXcm or xTokens pallets to construct a tx.

@marshacb marshacb changed the title fix: default to xcmPallet [WIP]fix: default to xcmPallet Oct 4, 2024
@marshacb marshacb changed the title [WIP]fix: default to xcmPallet fix[WIP]: default to xcmPallet Oct 4, 2024
@marshacb marshacb changed the title fix[WIP]: default to xcmPallet fix: default to xcmPallet Oct 4, 2024
@marshacb marshacb requested review from TarikGul and bee344 October 4, 2024 16:24
Copy link
Contributor

@bee344 bee344 left a comment

Choose a reason for hiding this comment

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

LGTM

README.md Outdated Show resolved Hide resolved
src/types.ts Outdated Show resolved Hide resolved
Copy link
Member

@TarikGul TarikGul left a comment

Choose a reason for hiding this comment

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

LGTM, just some small nits with the docs

@marshacb marshacb merged commit 81904a2 into main Oct 4, 2024
6 checks passed
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.

3 participants