ERC725Alliance / erc725.js

Package to interact with ERC725 smart contracts
Apache License 2.0
38 stars 29 forks source link

Feching `LSP4TokenType` works and decode correctly number with `getData(["...", "...", "LSP4TokenType"])` (array parameter) ✅, but not with `getData("LSP4TokenType")` (single data key) ❌ #473

Open CJ42 opened 1 month ago

CJ42 commented 1 month ago

I'm submitting a...

Summary

Encountered when working on the UP Social Graph dApp. See screenshots below.

This works ✅

Screenshot 2024-09-06 at 07 04 50 Screenshot 2024-09-06 at 07 04 42

This does not work ❌

Screenshot 2024-09-06 at 07 06 31 Screenshot 2024-09-06 at 07 06 25

Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)

There might be something wrong with the decoding somewhere I believe? Might need to investigate the path for the getData for a single data key query.