Skip to content

Custom 'CallDispatcher' to support EVM calls via XCM #1030

@shaunxw

Description

@shaunxw

The pallet-ethereum-checked module makes it possible to call EVM remotely via XCM. To make sure the transact dispatchable call is only called via XCM, it’s designed to require a custom Origin, namely RawOrigin::XcmEthereumTx.

Currently, the CallDispatcher in XCM executor config uses the default RuntimeCall dispatcher for all XCM transacts. We'll need a custom one to convert the default signed to XcmEthereumTx for EVM calls.

In addition, EVM tracing needs to be taken into consideration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    projectIssue is part of an ongoing projectshibuyarelated to shibuya

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions