Skip to content

Commit

Permalink
Mark create_or_approve as deprecated (#1541)
Browse files Browse the repository at this point in the history
* Mark create_or_approve as deprecated

* Update lib.rs

* Update lib.rs
  • Loading branch information
adamdossa authored Oct 6, 2023
1 parent 54ae63a commit 23980d8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pallets/multisig/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ decl_module! {
/// * `expiry` - Optional proposal expiry time.
/// * `auto_close` - Close proposal on receiving enough reject votes.
/// If this is 1 out of `m` multisig, the proposal will be immediately executed.
/// #[deprecated(since = "6.0.0", note = "Please use the `create_proposal_as_identity` and `approve_as_identity` instead")]
#[weight = <T as Config>::WeightInfo::create_or_approve_proposal_as_identity().saturating_add(proposal.get_dispatch_info().weight)]
pub fn create_or_approve_proposal_as_identity(
origin,
Expand All @@ -254,6 +255,7 @@ decl_module! {
/// * `expiry` - Optional proposal expiry time.
/// * `auto_close` - Close proposal on receiving enough reject votes.
/// If this is 1 out of `m` multisig, the proposal will be immediately executed.
/// #[deprecated(since = "6.0.0", note = "Please use the `create_proposal_as_key` and `approve_as_key` instead")]
#[weight = <T as Config>::WeightInfo::create_or_approve_proposal_as_key().saturating_add(proposal.get_dispatch_info().weight)]
pub fn create_or_approve_proposal_as_key(
origin,
Expand Down

0 comments on commit 23980d8

Please sign in to comment.