File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ contract ERC20PriceOracleReceiptVaultTest is Test {
6363 function getReceipt () internal view returns (ReceiptContract) {
6464 Vm.Log[] memory logs = vm.getRecordedLogs ();
6565
66- // Find the ERC20PriceOracleReceiptVaultInitialized event log
66+ // Find the event log
6767 address receiptAddress = address (0 );
6868 bool eventFound = false ; // Flag to indicate whether the event log was found
6969 for (uint256 i = 0 ; i < logs.length ; i++ ) {
@@ -77,7 +77,7 @@ contract ERC20PriceOracleReceiptVaultTest is Test {
7777 }
7878 }
7979 // Assert that the event log was found
80- assertTrue (eventFound, "ERC20PriceOracleReceiptVaultInitialized event log not found " );
80+ assertTrue (eventFound, "ERC20PriceOracleReceiptVaultInitializedV2 event log not found " );
8181 // Return an receipt contract
8282 return ReceiptContract (receiptAddress);
8383 }
You can’t perform that action at this time.
0 commit comments