From 034151540f04f279874b156998c6e24f812c8905 Mon Sep 17 00:00:00 2001 From: k4m4 Date: Thu, 18 Apr 2024 19:16:35 +0300 Subject: [PATCH] Revert "multisig: add expires_at attribute to Multisig type" This reverts commit 2d5740cab2829d10f230aaa06130905ffbbc80d6. --- contracts/multisig-prover/src/test/mocks/multisig.rs | 1 - contracts/multisig/src/contract/query.rs | 1 - contracts/multisig/src/msg.rs | 1 - 3 files changed, 3 deletions(-) diff --git a/contracts/multisig-prover/src/test/mocks/multisig.rs b/contracts/multisig-prover/src/test/mocks/multisig.rs index ff1a89f35..8a8c357f0 100644 --- a/contracts/multisig-prover/src/test/mocks/multisig.rs +++ b/contracts/multisig-prover/src/test/mocks/multisig.rs @@ -122,7 +122,6 @@ mod query { state: MultisigState::Completed { completed_at: 12345, }, - expires_at: 23456, quorum, signers, } diff --git a/contracts/multisig/src/contract/query.rs b/contracts/multisig/src/contract/query.rs index 33c66d7cf..7e5d88a27 100644 --- a/contracts/multisig/src/contract/query.rs +++ b/contracts/multisig/src/contract/query.rs @@ -20,7 +20,6 @@ pub fn get_multisig(deps: Deps, session_id: Uint64) -> StdResult { Ok(Multisig { state: session.state, - expires_at: session.expires_at, quorum: worker_set.threshold, signers: signers_with_sigs, }) diff --git a/contracts/multisig/src/msg.rs b/contracts/multisig/src/msg.rs index ba4062465..149b6de07 100644 --- a/contracts/multisig/src/msg.rs +++ b/contracts/multisig/src/msg.rs @@ -80,7 +80,6 @@ pub struct Signer { #[cw_serde] pub struct Multisig { pub state: MultisigState, - pub expires_at: u64, pub quorum: Uint256, pub signers: Vec<(Signer, Option)>, }