-
Notifications
You must be signed in to change notification settings - Fork 690
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
Generated Polkadot SDK Templates Emit Errors #5226
Comments
As a quick measure (to get rid of compilation errors) I proposed to remove the unused code. And looks like the error from @kianenigma Do you think we should eventually add some benchmarking or try-runtiming functionality to the minimal template, or not in order to keep it minimal? |
- Progresses #5226 There is no actual `try-runtime` or `runtime-benchmarks` functionality in the minimal template at the moment.
@rzadp my take on your question is that we should aim to keep the minimal template minimal, and then using this as a starting point, see how we can simplify the process to add benchmarks and try-runtime to a minimal template. Perhaps this would require more macro magic, or some tooling. Maybe we cannot succeed, and we have to put them in the template, but I think that should not be the first choice. |
closing this issue because it is resolved with #5237 |
…h#5237) - Progresses paritytech#5226 There is no actual `try-runtime` or `runtime-benchmarks` functionality in the minimal template at the moment.
When compiling the
minimal-template
, the following errors appear:This is because the templates lack the
runtime-benchmarks
ortry_runtime
features, but these features are being referenced within theservice.rs
file andcommand.rs
file included in the template.We need to either change the service file to exclude these feature gated parts of the code, or (probably better) include these features into the generated templates.
The text was updated successfully, but these errors were encountered: