Skip to content

Commit

Permalink
fix: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ibrizsabin committed Oct 23, 2024
1 parent 84aa843 commit 3596518
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/sui/xcall/sources/types/message_result.move
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ module xcall::message_result_tests {
let msg= message_result::create(1,message_result::success(),vector::empty());
let encoded= message_result::encode(&msg);
std::debug::print(&encoded);
assert!(encoded==x"c58200010180",0x01);
assert!(encoded==x"c3010180",0x01);
let decoded=message_result::decode(&encoded);
assert!(decoded==msg,0x01);

Expand All @@ -99,7 +99,7 @@ module xcall::message_result_tests {
let msg= message_result::create(2,message_result::failure(),vector::empty());
let encoded= message_result::encode(&msg);
std::debug::print(&encoded);
assert!(encoded==x"c58200020080",0x01);
assert!(encoded==x"c3020080",0x01);
let decoded=message_result::decode(&encoded);
assert!(decoded==msg,0x01);

Expand Down

0 comments on commit 3596518

Please sign in to comment.