Skip to content

Commit

Permalink
fix: serialization of add_options calldata not working
Browse files Browse the repository at this point in the history
  • Loading branch information
tensojka committed Oct 1, 2024
1 parent 2006725 commit 08627a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/add_options_proposal.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ fn get_voter_addresses() -> @Span<felt252> {
fn get_option_calldata() -> @Span<felt252> {
// 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
Expand Down

0 comments on commit 08627a5

Please sign in to comment.