From 08b3e6e50fb74c049dae215af7dbe7059c974fa9 Mon Sep 17 00:00:00 2001 From: ec2 Date: Thu, 7 Dec 2023 06:01:49 +0000 Subject: [PATCH] compiles --- contract-tests/tests/rotation_input_encoding.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contract-tests/tests/rotation_input_encoding.rs b/contract-tests/tests/rotation_input_encoding.rs index a2a444cd..e0e9296e 100644 --- a/contract-tests/tests/rotation_input_encoding.rs +++ b/contract-tests/tests/rotation_input_encoding.rs @@ -89,7 +89,7 @@ async fn test_rotate_public_input_evm_equivalence( .call() .await?; - let result_decoded: decode_solidity_u256_array(&result); + let result_decoded = decode_solidity_u256_array(&result); // The expected result is the concatenation of the accumulator and the instance let expected: Vec<_> = accumulator.iter().chain(instance[0].iter()).collect(); assert_eq!(result_decoded.iter().collect::>(), expected);