From c3d9b8b21be78fcf6a233de95ece09d59d2ead49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C4=99drzej=20Stuczy=C5=84ski?= Date: Fri, 3 Mar 2023 13:50:43 +0000 Subject: [PATCH] removed signature from bonding payload args --- .../mixnet/operators/gateway/gateway_bonding_sign_payload.rs | 4 ---- .../mixnet/operators/mixnode/mixnode_bonding_sign_payload.rs | 4 ---- 2 files changed, 8 deletions(-) diff --git a/common/commands/src/validator/mixnet/operators/gateway/gateway_bonding_sign_payload.rs b/common/commands/src/validator/mixnet/operators/gateway/gateway_bonding_sign_payload.rs index f0c2e84078..9b0abef854 100644 --- a/common/commands/src/validator/mixnet/operators/gateway/gateway_bonding_sign_payload.rs +++ b/common/commands/src/validator/mixnet/operators/gateway/gateway_bonding_sign_payload.rs @@ -5,7 +5,6 @@ use crate::context::SigningClient; use crate::utils::account_id_to_cw_addr; use clap::Parser; use cosmwasm_std::Coin; -use nym_contracts_common::signing::MessageSignature; use nym_mixnet_contract_common::construct_gateway_bonding_sign_payload; use nym_network_defaults::{DEFAULT_CLIENT_LISTENING_PORT, DEFAULT_MIX_LISTENING_PORT}; use validator_client::nyxd::traits::MixnetQueryClient; @@ -15,9 +14,6 @@ pub struct Args { #[clap(long)] pub host: String, - #[clap(long)] - pub signature: MessageSignature, - #[clap(long)] pub mix_port: Option, diff --git a/common/commands/src/validator/mixnet/operators/mixnode/mixnode_bonding_sign_payload.rs b/common/commands/src/validator/mixnet/operators/mixnode/mixnode_bonding_sign_payload.rs index a23aece74c..a4b41b03f2 100644 --- a/common/commands/src/validator/mixnet/operators/mixnode/mixnode_bonding_sign_payload.rs +++ b/common/commands/src/validator/mixnet/operators/mixnode/mixnode_bonding_sign_payload.rs @@ -5,7 +5,6 @@ use crate::context::SigningClient; use crate::utils::account_id_to_cw_addr; use clap::Parser; use cosmwasm_std::{Coin, Uint128}; -use nym_contracts_common::signing::MessageSignature; use nym_contracts_common::Percent; use nym_mixnet_contract_common::{construct_mixnode_bonding_sign_payload, MixNodeCostParams}; use nym_network_defaults::{ @@ -19,9 +18,6 @@ pub struct Args { #[clap(long)] pub host: String, - #[clap(long)] - pub signature: MessageSignature, - #[clap(long)] pub mix_port: Option,