Custom 'CallDispatcher' to support EVM calls via XCM
shaunxw opened this issue · 0 comments
shaunxw commented
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.