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

Tuple item names are not displayed in the new UI #1476

Closed
yvaskov opened this issue Jan 4, 2024 · 0 comments · Fixed by #1483
Closed

Tuple item names are not displayed in the new UI #1476

yvaskov opened this issue Jan 4, 2024 · 0 comments · Fixed by #1483
Assignees
Labels
bug Something isn't working v1.22.0 Release v1.22.0

Comments

@yvaskov
Copy link
Contributor

yvaskov commented Jan 4, 2024

Description

New UI doesn't display tuple item names which are available in backend response. Example: method getCollectionData, arg 0xa009441ac8a348e94d8a6c4e56731c8f75e5b443 via following links

https://astar.blockscout.com/address/0xb9A16bAb6aD473260Ae93Cf1b302A08ffb5A1578?tab=read_contract

Image

https://blockscout.com/astar/address/0xb9A16bAb6aD473260Ae93Cf1b302A08ffb5A1578/read-contract#address-tabs

Image

Backend response:

{
    "is_error": false,
    "result": {
        "names": [
            [
                "data",
                [
                    "totalSupply",
                    "maxSupply",
                    "royaltyPercentage",
                    "royaltyRecipient",
                    "owner",
                    "name",
                    "symbol",
                    "collectionMetadata"
                ]
            ]
        ],
        "output": [
            {
                "type": "tuple[uint256,uint256,uint256,address,address,string,string,string]",
                "value": [
                    1000,
                    1000,
                    1000,
                    "0xe150519ae293922cfe6217feba3add4726f5e851",
                    "0xe150519ae293922cfe6217feba3add4726f5e851",
                    "Age of Chronos - Incubators",
                    "AOC_INCUBATORS",
                    "ipfs://QmNPkerDbHngUq6Skjg64TSEyEx8N5Cfwn1XNAxFrRuzxr"
                ]
            }
        ]
    }
}

Version

v1.20.0

@yvaskov yvaskov added the bug Something isn't working label Jan 4, 2024
@tom2drum tom2drum self-assigned this Jan 4, 2024
tom2drum added a commit that referenced this issue Jan 8, 2024
@github-actions github-actions bot added pre-release Tasks in pre-release right now v1.22.0 Release v1.22.0 and removed pre-release Tasks in pre-release right now labels Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working v1.22.0 Release v1.22.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants