From 5f2ac71386eed2d27df8c1aacb9fcd4919320a6f Mon Sep 17 00:00:00 2001 From: segfault-magnet Date: Mon, 9 Dec 2024 19:41:29 +0100 Subject: [PATCH] fix test --- e2e/tests/debug_utils.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/e2e/tests/debug_utils.rs b/e2e/tests/debug_utils.rs index cebeb4c95..c83406924 100644 --- a/e2e/tests/debug_utils.rs +++ b/e2e/tests/debug_utils.rs @@ -139,9 +139,6 @@ async fn can_debug_multi_call_tx() -> Result<()> { )? .contract_id(); - let bits: [u8; 32] = *contract_id; - eprintln!("{bits:?}"); - let call1 = MyContract::new(contract_id, wallet.clone()) .methods() .check_struct_integrity(AllStruct { @@ -233,7 +230,7 @@ async fn can_debug_multi_call_tx() -> Result<()> { assert_eq!( decoder.decode_fn_args(&fn_selector, &call_description.encoded_args)?, - vec!["AllStruct { some_struct: SomeStruct { field: 2, field_2: true } }", "MemoryAddress { contract_id: std::contract_id::ContractId { bits: Bits256([167, 128, 223, 170, 216, 61, 224, 211, 109, 217, 239, 186, 233, 73, 135, 142, 160, 176, 38, 172, 125, 137, 86, 251, 163, 86, 185, 6, 210, 149, 11, 46]) }, function_selector: 123, function_data: 456 }"] + vec!["AllStruct { some_struct: SomeStruct { field: 2, field_2: true } }", "MemoryAddress { contract_id: std::contract_id::ContractId { bits: Bits256([77, 127, 224, 17, 182, 42, 211, 241, 46, 156, 74, 204, 31, 156, 188, 77, 183, 63, 55, 80, 119, 142, 192, 75, 130, 205, 208, 253, 25, 104, 22, 171]) }, function_selector: 123, function_data: 456 }"] ); } @@ -307,7 +304,7 @@ async fn can_debug_multi_call_tx() -> Result<()> { assert_eq!( decoder.decode_fn_args(&call_description.decode_fn_selector().unwrap(), &call_description.encoded_args)?, - vec!["AllStruct { some_struct: SomeStruct { field: 2, field_2: true } }", "MemoryAddress { contract_id: std::contract_id::ContractId { bits: Bits256([167, 128, 223, 170, 216, 61, 224, 211, 109, 217, 239, 186, 233, 73, 135, 142, 160, 176, 38, 172, 125, 137, 86, 251, 163, 86, 185, 6, 210, 149, 11, 46]) }, function_selector: 123, function_data: 456 }"] + vec!["AllStruct { some_struct: SomeStruct { field: 2, field_2: true } }", "MemoryAddress { contract_id: std::contract_id::ContractId { bits: Bits256([77, 127, 224, 17, 182, 42, 211, 241, 46, 156, 74, 204, 31, 156, 188, 77, 183, 63, 55, 80, 119, 142, 192, 75, 130, 205, 208, 253, 25, 104, 22, 171]) }, function_selector: 123, function_data: 456 }"] ); }