diff --git a/integration_tests/src/test_suite_map.rs b/integration_tests/src/test_suite_map.rs index ff4ce84..a2f8dec 100644 --- a/integration_tests/src/test_suite_map.rs +++ b/integration_tests/src/test_suite_map.rs @@ -1214,11 +1214,6 @@ pub fn prepare_function_map() -> HashMap { .await .unwrap(); - let new_commitment1 = wallet_storage - .get_private_account_commitment(&from) - .unwrap(); - assert_eq!(tx.message.new_commitments[0], new_commitment1); - assert_eq!(tx.message.new_commitments.len(), 2); for commitment in tx.message.new_commitments.into_iter() { assert!(verify_commitment_is_in_state(commitment, &seq_client).await); diff --git a/wallet/src/cli/config.rs b/wallet/src/cli/config.rs index 12bc8b2..47d7ef1 100644 --- a/wallet/src/cli/config.rs +++ b/wallet/src/cli/config.rs @@ -14,6 +14,8 @@ pub enum ConfigSubcommand { Get { key: String }, /// Setter of config fields Set { key: String, value: String }, + /// Prints description of corresponding field + Description { key: String }, } impl WalletSubcommand for ConfigSubcommand { @@ -108,6 +110,40 @@ impl WalletSubcommand for ConfigSubcommand { println!("Stored changed config at {path:#?}"); } + ConfigSubcommand::Description { key } => match key.as_str() { + "override_rust_log" => { + println!("Value of variable RUST_LOG to override, affects logging"); + } + "sequencer_addr" => { + println!("HTTP V4 address of sequencer"); + } + "seq_poll_timeout_millis" => { + println!( + "Sequencer client retry variable: how much time to wait between retries in milliseconds(can be zero)" + ); + } + "seq_poll_max_blocks" => { + println!( + "Sequencer client polling variable: max number of blocks to poll in parallel" + ); + } + "seq_poll_max_retries" => { + println!( + "Sequencer client retry variable: MAX number of retries before failing(can be zero)" + ); + } + "seq_poll_retry_delay_millis" => { + println!( + "Sequencer client polling variable: how much time to wait in milliseconds between polling retries(can be zero)" + ); + } + "initial_accounts" => { + println!("List of initial accounts' keys(both public and private)"); + } + _ => { + println!("Unknown field"); + } + }, } Ok(SubcommandReturnValue::Empty)