From eabcb5d6a83855742c4e7c45ee27c423cb5f265e Mon Sep 17 00:00:00 2001 From: Gianmarco Fraccaroli <> Date: Wed, 31 Jan 2024 23:27:26 +0100 Subject: [PATCH] add missing memo in become validator and change consensus keys --- crates/apps/src/lib/client/tx.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/crates/apps/src/lib/client/tx.rs b/crates/apps/src/lib/client/tx.rs index 911e1b475a0..eb9a01804b8 100644 --- a/crates/apps/src/lib/client/tx.rs +++ b/crates/apps/src/lib/client/tx.rs @@ -412,6 +412,10 @@ pub async fn submit_change_consensus_key( ) .add_data(data); + if let Some(memo) = &tx_args.memo { + tx.add_memo(memo); + }; + let signing_data = init_validator_signing_data(namada, &tx_args, vec![new_key]).await?; @@ -740,6 +744,10 @@ pub async fn submit_become_validator( ) .add_data(data); + if let Some(memo) = &tx_args.memo { + tx.add_memo(memo); + }; + let signing_data = init_validator_signing_data(namada, &tx_args, all_pks).await?;