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

homa-lite: update cross-chain transfer #1341

Merged
merged 3 commits into from
Aug 18, 2021
Merged

Conversation

shaunxw
Copy link
Contributor

@shaunxw shaunxw commented Aug 17, 2021

No description provided.

@shaunxw shaunxw requested review from xlc and syan095 August 17, 2021 23:01
Error::<T>::XcmTransferFailed
);
)
.map_err(|_| Error::<T>::XcmTransferFailed)?;
Copy link
Member

Choose a reason for hiding this comment

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

do we need to map the error (and drop original error), or we can throw the original error?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Right, we can throw the original error now, as transfer now returns a dispatch error. Will update.

@shaunxw shaunxw enabled auto-merge (squash) August 18, 2021 01:54
@shaunxw shaunxw disabled auto-merge August 18, 2021 01:54
@shaunxw shaunxw merged commit 25b6d56 into master Aug 18, 2021
@shaunxw shaunxw deleted the sw/homa-lite-transfer branch August 18, 2021 01:55
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