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(cli): Add avs validator status command #4056

Merged
merged 3 commits into from
Jun 26, 2024

Conversation

Mo-Hussain
Copy link
Contributor

@Mo-Hussain Mo-Hussain commented Jun 25, 2024

Description

Example usage:

yarn hyperlane avs check --chain ethereum --registry $REGISTRY
Hyperlane CLI
Checking AVS validator status for ethereum, this may take up to a minute to run...
❗️ MerkleTreeHook is not deployed on anvil8545



Operator name: Abacus Works AVS Operator
Operator address: 0xFe114FcC7609578f525219a8eF77e2CCe27C5357
Validator address: 0x03c842db86A6A3E524D4a6615390c1Ea8E2b9541
  Validating on...
  ethereum
  Storage location: s3://hyperlane-mainnet3-ethereum-validator-0/us-east-1
  Latest merkle tree checkpoint index: 8219
  Latest validator checkpoint index: 8219
  ✅ Validator is signing latest checkpoint



Operator name: Kelp by Kiln
Operator address: 0x96fC0751e0febe7296d4625500f8e4535a002c7d
Validator address: 0xEa5f21513182e97D0169a4d2E7aC71Ae8827F5bC
  Validating on...
  ethereum
  Storage location: s3://kiln-mainnet-hyperlane-validator-signatures/eu-west-1/ethereum
  Latest merkle tree checkpoint index: 8219
  ❌ Failed to fetch latest signed checkpoint index
  The following warnings were encountered:
   ❗️ Failed to fetch latest signed checkpoint index of validator on ethereum, this is likely due to failing to read an S3 bucket

Drive-by changes

Related issues

Backward compatibility

No

Testing

Manual

Copy link

changeset-bot bot commented Jun 25, 2024

🦋 Changeset detected

Latest commit: 2bbb202

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 7 packages
Name Type
@hyperlane-xyz/cli Minor
@hyperlane-xyz/core Minor
@hyperlane-xyz/helloworld Minor
@hyperlane-xyz/sdk Minor
@hyperlane-xyz/infra Minor
@hyperlane-xyz/ccip-server Minor
@hyperlane-xyz/utils Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

codecov bot commented Jun 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.56%. Comparing base (b99920e) to head (2bbb202).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4056   +/-   ##
=======================================
  Coverage   60.56%   60.56%           
=======================================
  Files         129      129           
  Lines        1656     1656           
  Branches      176      176           
=======================================
  Hits         1003     1003           
  Misses        626      626           
  Partials       27       27           
Components Coverage Δ
core 84.61% <ø> (ø)
hooks 67.50% <ø> (ø)
isms 39.52% <ø> (ø)
token 62.83% <ø> (ø)
middlewares 77.05% <ø> (ø)

@Mo-Hussain Mo-Hussain added this pull request to the merge queue Jun 26, 2024
Merged via the queue into main with commit 44cc9bf Jun 26, 2024
39 checks passed
@Mo-Hussain Mo-Hussain deleted the mo/avs-validator-status-cli branch June 26, 2024 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Add AVS status check
2 participants