-
Notifications
You must be signed in to change notification settings - Fork 103
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
Conversation
… of github.com:iotaledger/firefly into feat/update-dev-tools-mint-nft
…feat/update-dev-tools-mint-nft
… of github.com:iotaledger/firefly into feat/update-dev-tools-mint-nft
… of github.com:iotaledger/firefly into feat/update-dev-tools-mint-nft
packages/shared/lib/core/nfts/constants/default-nft-entry-key.constant.ts
Outdated
Show resolved
Hide resolved
@@ -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 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#8134
ready sir ✅
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
something like
// 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 |
There was a problem hiding this comment.
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
There was a problem hiding this 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
Closes #7867
TODO comment -> #8120
Summary
...
Changelog
Testing
Platforms
Instructions
...
Checklist