Skip to content

Commit e4d7d00

Browse files
authored
fix: cron pinger for swap endpoint (#1802)
1 parent 72b4566 commit e4d7d00

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

api/cron-ping-endpoints.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@ const endpoints = [
1717
url: "https://app.across.to/api/swap/approval",
1818
params: {
1919
amount: ethers.utils.parseUnits("1", 6).toString(),
20-
tradeType: "minOutput",
2120
inputToken: TOKEN_SYMBOLS_MAP.USDC.addresses[CHAIN_IDs.ARBITRUM],
2221
originChainId: CHAIN_IDs.ARBITRUM,
2322
outputToken: TOKEN_SYMBOLS_MAP.USDC.addresses[CHAIN_IDs.OPTIMISM],
2423
destinationChainId: CHAIN_IDs.OPTIMISM,
2524
depositor: "0x9A8f92a830A5cB89a3816e3D267CB7791c16b04D",
2625
skipOriginTxEstimation: true,
27-
refundOnOrigin: false,
26+
skipChecks: true,
27+
refundOnOrigin: true,
2828
},
29-
updateIntervalSec: 10,
29+
updateIntervalSec: 1,
3030
},
3131
];
3232

0 commit comments

Comments
 (0)