Skip to content

feat: APP-578 add data v2 proto files and codegen/build#92

Merged
blushi merged 1 commit intomainfrom
feat-APP-578-ledger-v6-upgrade
Mar 31, 2025
Merged

feat: APP-578 add data v2 proto files and codegen/build#92
blushi merged 1 commit intomainfrom
feat-APP-578-ledger-v6-upgrade

Conversation

@blushi
Copy link
Copy Markdown
Member

@blushi blushi commented Mar 20, 2025

Part of APP-578

rpc AnchorByIRI(QueryAnchorByIRIRequest) returns (QueryAnchorByIRIResponse) {
option (google.api.http) = {
get : "/regen/data/v2/anchor-by-iri/{iri}"
// additional_bindings : [ {get : "/regen/data/v2/anchors/iri/{iri}"} ]
Copy link
Copy Markdown
Member Author

@blushi blushi Mar 20, 2025

Choose a reason for hiding this comment

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

just commenting these additional bindings lines which cause some syntax error when generating typescript code, they are not useful anyway in our case

Copy link
Copy Markdown

@r41ph r41ph Mar 31, 2025

Choose a reason for hiding this comment

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

Can we just delete them?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I think it doesn't hurt to keep them as comments, because they are in the original proto files from regen-ledger
this reminds us we have to comment them out until this is handled by the ts generation tool

// regen.data.v1
'/regen.data.v1.MsgAnchor': {
// regen.data.v2
'/regen.data.v2.MsgAnchor': {
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

main change apart from adding data v2 proto files and codegen

@blushi blushi requested a review from r41ph March 20, 2025 11:31
@blushi blushi merged commit d872439 into main Mar 31, 2025
2 checks passed
@blushi blushi deleted the feat-APP-578-ledger-v6-upgrade branch March 31, 2025 14:15
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