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

feat: Update to contracts-v2@2.5.0 #546

Merged
merged 10 commits into from
Feb 11, 2024
Merged

Conversation

nicholaspai
Copy link
Member

This PR takes advantage of an updated MockSpokePool and updated test-utils exports from the contracts-v2 repo that make existing unit tests in this repo pass out of the box

Copy link
Contributor

@pxrl pxrl left a comment

Choose a reason for hiding this comment

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

@nicholaspai I pushed some changes to this PR, specifically to:

  • Update the fill utility functions to work only with v3 types.
  • Complete the v3 fill status test (was previously @todo) and deprecated the v2 fill status test (will never be used).
  • Add depositV3() and fillV3Relay() utility functions.

It's probably still my preference to import v3 contracts separately as an aliased package, but I don't have any reason to think that this approach won't work, and I am really satisfied to be able to test against v3 contracts in this PR.

@nicholaspai nicholaspai merged commit 04be894 into master Feb 11, 2024
3 checks passed
@pxrl pxrl deleted the npai/contracts-v2-2.5.0 branch February 12, 2024 04:50
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.

2 participants