Skip to content

Commit

Permalink
feat(its)!: fix its discovery (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
Foivos authored Oct 15, 2024
1 parent 711fdd5 commit 0340f8b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions move/its/sources/discovery.move
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ fun interchain_transfer_tx(its: &ITS, reader: &mut AbiReader): Transaction {
transaction::new_move_call(
transaction::new_function(
package_id<ITS>(),
ascii::string(b"service"),
ascii::string(b"its"),
ascii::string(b"receive_interchain_transfer"),
),
arguments,
Expand Down Expand Up @@ -163,7 +163,7 @@ fun deploy_interchain_token_tx(its: &ITS, reader: &mut AbiReader): Transaction {
let move_call = transaction::new_move_call(
transaction::new_function(
package_id<ITS>(),
ascii::string(b"service"),
ascii::string(b"its"),
ascii::string(b"receive_deploy_interchain_token"),
),
arguments,
Expand Down Expand Up @@ -261,7 +261,7 @@ fun test_discovery_interchain_transfer() {
assert!(
call_info.function().package_id_from_function() == package_id<ITS>(),
);
assert!(call_info.function().module_name() == ascii::string(b"service"));
assert!(call_info.function().module_name() == ascii::string(b"its"));
assert!(
call_info.function().name() == ascii::string(b"receive_interchain_transfer"),
);
Expand Down Expand Up @@ -368,7 +368,7 @@ fun test_discovery_deploy_token() {
assert!(
call_info.function().package_id_from_function() == package_id<ITS>(),
);
assert!(call_info.function().module_name() == ascii::string(b"service"));
assert!(call_info.function().module_name() == ascii::string(b"its"));
assert!(
call_info.function().name() == ascii::string(b"receive_deploy_interchain_token"),
);
Expand Down

0 comments on commit 0340f8b

Please sign in to comment.