Skip to content

Commit

Permalink
Merge branch 'master' into bko-collectives-benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
bkontur authored Jan 17, 2025
2 parents 44b4ec2 + 4b2febe commit aa830f4
Show file tree
Hide file tree
Showing 13 changed files with 32 additions and 13 deletions.
2 changes: 1 addition & 1 deletion docs/sdk/packages/guides/first-pallet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { workspace = true }
docify = { workspace = true }
frame = { workspace = true, features = ["experimental", "runtime"] }
frame = { workspace = true, features = ["runtime"] }
scale-info = { workspace = true }

[features]
Expand Down
2 changes: 1 addition & 1 deletion docs/sdk/packages/guides/first-runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ scale-info = { workspace = true }
serde_json = { workspace = true }

# this is a frame-based runtime, thus importing `frame` with runtime feature enabled.
frame = { workspace = true, features = ["experimental", "runtime"] }
frame = { workspace = true, features = ["runtime"] }

# pallets that we want to use
pallet-balances = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion polkadot/xcm/docs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ xcm-simulator = { workspace = true, default-features = true }

# For building FRAME runtimes
codec = { workspace = true, default-features = true }
frame = { features = ["experimental", "runtime"], workspace = true, default-features = true }
frame = { features = ["runtime"], workspace = true, default-features = true }
polkadot-parachain-primitives = { workspace = true, default-features = true }
polkadot-primitives = { workspace = true, default-features = true }
polkadot-runtime-parachains = { workspace = true, default-features = true }
Expand Down
20 changes: 20 additions & 0 deletions prdoc/pr_7177.prdoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
title: Make frame crate not experimental
doc:
- audience: Runtime Dev
description: |-
Frame crate may still be unstable, but it is no longer feature gated by the feature `experimental`.
crates:
- name: polkadot-sdk-frame
bump: minor
- name: pallet-salary
bump: patch
- name: pallet-multisig
bump: patch
- name: pallet-proxy
bump: patch
- name: pallet-atomic-swap
bump: patch
- name: pallet-mixnet
bump: patch
- name: pallet-node-authorization
bump: patch
2 changes: 1 addition & 1 deletion substrate/frame/atomic-swap/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
codec = { workspace = true }
frame = { workspace = true, features = ["experimental", "runtime"] }
frame = { workspace = true, features = ["runtime"] }
scale-info = { features = ["derive"], workspace = true }

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion substrate/frame/examples/frame-crate/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ targets = ["x86_64-unknown-linux-gnu"]
codec = { workspace = true }
scale-info = { features = ["derive"], workspace = true }

frame = { features = ["experimental", "runtime"], workspace = true }
frame = { features = ["runtime"], workspace = true }


[features]
Expand Down
2 changes: 1 addition & 1 deletion substrate/frame/mixnet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
codec = { features = ["derive", "max-encoded-len"], workspace = true }
frame = { workspace = true, features = ["experimental", "runtime"] }
frame = { workspace = true, features = ["runtime"] }
log = { workspace = true }
scale-info = { features = ["derive"], workspace = true }
serde = { features = ["derive"], workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion substrate/frame/multisig/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
codec = { workspace = true }
frame = { workspace = true, features = ["experimental", "runtime"] }
frame = { workspace = true, features = ["runtime"] }
scale-info = { features = ["derive"], workspace = true }

# third party
Expand Down
2 changes: 1 addition & 1 deletion substrate/frame/node-authorization/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
codec = { features = ["derive"], workspace = true }
frame = { workspace = true, features = ["experimental", "runtime"] }
frame = { workspace = true, features = ["runtime"] }
log = { workspace = true }
scale-info = { features = ["derive"], workspace = true }

Expand Down
2 changes: 1 addition & 1 deletion substrate/frame/proxy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
codec = { features = ["max-encoded-len"], workspace = true }
frame = { workspace = true, features = ["experimental", "runtime"] }
frame = { workspace = true, features = ["runtime"] }
scale-info = { features = ["derive"], workspace = true }

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion substrate/frame/salary/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
codec = { features = ["derive"], workspace = true }
frame = { workspace = true, features = ["experimental", "runtime"] }
frame = { workspace = true, features = ["runtime"] }
log = { workspace = true }
pallet-ranked-collective = { optional = true, workspace = true }
scale-info = { features = ["derive"], workspace = true }
Expand Down
3 changes: 1 addition & 2 deletions substrate/frame/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
//! [dependencies]
//! codec = { features = ["max-encoded-len"], workspace = true }
//! scale-info = { features = ["derive"], workspace = true }
//! frame = { workspace = true, features = ["experimental", "runtime"] }
//! frame = { workspace = true, features = ["runtime"] }
//!
//! [features]
//! default = ["std"]
Expand Down Expand Up @@ -150,7 +150,6 @@
//! * `runtime::apis` should expose all common runtime APIs that all FRAME-based runtimes need.
#![cfg_attr(not(feature = "std"), no_std)]
#![cfg(feature = "experimental")]

#[doc(no_inline)]
pub use frame_support::pallet;
Expand Down
2 changes: 1 addition & 1 deletion substrate/frame/support/test/stg_frame_crate/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
codec = { features = ["derive"], workspace = true }
frame = { features = ["experimental", "runtime"], workspace = true }
frame = { features = ["runtime"], workspace = true }
scale-info = { features = ["derive"], workspace = true }

[features]
Expand Down

0 comments on commit aa830f4

Please sign in to comment.