hyperlane-xyz / hyperlane-monorepo

The home for Hyperlane core contracts, sdk packages, and other infrastructure
https://hyperlane.xyz
Other
338 stars 372 forks source link

fix: Use block slot instead of block height for Sealevel chains #4862

Closed ameten closed 4 days ago

ameten commented 1 week ago

Description

Use block slot instead of block height for Sealevel chains

Backward compatibility

Yes

Testing

Manual run of validator against Solana mainnet

changeset-bot[bot] commented 1 week ago

⚠️ No Changeset found

Latest commit: 0668cde23ba5aeca222f156cbfa7ebf589280e1f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

codecov[bot] commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 74.60%. Comparing base (57346de) to head (0668cde). Report is 4 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #4862 +/- ## ======================================= Coverage 74.60% 74.60% ======================================= Files 103 103 Lines 1516 1516 Branches 195 195 ======================================= Hits 1131 1131 Misses 364 364 Partials 21 21 ``` | [Components](https://app.codecov.io/gh/hyperlane-xyz/hyperlane-monorepo/pull/4862/components?src=pr&el=components&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hyperlane-xyz) | Coverage Δ | | |---|---|---| | [core](https://app.codecov.io/gh/hyperlane-xyz/hyperlane-monorepo/pull/4862/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hyperlane-xyz) | `84.61% <ø> (ø)` | | | [hooks](https://app.codecov.io/gh/hyperlane-xyz/hyperlane-monorepo/pull/4862/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hyperlane-xyz) | `77.77% <ø> (ø)` | | | [isms](https://app.codecov.io/gh/hyperlane-xyz/hyperlane-monorepo/pull/4862/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hyperlane-xyz) | `79.02% <ø> (ø)` | | | [token](https://app.codecov.io/gh/hyperlane-xyz/hyperlane-monorepo/pull/4862/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hyperlane-xyz) | `89.07% <ø> (ø)` | | | [middlewares](https://app.codecov.io/gh/hyperlane-xyz/hyperlane-monorepo/pull/4862/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hyperlane-xyz) | `77.58% <ø> (ø)` | |