Skip to content

Commit

Permalink
Assert signature length on fill
Browse files Browse the repository at this point in the history
  • Loading branch information
yorhodes committed Dec 2, 2024
1 parent b99bc95 commit 46f9944
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/HyperlaneArbiter.sol
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ contract HyperlaneArbiter is Router {
) external payable {
require(block.chainid == intent.chainId, "invalid chain");

require(allocatorSignature.length == 64 && sponsorSignature.length == 64, "invalid signature length");

// TODO: support Permit2 fills
address filler = msg.sender;
uint256 hyperlaneFee = msg.value;
Expand Down

0 comments on commit 46f9944

Please sign in to comment.