Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add version cmd to all bins #4343

Merged
merged 4 commits into from
Dec 14, 2023
Merged

Conversation

j4m1ef0rd
Copy link
Contributor

@j4m1ef0rd j4m1ef0rd commented Dec 13, 2023

Pull Request

Closes: PRO-1040

Checklist

Please conduct a thorough self-review before opening the PR.

  • I am confident that the code works.
  • I have updated documentation where appropriate.

Summary

  • Added version check to LP API, Broker & Tracker.
  • Re-used the same code that the CFE & CLI were using.
  • Added "-v" shorthand
  • Extended the tracker settings to support cmd line options so it could support the version cmd.
    • The env var names for the tracker settings are now different. eg: ETH_WS_ENDPOINT -> ETH__WS_ENDPOINT. Double underscore is now used, same as the other bins.

@j4m1ef0rd j4m1ef0rd added the CFE label Dec 13, 2023
@j4m1ef0rd j4m1ef0rd requested review from msgmaxim and kylezs December 13, 2023 02:01
@j4m1ef0rd j4m1ef0rd self-assigned this Dec 13, 2023
Copy link

codecov bot commented Dec 13, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (2e0efa1) 71% compared to head (d41fef8) 71%.
Report is 3 commits behind head on main.

Additional details and impacted files
@@          Coverage Diff           @@
##            main   #4343    +/-   ##
======================================
- Coverage     71%     71%    -0%     
======================================
  Files        393     393            
  Lines      66818   66667   -151     
  Branches   66818   66667   -151     
======================================
- Hits       47720   47495   -225     
- Misses     16672   16742    +70     
- Partials    2426    2430     +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@marcellorigotti
Copy link
Contributor

Here is an update to the docs:
chainflip-io/chainflip-docs#143
Approve this PR as well when this one gets merged

Comment on lines 26 to 28
#[clap(long = "eth_ws_endpoint")]
eth_ws_endpoint: Option<String>,
#[clap(long = "eth_http_endpoint")]
Copy link
Contributor

Choose a reason for hiding this comment

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

For consistency, in the engine we use .

#[clap(long = "eth.rpc.ws_endpoint")]
pub eth_ws_endpoint: Option<String>,

@kylezs
Copy link
Contributor

kylezs commented Dec 13, 2023

Cheers! will make debugging some issues in the future a bit easier

@j4m1ef0rd j4m1ef0rd merged commit f28c005 into main Dec 14, 2023
42 checks passed
@j4m1ef0rd j4m1ef0rd deleted the feat/bins-output-version-info branch December 14, 2023 00:51
syan095 added a commit that referenced this pull request Dec 18, 2023
…-timeout

* origin/main:
  feat: end to end network upgrade github action (#4274)
  feat: spec_version of PR is greater than spec version of current release (#4355)
  feat: enforce version is greater than release version on PRs to main (#4351)
  fix: btc witnesser test failing sometimes (#4353)
  fix: connections can become stale when reconnecting (#4310)
  chore: add `chainflip-rpc-node` systemd file 🚀 (#4352)
  feat: API Bins check SC compatibility (#4342)
  chore: update runtime spec checks ⛓️ (#4349)
  feat: Add version cmd to all bins (#4343)
  fix: changelog check 🤫 (#4348)
  chore: update docker tags 🐳 (#4347)
  chore: add runtime version check 👀 (#4344)
  feat: shave fees on ingress (#4335)
  pick/persa fixes (#4329)
  feat: track btc fees on success (#4334)
  ensure we dont create BTC transaction outputs below the bitcoin dust limit (#4340)
  fix: sweeping before withdrawal (#4337)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants