Skip to content

Conversation

@bonnie57
Copy link
Collaborator

@bonnie57 bonnie57 commented Aug 15, 2025

Description

  • add the mint_and_register_ip_and_make_derivative method
  • Add a new response type of RegistrationResponse
  • Move parent_ip_and_license_terms and nft_collection into confest.py

Test Plan

image

Copy link
Collaborator

@lucas2brh lucas2brh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just 2 minor comments.



class TestSPGNFTOperations:
@pytest.fixture(scope="module")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume we remove these since they are included in the newly added test.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I move into conftest.py, which saves the common fixture.

ip_asset,
"_parse_tx_ip_registered_event",
return_value={"ip_id": IP_ID, "token_id": 1},
return_value={"ip_id": IP_ID, "token_id": 3},
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we use a different hardcoded token_id? I mean I don't know the reason that use 3 instead of 1.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to make sure all test cases pass.

@lucas2brh lucas2brh merged commit 7f6077c into main Aug 18, 2025
12 checks passed
@lucas2brh lucas2brh deleted the PYSDK-33 branch August 18, 2025 03:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants