Skip to content

Commit

Permalink
Merge branch 'swap-endpoint' into support-transfer-with-auth-swap
Browse files Browse the repository at this point in the history
  • Loading branch information
gsteenkamp89 committed Jan 3, 2025
2 parents 9ba6cac + 1d1399c commit 784c9d0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion api/relay/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const BaseRelayRequestBodySchema = object({

const strategies = {
default: strategiesByName.gelato,
[CHAIN_IDs.ARBITRUM]: strategiesByName["local-signers"],
[CHAIN_IDs.WORLD_CHAIN]: strategiesByName["local-signers"],
};

export default async function handler(
Expand Down
4 changes: 2 additions & 2 deletions scripts/generate-routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ const enabledRoutes = {
[CHAIN_IDs.OPTIMISM]: "0xED7Bf315Ba2E9Db86b766b8AaC48502298dfe7d3",
[CHAIN_IDs.POLYGON]: "0xED7Bf315Ba2E9Db86b766b8AaC48502298dfe7d3",
[CHAIN_IDs.WORLD_CHAIN]: "0xED7Bf315Ba2E9Db86b766b8AaC48502298dfe7d3",
[CHAIN_IDs.ZK_SYNC]: "0xA081fbEafed82313d8C656ac6BA6cdd8198C8FaA",
[CHAIN_IDs.ZK_SYNC]: "0xDFD7f7AC8F2331C4E83A43E73aB7579e736AC1Bf",
[CHAIN_IDs.ZORA]: "0xED7Bf315Ba2E9Db86b766b8AaC48502298dfe7d3",
},
spokePoolPeripheryProxyAddresses: {
Expand All @@ -144,7 +144,7 @@ const enabledRoutes = {
[CHAIN_IDs.OPTIMISM]: "0x2d5E44b66bD40267fb816c9537E026545bEbbAC8",
[CHAIN_IDs.POLYGON]: "0x2d5E44b66bD40267fb816c9537E026545bEbbAC8",
[CHAIN_IDs.WORLD_CHAIN]: "0x2d5E44b66bD40267fb816c9537E026545bEbbAC8",
[CHAIN_IDs.ZK_SYNC]: "0x2604C295565e4cd82CB8aa07c3ab5ed611E34f0E",
[CHAIN_IDs.ZK_SYNC]: "0x793Ff9Cd09819C537500dFcEB6F61861c1B80dCD",
[CHAIN_IDs.ZORA]: "0x2d5E44b66bD40267fb816c9537E026545bEbbAC8",
},
routes: transformChainConfigs(enabledMainnetChainConfigs),
Expand Down
2 changes: 1 addition & 1 deletion scripts/tests/_swap-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ export async function fetchSwapQuote<T>(slug: "approval" | "permit" | "auth") {
const response = await axios.get(`${SWAP_API_BASE_URL}/api/swap/${slug}`, {
params: testCase.params,
});
console.log(response.data);
console.log(JSON.stringify(response.data, null, 2));
return response.data as T;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"1": "0xED7Bf315Ba2E9Db86b766b8AaC48502298dfe7d3",
"10": "0xED7Bf315Ba2E9Db86b766b8AaC48502298dfe7d3",
"137": "0xED7Bf315Ba2E9Db86b766b8AaC48502298dfe7d3",
"324": "0xA081fbEafed82313d8C656ac6BA6cdd8198C8FaA",
"324": "0xDFD7f7AC8F2331C4E83A43E73aB7579e736AC1Bf",
"480": "0xED7Bf315Ba2E9Db86b766b8AaC48502298dfe7d3",
"8453": "0xED7Bf315Ba2E9Db86b766b8AaC48502298dfe7d3",
"42161": "0xED7Bf315Ba2E9Db86b766b8AaC48502298dfe7d3",
Expand All @@ -53,7 +53,7 @@
"1": "0x2d5E44b66bD40267fb816c9537E026545bEbbAC8",
"10": "0x2d5E44b66bD40267fb816c9537E026545bEbbAC8",
"137": "0x2d5E44b66bD40267fb816c9537E026545bEbbAC8",
"324": "0x2604C295565e4cd82CB8aa07c3ab5ed611E34f0E",
"324": "0x793Ff9Cd09819C537500dFcEB6F61861c1B80dCD",
"480": "0x2d5E44b66bD40267fb816c9537E026545bEbbAC8",
"8453": "0x2d5E44b66bD40267fb816c9537E026545bEbbAC8",
"42161": "0x2d5E44b66bD40267fb816c9537E026545bEbbAC8",
Expand Down

0 comments on commit 784c9d0

Please sign in to comment.