-
Notifications
You must be signed in to change notification settings - Fork 106
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
Add xcm recorder to all runtimes #576
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm.
Was this related to the dry run API not returning proper values in the past?
@@ -189,7 +189,7 @@ pub struct XcmConfig; | |||
impl xcm_executor::Config for XcmConfig { | |||
type RuntimeCall = RuntimeCall; | |||
type XcmSender = XcmRouter; | |||
type XcmRecorder = (); | |||
type XcmRecorder = XcmPallet; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe we could regenerate xcm weights also, this adds one more read :),
but also we can leave it to the next time
Yes |
/merge |
Enabled Available commands
For more information see the documentation |
The
XcmRecorder
config item is necessary for theDryRunApi
to return thelocal_xcm
.pallet-xcm
can be used as the implementation.Added it to all runtimes.