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

Update orml-unknown-tokens unit test #419

Closed
shaunxw opened this issue Mar 24, 2021 · 0 comments · Fixed by #421
Closed

Update orml-unknown-tokens unit test #419

shaunxw opened this issue Mar 24, 2021 · 0 comments · Fixed by #421

Comments

@shaunxw
Copy link
Member

shaunxw commented Mar 24, 2021

With paritytech/substrate#8407, the DispatchError equality comparison workaround is not needed any more.

fn convert_err(err: DispatchError) -> DispatchError {
DispatchError::decode(&mut &err.encode()[..]).expect("encode then decode cannot fail")
}

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 a pull request may close this issue.

1 participant