Skip to content

Commit 3e626e1

Browse files
authored
fix(twap): adjust safe tx history depth (#6233)
1 parent bfba891 commit 3e626e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/cowswap-frontend/src/modules/twap/services/fetchTwapOrdersFromSafe.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ import { ConditionalOrderParams, TwapOrdersSafeData } from '../types'
1313

1414
// ComposableCoW.createWithContext method
1515
const CREATE_COMPOSABLE_ORDER_SELECTOR = '0d0d9800'
16-
// Each page contains 20 transactions by default, so we need to fetch 200 pages to get 4000 transactions
17-
const SAFE_TX_HISTORY_DEPTH = 200
16+
// Each page contains 100 transactions by default, so we need to fetch 40 pages to get 4000 transactions
17+
const SAFE_TX_HISTORY_DEPTH = 40
1818
// Just in case, make a short delay between requests
1919
const SAFE_TX_REQUEST_DELAY = ms`100ms`
2020

0 commit comments

Comments
 (0)