-
Notifications
You must be signed in to change notification settings - Fork 403
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Google Cloud Storage CheckpointSyncer checker implementation (#4971
) ### Description The current CLI command `hyperlane avs check` only checks when storage location starts with `s3://` This PR allow to retrieve and check the validator state on Google Cloud Storage - when storage location starts with `gs://` ### Drive-by changes * Use the latest location set during Validator registration & retrieve it from ValidatorAnnounce.getAnnouncedStorageLocations ### Related issues * None ### Backward compatibility * Yes ### Testing * Manual using locally compiled `yarn hyperlane avs check` command Before ```bash Operator name: Born to be wild Operator address: 0xd38d980188604c7051dbce2980a0c6e38423fda4 Validator address: 0x58a607f46a481c9e5209ab27f45189411fA83D41 Validator is not validating on any chain ``` After ```bash Operator name: Born to be wild Operator address: 0xd38d980188604c7051dbce2980a0c6e38423fda4 Validator address: 0x58a607f46a481c9e5209ab27f45189411fA83D41 Validating on... base Storage location: https://storage.googleapis.com/hyperlane_2pa2pyhawbcl35nnfr079f50iy7/gcsLatestIndexKey Latest merkle tree checkpoint index: 992526 Latest validator checkpoint index: 992525 ✅ Validator is signing latest checkpoint optimism Storage location: https://storage.googleapis.com/hyperlane_2okiqlhes2ki6lfsgsa0qlzaclx/gcsLatestIndexKey Latest merkle tree checkpoint index: 654920 Latest validator checkpoint index: 654920 ✅ Validator is signing latest checkpoint ```
- Loading branch information
1 parent
70d9526
commit 1f2945b
Showing
5 changed files
with
46 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters