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

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

Build:
DEFAULT BRANCH: main
Ran 28 Jul 2025 05:20PM UTC
Jobs 2
Files 42
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 Jul 2025 05:19PM UTC coverage: 94.479% (-0.007%) from 94.486%
16575692575

push

github

web-flow
fix: optimize SafeMath.sub implementation for gas efficiency (#1026)

Optimizes the SafeMath.sub function by removing the unnecessary
temporary variable and directly returning the calculation result. This
change reduces bytecode size and gas consumption while maintaining
identical functionality

Here are the gas measurements:

- Optimized version: 23467 gas for 10 operations
- Unoptimized version: 23597 gas for 10 operations
- Savings: 13 gas per operation

While small, these savings add up across multiple transactions using
SafeMath.sub throughout the codebase

304 of 336 branches covered (90.48%)

Branch coverage included in aggregate %.

1 of 1 new or added line in 1 file covered. (100.0%)

449 of 461 relevant lines covered (97.4%)

109.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-Safe - 16575692575.1 28 Jul 2025 05:20PM UTC 42
93.85
GitHub Action Run
2 run-SafeL2 - 16575692575.2 28 Jul 2025 05:20PM UTC 42
94.48
GitHub Action Run
Source Files on build 16575692575
  • Tree
  • List 42
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #16575692575
  • 0095f1aa on github
  • Prev Build on main (#16445269246)
  • Next Build on main (#17400040180)
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