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
but looking at the code linked from the docs here: https://go.dev/play/p/3id7HAhf-Wi
it only uses the schema @id to create the hash
lastly iden3 bytes to bigint reverses the byte order which is also confusing, when trying to recreate the hash using other code
This happens also when verifying the challenge on chain
iden3/polygon docs should be updated to reflect the correct way to calculate the hash
the go code should just ask for credential type+id instead of pasting the whole credential
the reversal of the bytes should be mentioned in multiple places, that would help future dev avoid this confusion
The text was updated successfully, but these errors were encountered:
In iden3 docs it says the schema hash is created from the hash of the LD document bytes
https://docs.iden3.io/protocol/claim-schema/#schema-hash
but looking at the code linked from the docs here: https://go.dev/play/p/3id7HAhf-Wi
it only uses the schema @id to create the hash
lastly iden3 bytes to bigint reverses the byte order which is also confusing, when trying to recreate the hash using other code
This happens also when verifying the challenge on chain
The text was updated successfully, but these errors were encountered: