Skip to content
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.

IPC-364: relayer docs and parent finality command #378

Merged
merged 3 commits into from
Nov 6, 2023

Conversation

adlrocha
Copy link
Contributor

@adlrocha adlrocha commented Nov 6, 2023

Closes consensus-shipyard/ipc#367

  • Adds relayer commands.
  • Includes a cross-msg parent-finality command to check the latest parent finality committed in a subnet.

docs/usage.md Outdated Show resolved Hide resolved
docs/usage.md Outdated Show resolved Hide resolved
docs/usage.md Show resolved Hide resolved
docs/usage.md Outdated
```

* Once validators have agree on the checkpoint to be submitted in the parent for a specific epoch, relayers need to pick up the checkpoint and submit it in the parent. The following commands can be used to determine what is the state of this submission:
* Check if the address of a relayer has already submitted a checkpoint for execution in the parent: `./bin/ipc-cli checkpoint has-submitted-bottomup-height --subnet <SUBNET_ID> --submitted <RELAYER_ADDR>`
Copy link
Contributor

Choose a reason for hiding this comment

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

has-submitted-bottomup-height --subnet <source> --submitted <relayer> seems odd. Should height be a parameter?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@cryptoAtwill, correct me if I am wrong, but this one only checks if a relayer for a specific address has submitted the checkpoint for the latest epoch, right? It doesn't query the submission for a specific epoch (thus the lack of the epoch flag). I was also looking for it when I was documenting the command.

docs/usage.md Outdated Show resolved Hide resolved
docs/usage.md Show resolved Hide resolved
@adlrocha adlrocha requested a review from aakoshh November 6, 2023 14:23
@adlrocha adlrocha merged commit d726724 into dev Nov 6, 2023
3 checks passed
@adlrocha adlrocha deleted the ipc-365-relayer-docs branch November 6, 2023 15:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants