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

safe-global / safe-smart-account / 9710052157
94%

Build:
DEFAULT BRANCH: main
Ran 28 Jun 2024 08:46AM UTC
Jobs 1
Files 33
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Jun 2024 08:45AM UTC coverage: 92.899% (-0.01%) from 92.909%
9710052157

push

github

web-flow
Create a pre call hook onBeforeExecTransaction (#776)

Fixes #775, #735

To have a broader context on overall changes in the code use this
[diff](https://github.com/safe-global/safe-smart-account/compare/499b17ad..improvement-execTransaction-post-call-hook)

### Changes in PR:
- Add a pre-hook function onBeforeExecTransaction
- Refactor changes in #772, #774
- Add a pre-hook function onBeforeExecTransactionFromModule
- Change function visibility of execTransaction from public to external

### Code size change

Increase by 51 bytes in Safe with diff:
https://github.com/safe-global/safe-smart-account/compare/499b17ad..improvement-execTransaction-post-call-hook:

#### This PR
```
Safe 21832 bytes (limit is 24576)
SafeL2 22612 bytes (limit is 24576)
```

####
[Commit](https://github.com/safe-global/safe-smart-account/commit/499b17ad0)
(Prior to merging #772)

```
Safe 21781 bytes (limit is 24576)
SafeL2 22623 bytes (limit is 24576)
```

### Gas usage with Safe contract

- Increase by 79 gas in execTransaction calls
- Increase by 44 gas in execTransactionFromModule* calls

#### This PR

```
·------------------------------------------------------------|----------------------------|-------------|------------------------------·
|                    Solc version: 0.7.6                     ·  Optimizer enabled: false  ·  Runs: 200  ·  Block limit: 100000000 gas  │
·····························································|····························|·············|·······························
|  Methods                                                                                                                             │
·····················|·······································|·············|··············|·············|···············|···············
|  Contract          ·  Method                               ·  Min        ·  Max         ·  Avg        ·  # calls      · ... (continued)

253 of 290 branches covered (87.24%)

Branch coverage included in aggregate %.

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

388 of 400 relevant lines covered (97.0%)

98.52 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-$ - 9710052157.1 28 Jun 2024 08:46AM UTC 0
92.9
GitHub Action Run
Source Files on build 9710052157
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #9710052157
  • 13c0494a on github
  • Prev Build on main (#9676758763)
  • Next Build on main (#9780230154)
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

© 2026 Coveralls, Inc