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

fix: M-06 Incorrect Parameters Passed to permitWitnessTransferFrom #745

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion contracts/erc7683/ERC7683Across.sol
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ library ERC7683Permit2Lib {
string internal constant PERMIT2_ORDER_TYPE =
string(
abi.encodePacked(
"CrossChainOrder witness)",
"GaslessCrossChainOrder witness)",
ACROSS_ORDER_DATA_TYPE,
CROSS_CHAIN_ORDER_TYPE,
TOKEN_PERMISSIONS_TYPE
Expand All @@ -86,6 +86,7 @@ library ERC7683Permit2Lib {
order.originChainId,
order.openDeadline,
order.fillDeadline,
order.orderDataType,
orderDataHash
)
);
Expand All @@ -102,6 +103,7 @@ library ERC7683Permit2Lib {
orderData.outputAmount,
orderData.destinationChainId,
orderData.recipient,
orderData.exclusiveRelayer,
orderData.exclusivityPeriod,
keccak256(orderData.message)
)
Expand Down
Loading