Skip to content

Commit

Permalink
fix(iota-json-rpc-tests): Fix move utils e2e tests (#3757)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
jkrvivian authored Oct 29, 2024
1 parent 0fa5f2a commit 6ea01f7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions crates/iota-json-rpc-tests/tests/move_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -132,7 +131,6 @@ async fn get_normalized_move_module() -> Result<(), anyhow::Error> {
[
"Coin",
"CoinMetadata",
"CurrencyCreated",
"DenyCapV1",
"RegulatedCoinMetadata",
"TreasuryCap",
Expand Down Expand Up @@ -176,7 +174,6 @@ async fn get_normalized_move_module() -> Result<(), anyhow::Error> {
"mint_balance",
"put",
"split",
"supply",
"supply_immut",
"supply_mut",
"take",
Expand Down

0 comments on commit 6ea01f7

Please sign in to comment.