Skip to content

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

@AlexD10S

Description

@AlexD10S

templates

  • Generic Runtime Template
  • 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

  • I agree to follow this project's Contribution Guidelines

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

🏗 In Progress

Relationships

None yet

Development

No branches or pull requests

Issue actions