Skip to content

Commit

Permalink
Merge pull request #1258 from opentensor/feat/rao-only-root-can-close
Browse files Browse the repository at this point in the history
[RAO] only allow root to close proposals
  • Loading branch information
unconst authored Feb 7, 2025
2 parents d4d8182 + 43809a7 commit 8f39a58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pallets/collective/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ pub mod pallet {
proposal_weight_bound: Weight,
#[pallet::compact] length_bound: u32,
) -> DispatchResultWithPostInfo {
let _ = ensure_signed(origin)?;
ensure_root(origin)?;

Self::do_close(proposal_hash, index, proposal_weight_bound, length_bound)
}
Expand Down
2 changes: 1 addition & 1 deletion runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
// `spec_version`, and `authoring_version` are the same between Wasm and native.
// This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use
// the compatible custom types.
spec_version: 218,
spec_version: 219,
impl_version: 1,
apis: RUNTIME_API_VERSIONS,
transaction_version: 1,
Expand Down

0 comments on commit 8f39a58

Please sign in to comment.