Skip to content

[move-std] sui::coin_registry::create_coin_data_registry_for_testing #24680

@admin-aftermath

Description

@admin-aftermath

Overview

I discovered while testing that:

This disables the ability to emulate sui::coin_registry::new_currency_with_otw-based Currency's within tests. Can the #[test_only] constructor be updated to assign the UID to object::sui_coin_registry_address()?

Can CoinRegistry creation also be encapsulated within sui::test_scenario::create_system_objects?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions