Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Figure Out XCM Weight Story #5945

Closed
shawntabrizi opened this issue Aug 31, 2022 · 1 comment
Closed

Figure Out XCM Weight Story #5945

shawntabrizi opened this issue Aug 31, 2022 · 1 comment
Labels
T6-XCM This PR/Issue is related to XCM.

Comments

@shawntabrizi
Copy link
Member

In order for XCM to not depend on any FRAME crates, it defines and uses its own local Weight definition.

For the migration to Weight v1.5 and eventually v2, this probably wont work.

So we have some low hanging fruit now that we need to fix up and make XCM use REAL weight types.

You can see how XCM was migrated for the time being here: #5943

@KiChjang KiChjang added the T6-XCM This PR/Issue is related to XCM. label Aug 31, 2022
@KiChjang
Copy link
Contributor

KiChjang commented Mar 6, 2023

I think this is done -- we've moved the Weight definition to its own sp-weights crate in Substrate, and we can now pull that dependency in. This is good as it doesn't depend on sp-runtime or sp-core and is pretty light-weight.

@KiChjang KiChjang closed this as completed Mar 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T6-XCM This PR/Issue is related to XCM.
Projects
None yet
Development

No branches or pull requests

2 participants