Skip to content

Init.Client: trivial clean up #17284

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

Open
wants to merge 1 commit into
base: compatible
Choose a base branch
from
Open

Init.Client: trivial clean up #17284

wants to merge 1 commit into from

Conversation

glyh
Copy link
Member

@glyh glyh commented May 26, 2025

EDIT: didn't expect this to break CI

@glyh glyh requested a review from a team as a code owner May 26, 2025 09:57
@glyh
Copy link
Member Author

glyh commented May 26, 2025

!ci-build-me

@dannywillems
Copy link
Member

!ci-bypass-changelog

@@ -802,7 +802,7 @@ let export_ledger =
if Option.is_some state_hash then (
Format.eprintf "A state hash should not be given for %s@."
ledger_kind ;
Core_kernel.exit 1 )
Core.exit 1 )
Copy link
Member

Choose a reason for hiding this comment

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

I would simply use Stdlib.

Copy link
Member Author

Choose a reason for hiding this comment

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

That's what I did on iteration 1, but for consistency I didn't refer to Stdlib, but only Core

@@ -673,7 +673,7 @@ let send_rosetta_transactions_graphql =
Format.eprintf "@[<v>Error:@,%a@,@]@."
(Yojson.Safe.pretty_print ?std:None)
(Error_json.error_to_yojson err) ;
Core_kernel.exit 1 ) )
Core.exit 1 ) )
Copy link
Member

Choose a reason for hiding this comment

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

I would simply use Stdlib

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants