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

[explorer] fix: Expired mosaic namespace. #1193

Open
wants to merge 5 commits into
base: dev
Choose a base branch
from

Conversation

AnthonyLaw
Copy link
Member

What was the issue?

  • Mosaic alias expired, transaction page can not load the page.

What's the fix?

  • Added transactionLocation params in resolveMosaicId method.
  • Implement mosaic resolution statement query in the resolveMosaicId method.
  • Refactor getTransactionMosaicInfoAndNamespace method to process the transaction.
  • Refactor getMosaicInfoAndNamespace method to accept mosaicID and transactionLocation params.
  • Refactor affected transaction methods in CreateTransaction object such as mosaicDefinition, mosaicSupplyChange, mosaicAddressRestriction, and mosaicMetadata

Copy link

netlify bot commented Jul 25, 2024

Deploy Preview for explorer-dev ready!

Name Link
🔨 Latest commit 4c83eb4
🔍 Latest deploy log https://app.netlify.com/sites/explorer-dev/deploys/66a21379a6bb9600083570e5
😎 Deploy Preview https://deploy-preview-1193--explorer-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@AnthonyLaw AnthonyLaw assigned AnthonyLaw and Wayonb and unassigned AnthonyLaw Jul 25, 2024
return entry.resolved;
}
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Should you fail if a resolved id is not found?

transactions.map(transactionDTO => {
switch (transactionDTO.type) {
const makeTransactionLocation = (transactionInfo, secondaryId = undefined) => {
if (!transactionInfo?.height)
Copy link
Contributor

Choose a reason for hiding this comment

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

When will the transactionInfo not have a height? 🤔

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.

2 participants