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

cowprotocol / cow-sdk / 15753714976

19 Jun 2025 08:50AM UTC coverage: 71.734% (-1.3%) from 73.05%
15753714976

Pull #353

github

shoom3301
chore: fix comment
Pull Request #353: feat(bridge): specify deadline and nonce for cowshed call

592 of 879 branches covered (67.35%)

Branch coverage included in aggregate %.

13 of 13 new or added lines in 5 files covered. (100.0%)

23 existing lines in 6 files now uncovered.

1253 of 1693 relevant lines covered (74.01%)

16.66 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

20.0
/src/hooks/utils.ts
1
import { latest } from '@cowprotocol/app-data'
2

3
export function getHookMockForCostEstimation(gasLimit: number): latest.CoWHook {
4
  return {
4✔
5
    callData: '0x00',
6
    gasLimit: gasLimit.toString(),
7
    target: '0x0000000000000000000000000000000000000000',
8
  }
9
}
10

11
export function areHooksEqual(hookA: latest.CoWHook, hookB: latest.CoWHook): boolean {
UNCOV
12
  return hookA.callData === hookB.callData && hookA.gasLimit === hookB.gasLimit && hookA.target === hookB.target
×
13
}
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