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

Add list-transactions subcommand #228

Conversation

wojcik91
Copy link
Collaborator

@wojcik91 wojcik91 commented Jan 23, 2025

Also add node_address parsing to avoid opaque errors and add a request timeout.

Closes #225

@wojcik91 wojcik91 requested a review from zajko January 23, 2025 14:13
let client = CLIENT.get_or_init(Client::new);
let client = CLIENT.get_or_init(|| {
Client::builder()
.timeout(REQUEST_TIMEOUT)
Copy link

Choose a reason for hiding this comment

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

timeout should probably be an optional argument for any of the commands which defaults to REQUEST_TIMEOUT.
We don't have to do that in this PR IMHO

@wojcik91 wojcik91 merged commit 7450440 into casper-ecosystem:feat-track-node-2.0 Jan 24, 2025
1 check passed
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