• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

safe-global / safe-core-protocol / 6299064684

25 Sep 2023 12:04PM UTC coverage: 91.395% (-8.6%) from 100.0%
6299064684

Pull #96

github

akshay-ap
[#95] Add rules
Pull Request #96: Setup certora workflow

124 of 128 branches covered (0.0%)

Branch coverage included in aggregate %.

28 of 28 new or added lines in 5 files covered. (100.0%)

184 of 209 relevant lines covered (88.04%)

12.47 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/contracts/test/certora/TestHooksCertora.sol
1
// SPDX-License-Identifier: LGPL-3.0-only
2
pragma solidity ^0.8.18;
3
import {ISafeProtocolHooks} from "../../interfaces/Modules.sol";
4
import {IAccount} from "../../interfaces/Accounts.sol";
5
import {SafeProtocolAction, SafeTransaction, SafeRootAccess} from "../../DataTypes.sol";
6

7
contract TestHooksCertora is ISafeProtocolHooks {
8
    bool public called;
9

10
    function supportsInterface(bytes4 interfaceId) external view override returns (bool) {}
11

12
    function preCheck(address, SafeTransaction calldata, uint256, bytes calldata) external override returns (bytes memory) {
13
        called = true;
×
14
        return "";
×
15
    }
16

17
    function preCheckRootAccess(address, SafeRootAccess calldata, uint256, bytes calldata) external override returns (bytes memory) {
18
        called = true;
×
19
        return "";
×
20
    }
21

22
    function postCheck(address, bool, bytes calldata) external override {
23
        called = true;
×
24
    }
25
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc