-
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 output models to new TIPs: Alias/Accout Output #7926
feat: update output models to new TIPs: Alias/Accout Output #7926
Conversation
77eed69
to
4b06971
Compare
packages/desktop/views/dashboard/collectibles/views/CollectiblesDetailsView.svelte
Outdated
Show resolved
Hide resolved
packages/shared/components/activity-info/AccountActivityInformation.svelte
Outdated
Show resolved
Hide resolved
packages/shared/components/activity-info/NftActivityInformation.svelte
Outdated
Show resolved
Hide resolved
packages/shared/lib/core/wallet/types/activities/account-activity.type.ts
Show resolved
Hide resolved
packages/shared/lib/core/wallet/utils/buildFoundryOutputData.ts
Outdated
Show resolved
Hide resolved
packages/shared/lib/core/wallet/utils/buildFoundryOutputData.ts
Outdated
Show resolved
Hide resolved
packages/shared/lib/core/wallet/utils/outputs/getSerialNumberFromAccountOutput.ts
Outdated
Show resolved
Hide resolved
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.
Conflicts 🙏🏼
…tOutput packages/shared/lib/core/wallet/utils/generateActivity/generateActivities.ts packages/shared/lib/core/wallet/utils/generateActivity/helper/getGovernorAddressFromAnchorOutput.ts packages/shared/lib/core/wallet/utils/generateActivity/helper/getStateControllerAddressFromAnchorOutput.ts packages/shared/lib/core/wallet/utils/generateActivity/helper/index.ts
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.
🙏🏼
packages/shared/components/activity-info/AccountActivityInformation.svelte
Show resolved
Hide resolved
packages/shared/lib/core/wallet/utils/generateActivity/generateSingleAccountActivity.ts
Show resolved
Hide resolved
packages/shared/lib/core/wallet/utils/generateActivity/generateSingleAccountActivity.ts
Outdated
Show resolved
Hide resolved
packages/shared/components/activity-info/AccountActivityInformation.svelte
Show resolved
Hide resolved
for (const accountOutput of accountOutputs) { | ||
const output = accountOutput.output as AccountOutput | ||
const activity = await generateSingleAccountActivity(wallet, { | ||
action: output.accountId === EMPTY_HEX_ID ? ActivityAction.Mint : ActivityAction.Send, |
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.
Where the condition should be updated is here.
imo, for now, I would put this
action: output.accountId === EMPTY_HEX_ID ? ActivityAction.Send : ActivityAction.Mint,
I would add a comment and update the issue to check this logic
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.
🔥
Summary
...
Changelog
Testing
Platforms
Instructions
...
Checklist