From 989c7b7ddc73ec8aec336179c82c6da71bb2930b Mon Sep 17 00:00:00 2001 From: Jesse Abramowitz Date: Wed, 18 Dec 2024 11:43:47 -0500 Subject: [PATCH] better docs --- crates/threshold-signature-server/src/validator/tests.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/threshold-signature-server/src/validator/tests.rs b/crates/threshold-signature-server/src/validator/tests.rs index 4f135d90b..8d9489b37 100644 --- a/crates/threshold-signature-server/src/validator/tests.rs +++ b/crates/threshold-signature-server/src/validator/tests.rs @@ -218,7 +218,7 @@ async fn test_reshare_basic() { let storage_address_next_signers = entropy::storage().staking_extension().next_signers(); let value_next_signers = NextSignerInfo { confirmations: vec![], next_signers }; - // Add another reshare + // Add another reshare by adding next signer info let call = RuntimeCall::System(SystemsCall::set_storage { items: vec![(storage_address_next_signers.to_root_bytes(), value_next_signers.encode())], }); @@ -227,7 +227,7 @@ async fn test_reshare_basic() { let storage_address_reshare_data = entropy::storage().staking_extension().reshare_data(); let value_reshare_info = ReshareInfo { block_number, new_signers: vec![alice_stash.public().encode()] }; - // Add another reshare + // Same reshare needs reshare data too let call = RuntimeCall::System(SystemsCall::set_storage { items: vec![(storage_address_reshare_data.to_root_bytes(), value_reshare_info.encode())], });