geniusyield / dex-contracts-api

Off-chain code to interact with Genius Yield DEX contracts
https://www.geniusyield.co/
16 stars 2 forks source link

[BOT-SERVER] Settings endpoint: Load revision information from env var #46

Closed 4TT1L4 closed 5 months ago

4TT1L4 commented 5 months ago

Problem:

Solution:

Relevant code:

Please use the CI_REVISION env var to load the git revision:

https://github.com/geniusyield/dex-contracts-api/blob/68ffafffb066238fc1f69d41f27a1e5ad97b8052/geniusyield-server-lib/src/GeniusYield/Server/Api.hs#L271

To be removed:

https://github.com/geniusyield/dex-contracts-api/blob/68ffafffb066238fc1f69d41f27a1e5ad97b8052/geniusyield-server-lib/src/GeniusYield/Server/Constants.hs#L37-L38

4TT1L4 commented 5 months ago

This had been addressed in a different way: