1 stable release

2.2.1 Apr 30, 2025

#7 in #activation

Download history 107/week @ 2025-06-29 74/week @ 2025-07-06 38/week @ 2025-07-13 49/week @ 2025-07-20 42/week @ 2025-07-27 7/week @ 2025-08-03 36/week @ 2025-08-10 37/week @ 2025-08-17 168/week @ 2025-08-24 235/week @ 2025-08-31 135/week @ 2025-09-07 99/week @ 2025-09-14 157/week @ 2025-09-21 114/week @ 2025-09-28 113/week @ 2025-10-05 165/week @ 2025-10-12

549 downloads per month
Used in 50 crates (2 directly)

Apache-2.0

115KB
2K SLoC

Runtime features.

Runtime features provide a mechanism for features to be simultaneously activated across the network. Since validators may choose when to upgrade, features must remain dormant until a sufficient majority of the network is running a version that would support a given feature.

Feature activation is accomplished by:

  1. Activation is requested by the feature authority, who issues a transaction to create the feature account. The newly created feature account will have the value of Feature::default()
  2. When the next epoch is entered the runtime will check for new activation requests and active them. When this occurs, the activation slot is recorded in the feature account

Dependencies

~0.2–0.9MB
~17K SLoC