From 08627a5cf3fb6908426f5cc60865bb8bed1d41e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sojka?= Date: Tue, 1 Oct 2024 08:44:07 +0000 Subject: [PATCH] fix: serialization of add_options calldata not working --- tests/add_options_proposal.cairo | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/add_options_proposal.cairo b/tests/add_options_proposal.cairo index 1fe97c9..49824b0 100644 --- a/tests/add_options_proposal.cairo +++ b/tests/add_options_proposal.cairo @@ -24,7 +24,8 @@ fn get_voter_addresses() -> @Span { fn get_option_calldata() -> @Span { // calldata generated by FE let arr = array![ - 0x16, // array length + 0x047472e6755afc57ada9550b6a3ac93129cc4b5f98f51c73e0644d129fd208d9, //amm address ! + 0x2, // array length 0x5354524b2d555344432d43414c4c2d4c4f4e47, // str_to_felt STRK-USDC-CALL-LONG 0x5354524b2d555344432d43414c4c2d53484f5254, // str_to_felt STRK-USDC-CALL-SHORT 0x675B78FF, // maturity