From 946d4dcd078c52d4ddfda65843f93abe0615ef2f Mon Sep 17 00:00:00 2001 From: Ranadeep Biswas Date: Tue, 14 Jan 2025 12:35:04 +0100 Subject: [PATCH] fix poseidon test --- cairo-contracts/packages/utils/src/utils.cairo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cairo-contracts/packages/utils/src/utils.cairo b/cairo-contracts/packages/utils/src/utils.cairo index fae17c18..bc1a1a75 100644 --- a/cairo-contracts/packages/utils/src/utils.cairo +++ b/cairo-contracts/packages/utils/src/utils.cairo @@ -111,7 +111,7 @@ mod tests { // depending on how you serialize the struct, the key will be different let value = Foo { foo: array!["hello", "world"] }; assert_eq!( - direct_key(@value), 0x562cad83e4f09c5813d3d8cc79e67b24d7d979531160e90affd52d4ddf745fe + direct_key(@value), 0x8a7f3b665d11363ad83b7fb1ee769c513497f2353a70250b0bddcaaaf6458b ); assert_eq!( manual_key(@value), 0x6c667cf271320ba416f4956bd4c0a532920206fe281247da5c6e7feeec8aa61