Skip to content

Commit

Permalink
reason for ignore test. Skip some unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
anstylian committed Feb 21, 2025
1 parent f469d03 commit 5fd3548
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions contracts/multisig-prover/src/encoding/aleo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ pub fn payload_digest<N: Network>(

/// The relayer will use this data to submit the payload to the contract.
pub fn encode_execute_data(
domain_separator: &Hash,
_domain_separator: &Hash,
verifier_set: &VerifierSet,
signatures: Vec<SignerWithSig>,
payload: &Payload,
Expand All @@ -77,7 +77,7 @@ pub fn encode_execute_data(
.collect::<Result<Vec<_>, _>>()
.change_context(ContractError::InvalidMessage)?
.then(Messages::from),
Payload::VerifierSet(verifier_set) => todo!(),
Payload::VerifierSet(_verifier_set) => todo!(),
};

let proof = aleo_gateway::Proof::new(
Expand Down
6 changes: 3 additions & 3 deletions integration-tests/tests/bond_unbond.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ fn verifier_should_not_unbond_while_in_active_set() {
}

#[test]
#[ignore]
#[ignore = "This should be anabled when the functionality of signers rotation is reset"]
fn claim_stake_after_rotation_success() {
let chains: Vec<router_api::ChainName> = vec![
"Ethereum".try_into().unwrap(),
Expand Down Expand Up @@ -149,7 +149,7 @@ fn claim_stake_when_in_all_active_verifier_sets_fails() {
}

#[test]
#[ignore]
#[ignore = "This should be anabled when the functionality of signers rotation is reset"]
fn claim_stake_when_in_some_active_verifier_sets_fails() {
let chains: Vec<router_api::ChainName> = vec![
"Ethereum".try_into().unwrap(),
Expand Down Expand Up @@ -244,7 +244,7 @@ fn claim_stake_after_deregistering_before_rotation_fails() {
}

#[test]
#[ignore]
#[ignore = "this should be anabled when the functionality of signers rotation is reset"]
fn claim_stake_when_jailed_fails() {
let chains: Vec<router_api::ChainName> = vec![
"Ethereum".try_into().unwrap(),
Expand Down
10 changes: 5 additions & 5 deletions integration-tests/tests/update_worker_set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use service_registry_api::msg::QueryMsg as ServiceRegistryQueryMsg;
pub mod test_utils;

#[test]
#[ignore]
#[ignore = "This should be anabled when the functionality of signers rotation is reset"]
fn verifier_set_can_be_initialized_and_then_manually_updated() {
let chains: Vec<router_api::ChainName> = vec![
"Ethereum".try_into().unwrap(),
Expand Down Expand Up @@ -106,7 +106,7 @@ fn verifier_set_can_be_initialized_and_then_manually_updated() {
}

#[test]
#[ignore]
#[ignore = "This should be anabled when the functionality of signers rotation is reset"]
fn verifier_set_cannot_be_updated_again_while_pending_verifier_is_not_yet_confirmed() {
let chains = vec![
"Ethereum".try_into().unwrap(),
Expand Down Expand Up @@ -227,7 +227,7 @@ fn verifier_set_cannot_be_updated_again_while_pending_verifier_is_not_yet_confir
}

#[test]
#[ignore]
#[ignore = "This should be anabled when the functionality of signers rotation is reset"]
fn verifier_set_update_can_be_resigned() {
let chains = vec![
"Ethereum".try_into().unwrap(),
Expand Down Expand Up @@ -323,7 +323,7 @@ fn verifier_set_update_can_be_resigned() {
}

#[test]
#[ignore]
#[ignore = "This should be anabled when the functionality of signers rotation is reset"]
fn governance_should_confirm_new_verifier_set_without_verification() {
let chains: Vec<router_api::ChainName> = vec!["Ethereum".try_into().unwrap()];
let test_utils::TestCase {
Expand Down Expand Up @@ -373,7 +373,7 @@ fn governance_should_confirm_new_verifier_set_without_verification() {
}

#[test]
#[ignore]
#[ignore = "this should be anabled when the functionality of signers rotation is reset"]
fn rotate_signers_should_filter_out_signers_without_pubkey() {
let test_utils::TestCase {
mut protocol,
Expand Down

0 comments on commit 5fd3548

Please sign in to comment.