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

safe-global / safe-modules / 8328723798
100%
master: 85%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 18 Mar 2024 02:54PM UTC
Jobs 1
Files 11
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

18 Mar 2024 02:53PM UTC coverage: 14.685% (+0.2%) from 14.474%
8328723798

push

github

web-flow
Refactor WebAuthn Implementation (#320)

This PR refactors the WebAuthn implementation into a library instead of
split into multiple contracts. This removes the amount of `CALL`s
required for verifying a signature.

I did some analysis on the deployment vs. signature verification costs
comparing this code, `main` and this change incorporating optimizations
from #289 and found this:

| setup | deployment | verification (dummy) | break even |
| ------------------------------------ | ---------- |
-------------------- | ---------- |
| main (viaIR = false) | 373543 | 17789 | 0 |
| main (viaIR = true) | 393494 | 16443 | 15 |
| this branch (viaIR = false) | 612123 | 13835 | 61 |
| this branch (viaIR = true) | 594058 | 12551 | 43 |
| base64 optimizations (viaIR = false) | 442545 | 12965 | 15 |
| base64 optimizations (viaIR = true) | 414941 | 11102 | 7 |

Meaning that after 7 signatures, even with the slightly larger
deployment costs, we would break even by avoiding the extra `CALL`
(noting that ABI-encoding the call to the `WebAuthnVerifier` is not
particularly efficient in the first place).

5 of 42 branches covered (11.9%)

Branch coverage included in aggregate %.

0 of 19 new or added lines in 4 files covered. (0.0%)

2 existing lines in 1 file now uncovered.

16 of 101 relevant lines covered (15.84%)

1.19 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8328723798.1 18 Mar 2024 02:54PM UTC 0
14.69
GitHub Action Run
Source Files on build 8328723798
Detailed source file information is not available for this build.
  • Back to Repo
  • 7468b32e on github
  • Prev Build on main (#8328447414)
  • Next Build on main (#8339090994)
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