Skip to content

Commit

Permalink
test: fix some tests that fell through the cracks
Browse files Browse the repository at this point in the history
  • Loading branch information
reednaa committed May 15, 2024
1 parent c508462 commit 6b2aae7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion evm/test/CatalystRouter/GasProfiling/sendasset.fail.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ contract TestRouterSendassetFailProfile is TestCommon {

Vm.Log[] memory entries = vm.getRecordedLogs();

(bytes32 destinationIdentifier, bytes memory recipitent, bytes memory messageWithContext) = abi.decode(entries[4].data, (bytes32, bytes, bytes));
(bytes32 destinationIdentifier, bytes memory recipitent, bytes memory messageWithContext) = abi.decode(entries[3].data, (bytes32, bytes, bytes));

(bytes memory _metadata, bytes memory toExecuteMessage) = getVerifiedMessage(address(GARP), messageWithContext);

Expand Down
2 changes: 1 addition & 1 deletion evm/test/CatalystRouter/GasProfiling/sendasset.gas.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ contract TestRouterSendassetProfile is TestCommon {

Vm.Log[] memory entries = vm.getRecordedLogs();

(bytes32 destinationIdentifier, bytes memory recipitent, bytes memory messageWithContext) = abi.decode(entries[4].data, (bytes32, bytes, bytes));
(bytes32 destinationIdentifier, bytes memory recipitent, bytes memory messageWithContext) = abi.decode(entries[3].data, (bytes32, bytes, bytes));

(bytes memory _metadata, bytes memory toExecuteMessage) = getVerifiedMessage(address(GARP), messageWithContext);

Expand Down
2 changes: 1 addition & 1 deletion evm/test/CatalystVault/Setup/Setup.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ abstract contract TestSetup is TestCommon, AVaultInterfaces {

// Verify the 'VaultDeployed' event
Vm.Log[] memory logs = vm.getRecordedLogs();
Vm.Log memory vaultDeployedLog = logs[12];
Vm.Log memory vaultDeployedLog = logs[logs.length - 1];

assertEq(vaultDeployedLog.topics[1], bytes32(uint256(uint160(vaultTemplate))));
assertEq(vaultDeployedLog.topics[2], bytes32(uint256(uint160(address(CCI)))));
Expand Down

0 comments on commit 6b2aae7

Please sign in to comment.