Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added custody light README. #1327

Merged
merged 15 commits into from
Feb 21, 2023
Merged

Added custody light README. #1327

merged 15 commits into from
Feb 21, 2023

Conversation

mariacarmina
Copy link
Member

Fixes #1300 .

Changes proposed in this PR:

  • added a custody-light README
  • connect to main README

@@ -342,8 +343,17 @@ def create_bundled(
name = metadata["name"]
template_index = 2 if use_enterprise else 1
data_nft_args = DataNFTArguments(name, name)
datatoken_args = DatatokenArguments(
f"{name}: DT1", files=files, template_index=template_index
datatoken_args = (
Copy link
Contributor

Choose a reason for hiding this comment

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

I think you should assign this previously and simplify.
e.g. dt_args=DatatokenArguments(
f"{name}: DT1", files=files, template_index=template_index
)

        if template_index == 2:
        dt_args.cap=MAX_UINT256
maybe the init part itself has the exception, but either way this needs to be cleaner

Copy link
Member Author

Choose a reason for hiding this comment

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

Sure, thank you

Copy link
Member Author

Choose a reason for hiding this comment

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

Added an assignment before initializing the DatatokenArguments object

@mariacarmina mariacarmina temporarily deployed to CC_REPORTER_ID February 15, 2023 14:50 — with GitHub Actions Inactive
@mariacarmina mariacarmina temporarily deployed to CC_REPORTER_ID February 15, 2023 14:55 — with GitHub Actions Inactive
@mariacarmina mariacarmina temporarily deployed to CC_REPORTER_ID February 15, 2023 15:06 — with GitHub Actions Inactive
@mariacarmina mariacarmina temporarily deployed to CC_REPORTER_ID February 20, 2023 11:29 — with GitHub Actions Inactive
@mariacarmina mariacarmina temporarily deployed to CC_REPORTER_ID February 20, 2023 11:29 — with GitHub Actions Inactive
@mariacarmina mariacarmina merged commit 4f22b0d into main Feb 21, 2023
@mariacarmina mariacarmina deleted the custody-light-README branch February 21, 2023 10:52
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.

Provide a clearer flow for people to create and consume custody-light data assets (ie DatatokenEnterprise)
2 participants