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

feat: update dev tools to network upgrade: Mint NFT #8115

Merged
merged 10 commits into from
Mar 5, 2024

Conversation

cpl121
Copy link
Member

@cpl121 cpl121 commented Feb 29, 2024

Closes #7867

TODO comment -> #8120

Summary

Please summarize your changes, describing what they are and why they were made.

...

Changelog

- Please write a list of changes

Testing

Platforms

Please select any platforms where your changes have been tested.

  • Desktop
    • MacOS
    • Linux
    • Windows

Instructions

Please describe the specific instructions, configurations, and/or test cases necessary to test and verify that your changes work as intended.

...

Checklist

Please tick the following boxes that are relevant to your changes.

  • I have followed the contribution guidelines for this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or modified tests that prove my changes work as intended
  • I have verified that new and existing unit tests pass locally with my changes
  • I have verified that my latest changes pass CI workflows for testing and linting
  • I have made corresponding changes to the documentation

@cpl121 cpl121 linked an issue Feb 29, 2024 that may be closed by this pull request
… of github.com:iotaledger/firefly into feat/update-dev-tools-mint-nft
… of github.com:iotaledger/firefly into feat/update-dev-tools-mint-nft
@cpl121 cpl121 marked this pull request as ready for review March 1, 2024 15:36
… of github.com:iotaledger/firefly into feat/update-dev-tools-mint-nft
@@ -13,24 +18,32 @@ import {
import { NftActivity } from '../types'
import { getDefaultTransactionOptions, preprocessOutgoingTransaction } from '../utils'
import { generateSingleNftActivity } from '../utils/generateActivity/generateSingleNftActivity'
import { plainToInstance } from 'class-transformer'

// TODO: Modify this temporary interface
Copy link
Collaborator

Choose a reason for hiding this comment

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

Shouldn't we maybe link an issue here too?

Copy link
Member Author

Choose a reason for hiding this comment

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

#8134
ready sir ✅

Copy link
Member

Choose a reason for hiding this comment

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

he means adding the issue inside the code too in the TODO so you can go back to it

Copy link
Member

Choose a reason for hiding this comment

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

something like

Suggested change
// TODO: Modify this temporary interface
// TODO: Update this temporary interface when fixed in the SDK, linked issue https://github.com/iotaledger/firefly/issues/8134


export function getMetadataFromNftOutput(output: NftOutput): string {
const metadata = output.immutableFeatures?.find(
(feature) => feature.type === FeatureType.Metadata
) as MetadataFeature
return metadata?.data
// TODO: update this to return all entries
Copy link
Member

Choose a reason for hiding this comment

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

same here, this can link to the gh issue so we know what to update later on and which issue to link

Copy link
Member

@begonaalvarezd begonaalvarezd left a comment

Choose a reason for hiding this comment

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

lets add the remaining comments and we can merge

@cpl121 cpl121 merged commit 1e2c1f7 into develop-iota2.0 Mar 5, 2024
3 of 4 checks passed
@cpl121 cpl121 deleted the feat/update-dev-tools-mint-nft branch March 5, 2024 16:13
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.

[Task]: Update dev tools to network upgrade: Mint NFT
3 participants