From 214f4db7c37b1c191bb2d614c6af3f9667f764f0 Mon Sep 17 00:00:00 2001 From: ibrizsabin Date: Mon, 23 Sep 2024 16:35:26 +0545 Subject: [PATCH] fix: rename method --- contracts/sui/intent_v1/sources/main.move | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/contracts/sui/intent_v1/sources/main.move b/contracts/sui/intent_v1/sources/main.move index ad19c078..d3158b63 100644 --- a/contracts/sui/intent_v1/sources/main.move +++ b/contracts/sui/intent_v1/sources/main.move @@ -245,7 +245,7 @@ module intents_v1::main { /// - `conn_sn`: Connection serial number as a u128. /// - `msg`: Vector of bytes representing the message. /// - `ctx`: Mutable reference to the TxContext. - entry fun recv_message( + entry fun receive_message( self: &mut Storage, srcNetwork: String, conn_sn: u128, @@ -626,7 +626,7 @@ module intents_v1::main_tests { let msg = order_message::new(1, order_fill::encode(&fill)); - main::recv_message( + main::receive_message( &mut storage, string::utf8(b"eth"), 1, @@ -688,7 +688,7 @@ module intents_v1::main_tests { let msg = order_message::new(1, order_fill::encode(&fill)); - main::recv_message( + main::receive_message( &mut storage, string::utf8(b"eth"), 1, @@ -697,7 +697,7 @@ module intents_v1::main_tests { ); // Attempt to process the same fill again, should fail - main::recv_message( + main::receive_message( &mut storage, string::utf8(b"eth"), 2,