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

Improve ergonomics of fork tests #2911

Merged
merged 8 commits into from
Jan 26, 2024
Merged

Improve ergonomics of fork tests #2911

merged 8 commits into from
Jan 26, 2024

Conversation

yorhodes
Copy link
Member

@yorhodes yorhodes commented Nov 10, 2023

Description

#2888 introduced breaking changes to non-arbitrum chains but fork tests would not cover
This PR adds a fork-all script for running fork tests on all protocol == ethereum chains in an environment
It also improves the interface of the fork script to accept a target chain

Drive-by changes

  • Remove noisy console.logs
  • swap polygon, ethereum, polygonzkevm RPCs
  • Fixes ownerOverrides: proxyAdmin for chains without gnosis safes

Backward compatibility

Yes

@yorhodes yorhodes changed the title Fork all prod networks in CI Fork test all prod networks in CI Nov 10, 2023
Copy link

codecov bot commented Nov 10, 2023

Codecov Report

Merging #2911 (8979842) into main (fa465b7) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2911   +/-   ##
=======================================
  Coverage   67.65%   67.65%           
=======================================
  Files          99       99           
  Lines        1014     1014           
  Branches      106      106           
=======================================
  Hits          686      686           
  Misses        284      284           
  Partials       44       44           
Components Coverage Δ
core 50.00% <ø> (ø)
hooks 68.79% <ø> (ø)
isms 65.94% <ø> (ø)
token 58.41% <ø> (ø)
middlewares 81.46% <ø> (ø)

@yorhodes yorhodes changed the base branch from v3 to main November 29, 2023 21:48
Copy link

changeset-bot bot commented Jan 25, 2024

⚠️ No Changeset found

Latest commit: 8979842

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

@yorhodes yorhodes changed the title Fork test all prod networks in CI Improve ergonomics of fork tests Jan 25, 2024
@yorhodes yorhodes merged commit 778312d into main Jan 26, 2024
23 of 24 checks passed
@yorhodes yorhodes deleted the comprehensive-fork-tests branch January 26, 2024 16:17
ltyu pushed a commit to ltyu/hyperlane-monorepo that referenced this pull request Mar 13, 2024
### Description

hyperlane-xyz#2888 introduced
breaking changes to non-`arbitrum` chains but fork tests would not cover
This PR adds a `fork-all` script for running fork tests on all `protocol
== ethereum` chains in an environment
It also improves the interface of the `fork` script to accept a target
chain

### Drive-by changes

- Remove noisy `console.log`s
- swap `polygon, ethereum, polygonzkevm` RPCs
- Fixes `ownerOverrides: proxyAdmin` for chains without gnosis safes

### Backward compatibility

Yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants