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
I generated specs using celestia docgen on v0.16.0 and v0.17.1 and added them to docs, but it is reported that the response examples are incorrect on docs still, although the API changed. API spec updates from v0.16.0 and v0.17.1 do not contain correct responses, for at least tx responses:
API Response Changes: The return type for SubmitPayForBlob remains unchanged, but most fields in the response will now be omitted. Only the Code, TxHash, and Height fields will be populated, with all other fields set to empty values.
Solution
Modify the docs within celestia-node so that when docs are generated in the CI (building the openrpc.json specs) or manually in CLI, they contain the correct responses
The text was updated successfully, but these errors were encountered:
I think the reason for that could be because the type hasn't changed on celestia-node side, just now celestia-app responds with the other type that only partially maps to the TxResponse. Docs probably just fill dummy values for the type they see
Problem
From Slack thread
I generated specs using
celestia docgen
on v0.16.0 and v0.17.1 and added them to docs, but it is reported that the response examples are incorrect on docs still, although the API changed. API spec updates from v0.16.0 and v0.17.1 do not contain correct responses, for at least tx responses:Source: https://github.com/celestiaorg/celestia-node/releases/tag/v0.16.0
Solution
Modify the docs within celestia-node so that when docs are generated in the CI (building the openrpc.json specs) or manually in CLI, they contain the correct responses
The text was updated successfully, but these errors were encountered: