polkadot-runtime-template icon indicating copy to clipboard operation
polkadot-runtime-template copied to clipboard

🐞 [Bug]: Fails to Build Deterministic Runtime using srtool

Open AlexD10S opened this issue 10 months ago • 0 comments

templates

  • [x] Generic Runtime Template
  • [x] Evm Template

What happened?

When attempting to build a deterministic runtime using srtool in the OpenZeppelin generic template repository, the build fails with the following error:

error[E0554]: `#![feature]` may not be used on the stable release channel
 --> /home/builder/cargo/git/checkouts/openzeppelin-pallet-abstractions-3c997722f447c3c9/130bff8/src/lib.rs:2:1
  |
2 | #![feature(associated_type_defaults)]
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Steps to Reproduce: Following the guide: https://docs.polkadot.com/develop/parachains/deployment/build-deterministic-runtime/

cargo install --git https://github.com/chevdor/srtool-cli
srtool build --package generic-runtime-template --runtime-dir ./runtime

Expected behavior

No response

Contribution Guidelines

  • [x] I agree to follow this project's Contribution Guidelines

AlexD10S avatar Mar 11 '25 09:03 AlexD10S