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

gnosisguild / zodiac-modifier-roles / 24214884837
96%

Build:
DEFAULT BRANCH: main
Ran 09 Apr 2026 09:47PM UTC
Jobs 1
Files 24
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

09 Apr 2026 09:44PM UTC coverage: 95.637%. Remained the same
24214884837

push

github

web-flow
fix: add buffer to order validDuration to make it instantly valid (#475)

* fix: add buffer to order validDuration to make it instantly valid

Dishonest valid duration checks if block.timestamp + validDuration > order.validTo
but because we compute validDuration as validTo - Date.now() this simplifies to block.timestamp > Date.now()
block.timestamp might be behind Date.now() (when sending transaction it's verified against "latest" block).
This means that signOrder would reject unless we wait some time for block.timestamp to advance.
Adding buffer here (5 minutes) to ensure signature is immediately valid when generated.

References:
https://github.com/gnosisguild/cow-order-signer/blob/1fc456e11/contracts/CowswapOrderSigner.sol#L46-L49

* chore: reduce buffer to 15 seconds

It should be enough to cover most block times (12 seconds on mainnet)
with extra buffer on top.

401 of 414 branches covered (96.86%)

Branch coverage included in aggregate %.

695 of 732 relevant lines covered (94.95%)

234.66 hits per line

Jobs
ID Job ID Ran Files Coverage
1 24214884837.1 09 Apr 2026 09:47PM UTC 24
95.64
GitHub Action Run
Source Files on build 24214884837
  • Tree
  • List 24
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 21d4e4dc on github
  • Prev Build on main (#24212965498)
  • Next Build on main (#24215175433)
  • Delete
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