You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: re-export ChainId from @uniswap/sdk-core
Drop the local enum in lib/util/chain.ts; consumers keep importing from
the same path. Loosen PRIORITY_/HYBRID_ORDER_TARGET_BLOCK_BUFFER from
Record<ChainId, number> to Partial<Record<...>> since sdk-core's enum
has many more chains than x-service supports, and the sentinel-0 entries
for V3-only chains are now unreachable (the validator rejects them
upstream); callers throw if a buffer is missing.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: test/unit/handlers/post-order/post-order.test.ts
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -336,7 +336,7 @@ describe('Testing post order handler.', () => {
336
336
// cosignature and cosignerData gets overwritten within the handler
337
337
order.inner.info.cosignature=COSIGNATURE
338
338
order.inner.info.cosignerData={
339
-
auctionTargetBlock: BigNumber.from(MOCK_LATEST_BLOCK+PRIORITY_ORDER_TARGET_BLOCK_BUFFER[order.chainIdasChainId]),// No extra block since timestamp difference should be 0
339
+
auctionTargetBlock: BigNumber.from(MOCK_LATEST_BLOCK+PRIORITY_ORDER_TARGET_BLOCK_BUFFER[order.chainIdasChainId]!),// No extra block since timestamp difference should be 0
0 commit comments