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

Remove Height::zero() from relayer #2329

Merged
merged 9 commits into from
Jun 24, 2022
Merged

Conversation

plafer
Copy link
Contributor

@plafer plafer commented Jun 21, 2022

Closes: #2328

Note: I thought it best to only add the changelog entry in the subsequent PR which completely removes Height::zero().


PR author checklist:

  • Added changelog entry, using unclog.
  • Added tests: integration (for Hermes) or unit/mock tests (for modules).
  • Linked to GitHub issue.
  • Updated code comments and documentation (e.g., docs/).

Reviewer checklist:

  • Reviewed Files changed in the GitHub PR explorer.
  • Manually tested (in case integration/unit/mock tests are absent).

@plafer plafer marked this pull request as ready for review June 22, 2022 20:11
@adizere adizere self-assigned this Jun 23, 2022
Copy link
Collaborator

@ancazamfir ancazamfir left a comment

Choose a reason for hiding this comment

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

Looks good! thanks @plafer !

Copy link
Member

@adizere adizere left a comment

Choose a reason for hiding this comment

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

Had a quick look, it's a joy to read this code.

@adizere adizere merged commit 257740a into master Jun 24, 2022
@adizere adizere deleted the plafer/2328-height-zero-relayer branch June 24, 2022 08:58
hu55a1n1 pushed a commit to hu55a1n1/hermes that referenced this pull request Sep 13, 2022
* Cargo lock

* HeightQuery -> QueryHeight

* move query types to relayer's requests file

* QueryClientEventRequest uses QueryHeight

* QueryPacketEventDataRequest uses QueryHeight

* Make trusted_height an Option<Height>

* target_height: use QueryHeight

* MsgTransfer uses Option<Height> for timeout_height field

* Import nit

Co-authored-by: Adi Seredinschi <adi@informal.systems>
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.

Remove use of Height::zero() in relayer
3 participants