Skip to content

Commit

Permalink
fix: ctx0 instead of ctx1
Browse files Browse the repository at this point in the history
  • Loading branch information
reednaa committed Nov 21, 2023
1 parent c21d9a6 commit 7a2e201
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/TimeoutExtension.sol
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ abstract contract IMETimeoutExtension is IncentivizedMessageEscrow {
// We don't need any return values and don't care if the call reverts.
// This call implies we need reentry protection, since we need to call it before we delete the incentive map.
fromApplication.call{gas: maxGasAck}(
abi.encodeWithSignature("receiveAck(bytes32,bytes32,bytes)", destinationIdentifier, messageIdentifier, abi.encodePacked(bytes1(0xfd), message[CTX1_MESSAGE_START: ]))
abi.encodeWithSignature("receiveAck(bytes32,bytes32,bytes)", destinationIdentifier, messageIdentifier, abi.encodePacked(bytes1(0xfd), message[CTX0_MESSAGE_START: ]))
);

// Set the gas used on the destination to 15%
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ contract OnRecvTimeoutTest is TestOnRecvCommon {
(
bytes32(0x8000000000000000000000000000000000000000000000000000000000123123),
messageIdentifier,
hex"fd234dae75c793f67a35089c9d99245e1c58470b000000124c5fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6"
hex"fdb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6"
)
)
);
Expand Down

0 comments on commit 7a2e201

Please sign in to comment.