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

add polygon hook and ism #3038

Merged
merged 22 commits into from
May 10, 2024

Conversation

NOOMA-42
Copy link
Contributor

@NOOMA-42 NOOMA-42 commented Dec 7, 2023

Description

polygon hook and ism

Drive-by changes

Related issues

Backward compatibility

Yes

Testing

$ hyperlane-monorepo/solidity/: forge test -vvv --match-path test/isms/PolygonPosIsm.t.sol

Note

Per this discord discussion
This PR doesn't include deployment script

Copy link

changeset-bot bot commented Dec 7, 2023

⚠️ No Changeset found

Latest commit: 4516c35

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
Copy link
Member

@NOOMA-42 this is looking great, is it ready for review?

@NOOMA-42 NOOMA-42 marked this pull request as ready for review December 12, 2023 12:21
@NOOMA-42
Copy link
Contributor Author

NOOMA-42 commented Dec 12, 2023

@NOOMA-42 this is looking great, is it ready for review?

it's ready now.
Got a questions: I only implement Eth to Polygon. Do I need to implement sending message from polygon to eth? There's something called sendMessageToRoot in fxchild contract on Polygon Pos. I'm not sure do should I just implement such method in polygonISM or there should be another hook. I've left some other comments in the code for further discussion.

@NOOMA-42 NOOMA-42 changed the title WIP: add polygon hook and ism add polygon hook and ism Dec 12, 2023
@NOOMA-42
Copy link
Contributor Author

NOOMA-42 commented Jan 3, 2024

Ready for review @yorhodes @nambrot @jmrossy

Copy link
Member

@yorhodes yorhodes left a comment

Choose a reason for hiding this comment

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

great work! amazing test coverage
would love to see more contributions from you

solidity/contracts/hooks/PolygonPosHook.sol Show resolved Hide resolved
solidity/contracts/hooks/PolygonPosHook.sol Show resolved Hide resolved
solidity/contracts/hooks/PolygonPosHook.sol Outdated Show resolved Hide resolved
solidity/contracts/isms/hook/PolygonPosIsm.sol Outdated Show resolved Hide resolved
solidity/test/isms/PolygonPosIsm.t.sol Show resolved Hide resolved
solidity/test/isms/PolygonPosIsm.t.sol Show resolved Hide resolved
solidity/contracts/hooks/PolygonPosHook.sol Outdated Show resolved Hide resolved
@avious00
Copy link
Contributor

hey @yorhodes what's remaining for @NOOMA-42 here?

does he need to resolve the 4 open conversations, resolve conflicts, pass tests, and then merge?

@NOOMA-42 NOOMA-42 requested a review from nbayindirli as a code owner April 19, 2024 14:59
@yorhodes yorhodes enabled auto-merge (squash) May 10, 2024 01:22
@yorhodes yorhodes merged commit c9c5d37 into hyperlane-xyz:main May 10, 2024
30 of 31 checks passed
@NOOMA-42 NOOMA-42 deleted the feat/polygon-hook-and-ism branch May 10, 2024 06:36
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.

Polygon Hooks and ISMs
3 participants