You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
question about the decisions made in the repository
question about how to use this project
Summary
The function getSchema contains the following 3x bugs:
returns keyType = Singleton for data keys of Array Indexes.
consterc725.js=newERC725([{"name": "LSP12IssuedAssets[]","key": "0x7c8c3416d6cda87cd42c71ea1843df28ac4850354f988d55ee2eaa47b6dc05cd","keyType": "Array","valueType": "address","valueContent": "Address"}])// data key for `LSP12IssuedAssets[4]` at index 4erc725js.getSchema("0x7c8c3416d6cda87cd42c71ea1843df2800000000000000000000000000000004")
returns null for data key of array indexes bigger than 9.
consterc725.js=newERC725([{"name": "LSP12IssuedAssets[]","key": "0x7c8c3416d6cda87cd42c71ea1843df28ac4850354f988d55ee2eaa47b6dc05cd","keyType": "Array","valueType": "address","valueContent": "Address"}])// data key for `LSP12IssuedAssets[10]` at index 10erc725js.getSchema("0x7c8c3416d6cda87cd42c71ea1843df280000000000000000000000000000000a")
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.)
The text was updated successfully, but these errors were encountered:
I'm submitting a...
Summary
The function
getSchema
contains the following 3x bugs:returns
keyType = Singleton
for data keys of Array Indexes.returns
null
for data key of array indexes bigger than 9.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.)
The text was updated successfully, but these errors were encountered: