-
Notifications
You must be signed in to change notification settings - Fork 18
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
Decouple OrderData from Base7683 #29
Conversation
@@ -11,6 +11,6 @@ | |||
"forge-std/=../node_modules/forge-std/src/", | |||
"@hyperlane-xyz/=../node_modules/@hyperlane-xyz/core/contracts/", | |||
"contracts/=../node_modules/@hyperlane-xyz/core/contracts/", | |||
"@uniswap/=../node_modules/@uniswap/", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this intended here?
for (uint256 i = 0; i < _orderIds.length; i += 1) { | ||
if (orderStatus[_orderIds[i]] != FILLED) revert InvalidOrderStatus(); | ||
|
||
// It may be good idea not to change the status here (on destination) but only on the origin. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure I understand this comment?
solidity/src/Hyperlane7683.sol
Outdated
msg.sender, TypeCasts.bytes32ToAddress(orderData.recipient), orderData.amountOut | ||
); | ||
} | ||
// /** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this intended?
closing this in favor of #60 |
This PR fixes #3 and #32