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(l2): info command #1299

Merged
merged 9 commits into from
Nov 27, 2024
Merged

feat(l2): info command #1299

merged 9 commits into from
Nov 27, 2024

Conversation

fborello-lambda
Copy link
Contributor

Motivation

Implement the info command for the ethrex_l2 cli.
When we edit the config it's being displayed always, don't display by default, add a flag -s to display the changed config.

Description

-s flag example:
Show the changes(note the -s):

ethrex_l2 config edit -s

Info command:

❯ ethrex_l2 info --help
Gets L2's information.

Usage: ethrex_l2 info <COMMAND>

Commands:
  latest-blocks, -l  Get latestCommittedBlock and latestVerifiedBlock from the OnChainProposer.
  block-number, -b   Get the current block_number.
  transaction, -t    Get the transaction's info

@fborello-lambda fborello-lambda self-assigned this Nov 27, 2024
@fborello-lambda fborello-lambda requested a review from a team as a code owner November 27, 2024 15:03
Copy link
Contributor

@ilitteri ilitteri left a comment

Choose a reason for hiding this comment

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

LGTM

@jrchatruc jrchatruc added this pull request to the merge queue Nov 27, 2024
Merged via the queue into main with commit bd97355 Nov 27, 2024
4 checks passed
@jrchatruc jrchatruc deleted the l2/demo_refactors branch November 27, 2024 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants