Skip to content

Commit

Permalink
Fix helloworld metadata usage
Browse files Browse the repository at this point in the history
  • Loading branch information
yorhodes committed Nov 21, 2023
1 parent 62211b9 commit ed0391c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions typescript/helloworld/contracts/HelloWorld.sol
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@ contract HelloWorld is Router {
function _metadata(
uint32 /*_destinationDomain*/
) internal view override returns (bytes memory) {
return
StandardHookMetadata.formatMetadata(HANDLE_GAS_AMOUNT, msg.sender);
return StandardHookMetadata.overrideGasLimit(HANDLE_GAS_AMOUNT);

Check warning on line 89 in typescript/helloworld/contracts/HelloWorld.sol

View check run for this annotation

Codecov / codecov/patch

typescript/helloworld/contracts/HelloWorld.sol#L89

Added line #L89 was not covered by tests
}

/**
Expand Down

0 comments on commit ed0391c

Please sign in to comment.