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

safe-global / safe-modules / 6959417900
85%

Build:
DEFAULT BRANCH: master
Ran 22 Nov 2023 03:28PM UTC
Jobs 1
Files 3
Run time 1s
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

22 Nov 2023 03:27PM UTC coverage: 100.0%. Remained the same
6959417900

push

github

web-flow
[4337] Separate Signature Fields for `validAfter` and `validUntil` (#167)

Follow up to #143 and #156

This PR refactors signature validation to use the immutable
`SUPPORTED_ENTRYPOINT` value instead of passing it into various
functions. This has the benefit of freeing up a stack slot for an
additional variable. This means that we can now sign `validAfter` and
`validUntil` as separate fields in our `SafeOp` struct (which should
provide a nicer user experience for signing and be less cryptic than
using a “signatureTimestamps” field that combines both values).

The caveat is that `getOperationHash` is tied to the module’s supported
`EntryPoint` value, but IMO this makes more sense that what we had
before, as signatures for other `EntryPoint`s are useless to it anyway.

Additionally, in theory, we don’t need to include the `entryPoint` in
the signature, since it is implied by the `verifyingContract` address of
the ERC-4337 module, seeing as `SUPPORTED_ENTRYPOINT` is an immutable.
However, I decided to leave it in, the rationale being that it adds
additional information to the user signature and improves UX around
collecting EIP-712 signatures.

I added validity timestamps to the user operation in one of the E2E
tests for better coverage.

22 of 22 branches covered (100.0%)

Branch coverage included in aggregate %.

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

29 of 29 relevant lines covered (100.0%)

19.83 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6959417900.1 22 Nov 2023 03:28PM UTC 0
100.0
GitHub Action Run
Source Files on build 6959417900
Detailed source file information is not available for this build.
  • Back to Repo
  • cb3c195c on github
  • Prev Build on master (#6955908411)
  • Next Build on master (#6967652298)
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