Skip to content
This repository was archived by the owner on Apr 4, 2026. It is now read-only.

Bug: CIP-68 images not displayed correctly#876

Open
Felippo001 wants to merge 1 commit into
input-output-hk:mainfrom
Felippo001:main
Open

Bug: CIP-68 images not displayed correctly#876
Felippo001 wants to merge 1 commit into
input-output-hk:mainfrom
Felippo001:main

Conversation

@Felippo001

Copy link
Copy Markdown

I came across a bug while working with CIP68 tokens, specifically in handling key-value pairs where the value exceeds 64 letters. In such cases, there's a need to split the string into an array of multiple strings. This bug is affecting the correct display of images and the identification of the CIP-68 tokens in Nami wallet.

Not working in CIP-68

{
    "name": "...",
    "image": ["ipfs://", "bafkreicoobvutqxnxodrjzyd3h72da67hc2jpuivogsehvzl6zglhnbncq"]
}

The fix involves passing the prop into the conversion method before transforming it into a source.

@rhyslbw rhyslbw force-pushed the main branch 5 times, most recently from 9dd4cd2 to 4b947a6 Compare December 19, 2023 03:53
@Shade-of-Sorcery

Copy link
Copy Markdown

Just came across this issue too. Looks like a simple fix. Any idea how to get this merge unblocked?

@sonarqubecloud

sonarqubecloud Bot commented Mar 5, 2024

Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants