Skip to content

Conversation

@rdoria1
Copy link
Contributor

@rdoria1 rdoria1 commented Jun 3, 2025

No description provided.

@rdoria1 rdoria1 requested review from 95DDB and drgora June 5, 2025 14:32
@95DDB 95DDB requested a review from la10736 June 5, 2025 14:38
Copy link
Collaborator

@95DDB 95DDB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good overall, but I think that we could simplify a lot the code, considering that this pallet is not supposed to go in the runtime, except when running benchmarks (which are useful only for us, so perhaps not even worth to generate weight files). So we can try to:

  • Gate the pallet inclusion in the runtime behind the feature "runtime-benchmarks". Take a look at pallet_xcm_benchmarks to see an example on how to do it
  • We don't need the weight files in the runtime and in the pallet directories
  • Perhaps we don't even need the mock file (useful only to run the benchmark test)

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.

3 participants