synapseweb3 / forcerelay

Apache License 2.0
10 stars 8 forks source link

chore: add git commit hash into ibc-relayer version string #386

Closed ashuralyk closed 9 months ago

ashuralyk commented 9 months ago

background

We don't know how to clarify the git commit of a running Forcerelay instance, which would take a block to our further debug

The Forcerelay has already integrated REST-API feature while compiling and can just open it for changing the REST flag from false to true in config

Through /version api, the response contains version information without git commit hash, this should be adjusted

change logs

  1. add git commit hash into the version printing of ibc-relayer

how's it work

via: http://127.0.0.1:3000/version

image
ashuralyk commented 9 months ago

@Flouse review and update this PR to enable version manage