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

safe-global / safe-modules / 9869500757
97%
master: 85%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 10 Jul 2024 06:49AM CUT
Jobs 1
Files 12
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

10 Jul 2024 06:48AM CUT coverage: 100.0%. Remained the same
9869500757

push

github

web-flow
Emit Event on Shared Signer Configuration (#456)

Fixes
https://github.com/hats-finance/Safe-0x2909fdefd/issues/3

This PR adds an event that is emitted on shared signer configuration.
Note that the event is emitted in the context of the configured Safe
account. In order to prevent event `topic0` collisions, we chose an
explicitly verbose name.

With respect to indexing, we explicitly chose **not** to index any of
the fields so that it matches the `Created` event:


https://github.com/safe-global/safe-modules/blob/bb5e1f736/modules/passkey/contracts/interfaces/ISafeSignerFactory.sol#L13-L20

To re-iterate on the reasons we chose to not index some of the fields
(same reasoning applies to `Created` event above):
- `x` and `y`: These are single-use public key coordinates attached to a
passkey. It doesn't make sense to filter events by "all events with `x`
value", or similarly "all events with `y` value". Furthermore, you can
compute the `signer` (which is indexed in the `Created` event) from the
key coordinates, so you can to some degree search for signers for a
given key coordinate.
- `verifiers`: This felt more like a configuration than something that
Dapps would need to filter by. Why it might be interesting to see on
chain which verifiers are being used, tools like Dune can help with
this, and the additional cost of an indexed field is not worth it in our
opinion.

28 of 28 branches covered (100.0%)

Branch coverage included in aggregate %.

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

91 of 91 relevant lines covered (100.0%)

30.01 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9869500757.1 10 Jul 2024 06:49AM CUT 12
100.0
GitHub Action Run
Source Files on build 9869500757
  • Tree
  • List 12
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/LineBranch HitsBranch Misses
100.0
...asskey/contracts/4337/SafeWebAuthnSharedSigner.sol166 + 1418 + 118 + 10 9.0 + 1.06 0
100.0
...ules/passkey/contracts/base/SignatureValidator.sol44 4 4 0 13.0 4 0
100.0
...les/passkey/contracts/interfaces/IP256Verifier.sol35 0 0 0 0.0 0 0
100.0
...asskey/contracts/interfaces/ISafeSignerFactory.sol65 0 0 0 0.0 0 0
100.0
modules/passkey/contracts/interfaces/ISafe.sol43 0 0 0 0.0 0 0
100.0
modules/passkey/contracts/libraries/ERC1271.sol25 0 0 0 0.0 0 0
100.0
modules/passkey/contracts/libraries/P256.sol169 13 13 0 45.0 8 0
100.0
modules/passkey/contracts/libraries/WebAuthn.sol357 21 21 0 41.0 4 0
100.0
...es/passkey/contracts/SafeWebAuthnSignerFactory.sol101 12 12 0 22.0 2 0
100.0
...ules/passkey/contracts/SafeWebAuthnSignerProxy.sol85 9 9 0 25.0 0 0
Showing 1 to 10 of 12 entries
  • Previous
  • 1
  • 2
  • Next
  • ►
    100.0
    modules/
  • Back to Repo
  • 37def804 on github
  • Prev Build on main (#9858401950)
  • Next Build on main (#9890531912)
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