Skip to content

Update orml-unknown-tokens unit test #419

@shaunxw

Description

@shaunxw

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")
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions