Skip to content

Commit bb8acf2

Browse files
authored
fix(trading-sdk): chane default order validity to 30min (#238)
* fix(trading-sdk): chane default order validity to 30min * chore: fix tests
1 parent fc3fc58 commit bb8acf2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/trading/consts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export function log(text: string) {
77

88
log.enabled = false
99

10-
export const DEFAULT_QUOTE_VALIDITY = 60 * 10 // 10 min
10+
export const DEFAULT_QUOTE_VALIDITY = 60 * 30 // 30 min
1111

1212
export const DEFAULT_SLIPPAGE_BPS = 50 // 0.5%
1313

src/trading/postCoWProtocolTrade.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ describe('postCoWProtocolTrade', () => {
124124
receiver: '0x21c3de23d98caddc406e3d31b25e807addf33333',
125125
signature: '0x000a1',
126126
signingScheme: 'eip712',
127-
validTo: 1487077308,
127+
validTo: 1487078508,
128128
})
129129
})
130130
})

0 commit comments

Comments
 (0)