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

Add xcm recorder to all runtimes #576

Merged
merged 3 commits into from
Feb 7, 2025

Conversation

franciscoaguirre
Copy link
Contributor

The XcmRecorder config item is necessary for the DryRunApi to return the local_xcm.
pallet-xcm can be used as the implementation.
Added it to all runtimes.

@franciscoaguirre franciscoaguirre mentioned this pull request Feb 4, 2025
6 tasks
Copy link
Contributor

@pandres95 pandres95 left a 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;
Copy link
Contributor

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

@franciscoaguirre
Copy link
Contributor Author

Lgtm.

Was this related to the dry run API not returning proper values in the past?

Yes

@bkchr
Copy link
Contributor

bkchr commented Feb 7, 2025

/merge

@fellowship-merge-bot fellowship-merge-bot bot enabled auto-merge (squash) February 7, 2025 11:26
@fellowship-merge-bot
Copy link
Contributor

Enabled auto-merge in Pull Request

Available commands
  • /merge: Enables auto-merge for Pull Request
  • /merge cancel: Cancels auto-merge for Pull Request
  • /merge help: Shows this menu

For more information see the documentation

@bkchr bkchr disabled auto-merge February 7, 2025 14:26
@bkchr bkchr merged commit 68babf4 into polkadot-fellows:main Feb 7, 2025
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants