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

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

Build:
DEFAULT BRANCH: main
Ran 10 Jan 2025 12:09PM UTC
Jobs 1
Files 42
Run time 39min
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

10 Jan 2025 12:08PM UTC coverage: 93.957%. Remained the same
12709211144

push

github

web-flow
[Certora Audit] G-08. Use shift right/left instead of division/multiplication if possible (#895)

This pull request includes optimizations to the gas usage in the
`Safe.sol` and `StorageAccessible.sol` contracts by replacing
multiplication operations with bitwise shift operations. While the `DIV
/ MUL` opcode uses 5 gas, the `SHR / SHL` opcode only uses 3 gas.

Gas optimization changes:

*
[`contracts/Safe.sol`](diffhunk://#diff-587b494ea16e1163b26e39de24e9483deL168-R169):
Replaced the multiplication operation `* 64` with the bitwise shift
operation `<< 6` to reduce gas costs in the `gasleft` check.
*
[`contracts/common/StorageAccessible.sol`](diffhunk://#diff-a7dd65d90752ccf309800fad93fba354eL18-R18):
Replaced the multiplication operation `* 32` with the bitwise shift
operation `<< 5` to reduce gas costs when creating a new bytes array.

325 of 366 branches covered (88.8%)

Branch coverage included in aggregate %.

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

499 of 511 relevant lines covered (97.65%)

100.88 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-$ - 12709211144.1 10 Jan 2025 12:09PM UTC 42
93.96
GitHub Action Run
Source Files on build 12709211144
  • Tree
  • List 42
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #12709211144
  • 7e760ef4 on github
  • Prev Build on main (#12708911388)
  • Next Build on main (#12764681472)
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