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

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

Open
shaunxw opened this issue Sep 26, 2023 · 0 comments
Open

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

shaunxw opened this issue Sep 26, 2023 · 0 comments
Labels
project Issue is part of an ongoing project shibuya related to shibuya

Comments

@shaunxw
Copy link
Member

shaunxw commented Sep 26, 2023

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.

@shaunxw shaunxw added shibuya related to shibuya project Issue is part of an ongoing project labels Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
project Issue is part of an ongoing project shibuya related to shibuya
Projects
None yet
Development

No branches or pull requests

1 participant