Skip to content

fix: Doc Hash on chain#83

Merged
amarts merged 3 commits intodhiway:mainfrom
Vikastc:dochash
Sep 10, 2025
Merged

fix: Doc Hash on chain#83
amarts merged 3 commits intodhiway:mainfrom
Vikastc:dochash

Conversation

@Vikastc
Copy link
Contributor

@Vikastc Vikastc commented Sep 9, 2025

Check if this is a correct implementation of doc-hash

Signed-off-by: vikastc <vikas.tc@dhiway.com>
@Vikastc Vikastc requested a review from amarts September 9, 2025 07:30
return res.status(400).json({
error: 'Registry not found for the provided address',
});
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we take a default registry per org/key, and use the same for doc_hash call always? The same call can take registryId as optional field if required?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is allowing me to anchor one doc-hash per registry

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is giving error if i try to use the same registry id more than once

Copy link
Member

@amarts amarts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - would prefer a common registry, instead of creating new everytime. Can be done as a followup too.

Signed-off-by: vikastc <vikas.tc@dhiway.com>
Signed-off-by: vikastc <vikas.tc@dhiway.com>
@Vikastc Vikastc requested a review from amarts September 9, 2025 17:23
@amarts amarts merged commit 5e036ae into dhiway:main Sep 10, 2025
1 check passed
@Vikastc Vikastc deleted the dochash branch September 10, 2025 04:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants