From 6ea01f733001c001304f34d62c5022f35a7f2180 Mon Sep 17 00:00:00 2001 From: "Ching-Hua (Vivian) Lin" Date: Tue, 29 Oct 2024 21:49:16 +0800 Subject: [PATCH] fix(iota-json-rpc-tests): Fix move utils e2e tests (#3757) * fix(iota-json-rpc-tests): Remove CurrencyCreated in get_normalized_move_module CurrencyCreated is a deprecated struct and has been removed. * fix(iota-json-rpc-tests): Remove supply in get_normalized_move_module The exposed function `supply` does not exist in coin.move. * fix(iota-json-rpc-tests): Remove math module in get_normalized_move_modules_by_package The module `math` does not exist in the package. * chores: Remove unecessary blank line --- crates/iota-json-rpc-tests/tests/move_utils.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/crates/iota-json-rpc-tests/tests/move_utils.rs b/crates/iota-json-rpc-tests/tests/move_utils.rs index 76717adcd88..aa5a3f947a3 100644 --- a/crates/iota-json-rpc-tests/tests/move_utils.rs +++ b/crates/iota-json-rpc-tests/tests/move_utils.rs @@ -54,7 +54,6 @@ async fn get_normalized_move_modules_by_package() -> Result<(), anyhow::Error> { "kiosk_extension", "labeler", "linked_table", - "math", "object", "object_bag", "object_table", @@ -132,7 +131,6 @@ async fn get_normalized_move_module() -> Result<(), anyhow::Error> { [ "Coin", "CoinMetadata", - "CurrencyCreated", "DenyCapV1", "RegulatedCoinMetadata", "TreasuryCap", @@ -176,7 +174,6 @@ async fn get_normalized_move_module() -> Result<(), anyhow::Error> { "mint_balance", "put", "split", - "supply", "supply_immut", "supply_mut", "take",