Skip to content

Commit

Permalink
fix portal.mockXCall
Browse files Browse the repository at this point in the history
  • Loading branch information
ttarsi committed Jul 29, 2024
1 parent 7c5cbe2 commit 3f37d34
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/GreetingBook.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ contract GreetingBookTest is Test {
address user = address(0x123);
uint64 gasLimit = 120_000;
uint64 mockSourceChainId = 1;
address mockSourceXapp = address(0x456);

MockPortal portal;
GreetingBook greetingBook;
Expand All @@ -24,7 +25,7 @@ contract GreetingBookTest is Test {
string memory greeting = "Hello, world!";
portal.mockXCall(
mockSourceChainId,
address(portal),
mockSourceXapp,
address(greetingBook),
abi.encodeCall(GreetingBook.greet, (user, greeting)),
gasLimit
Expand Down

0 comments on commit 3f37d34

Please sign in to comment.