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

Remove unused weight files #99

Closed

Conversation

svyatonik
Copy link
Contributor

It causes some confusion when I was working on weights for bridge pallets - e.g. there were two copies of pallet_xcm_benchmarks_fungible.rs and pallet_xcm_benchmarks_generic.rs and I wasn't sure - which one is actually used (until looking at weights/mod.rs).

Three's also a lot of unused weight files in polkadot-runtime, but they're referenced by relay/polkadot/src/governance/old.rs, which is also not compiled, so those files are unused too. But maybe there's some reason to keep this old governance code (and hence weights it is using), so I left those files. Could also remove on demand

@bkontur
Copy link
Contributor

bkontur commented Nov 21, 2023

there is another PR #57 what about rebasing this on the top of that?

@svyatonik
Copy link
Contributor Author

there is another PR #57 what about rebasing this on the top of that?

🤦 Let's close this PR for now then - I can reopen later

@svyatonik svyatonik closed this Nov 21, 2023
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.

2 participants