Skip to content

Commit

Permalink
correction comment (#916)
Browse files Browse the repository at this point in the history
updates transaction checked - updates `the` transaction `as` checked
  • Loading branch information
XxAlex74xX authored Feb 26, 2025
1 parent cf95a4b commit 2dd0763
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions certora/mocks/ModuleGuardMock.sol
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ contract ModuleGuardMock is IModuleGuard {
Enum.Operation operation,
address module
) external override returns (bytes32 moduleTxHash) {
// updates transaction checked
// updates the transaction as checked
preCheckedTransactions = true ;
// if it passes, it returns a string of bytes
return bytes32(0);
Expand Down Expand Up @@ -68,4 +68,4 @@ contract ModuleGuardMock is IModuleGuard {
interfaceId == type(IERC165).interfaceId; // 0x01ffc9a7
}

}
}
4 changes: 2 additions & 2 deletions certora/mocks/ModuleGuardMockDuplicate.sol
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ contract ModuleGuardMockDuplicate is IModuleGuard {
Enum.Operation operation,
address module
) external override returns (bytes32 moduleTxHash) {
// updates transaction checked
// updates the transaction as checked
preCheckedTransactions = true ;
// if it passes, it returns a string of bytes
return bytes32(0);
Expand Down Expand Up @@ -68,4 +68,4 @@ contract ModuleGuardMockDuplicate is IModuleGuard {
interfaceId == type(IERC165).interfaceId; // 0x01ffc9a7
}

}
}
6 changes: 3 additions & 3 deletions certora/mocks/TxnGuardMock.sol
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ contract TxnGuardMock is ITransactionGuard {
bytes memory signatures,
address msgSender
) external override {
// updates transaction checked
// updates the transaction as checked
preCheckedTransactions = true;
}

Expand All @@ -57,7 +57,7 @@ contract TxnGuardMock is ITransactionGuard {
* @param success The status of the transaction execution.
*/
function checkAfterExecution(bytes32 hash, bool success) external override {
// updates transaction checked
// updates the transaction as checked
postCheckedTransactions = true ;
}

Expand All @@ -75,4 +75,4 @@ contract TxnGuardMock is ITransactionGuard {
interfaceId == type(IERC165).interfaceId; // 0x01ffc9a7
}

}
}
6 changes: 3 additions & 3 deletions certora/mocks/TxnGuardMockDuplicate.sol
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ contract TxnGuardMockDuplicate is ITransactionGuard {
bytes memory signatures,
address msgSender
) external override {
// updates transaction checked
// updates the transaction as checked
preCheckedTransactions = true;
}

Expand All @@ -57,7 +57,7 @@ contract TxnGuardMockDuplicate is ITransactionGuard {
* @param success The status of the transaction execution.
*/
function checkAfterExecution(bytes32 hash, bool success) external override {
// updates transaction checked
// updates the transaction as checked
postCheckedTransactions = true ;
}

Expand All @@ -75,4 +75,4 @@ contract TxnGuardMockDuplicate is ITransactionGuard {
interfaceId == type(IERC165).interfaceId; // 0x01ffc9a7
}

}
}

0 comments on commit 2dd0763

Please sign in to comment.