celestia-node icon indicating copy to clipboard operation
celestia-node copied to clipboard

[Feature Request]: store openrpc.json in releases

Open jcstein opened this issue 2 years ago • 3 comments

Implementation ideas

This is so that it is historically accessible, and so that storing past versions does not cause any risk of manual user error.

v0.11.0-rc8 would be available at: https://raw.githubusercontent.com/celestiaorg/celestia-node/v0.11.0-rc8/openrpc.json

v0.11.0-rc9 would be available at: https://raw.githubusercontent.com/celestiaorg/celestia-node/v0.11.0-rc9/openrpc.json

etc.

jcstein avatar Aug 24 '23 14:08 jcstein

@jcstein can we do this now? we will have the rpc stuff in a branch right?

ramin avatar Nov 27 '23 10:11 ramin

i've been manually generating the specs on tagged releases, but it would be ideal if they existed on the release itself with the binaries, mostly for verifiability and removing the manual step so it can be automated

jcstein avatar Nov 27 '23 19:11 jcstein

bumping this again. also, the API version hasn't been updated in a long time and the result still shows:

--> Generating OpenRPC spec
{
    "openrpc": "1.2.6",
    "info": {
        "title": "Celestia Node API",
        "description": "The Celestia Node API is the collection of RPC methods that can be used to interact with the services provided by Celestia Data Availability Nodes.",
        "version": "v0.11.0"

jcstein avatar Mar 28 '24 21:03 jcstein