Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove retryableLifetimeSeconds #2011

Merged
merged 9 commits into from
Oct 23, 2024
1 change: 0 additions & 1 deletion packages/scripts/src/addOrbitChain/schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ export const chainSchema = z
name: z.string().min(1),
slug: z.string().min(1),
parentChainId: z.number().int().positive(),
retryableLifetimeSeconds: z.number().int().positive().default(604800),
tokenBridge: tokenBridgeSchema,
bridgeUiConfig: bridgeUiConfigSchema,
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,6 @@ export const mockOrbitChain: OrbitChain = {
name: "Xai",
slug: "xai",
parentChainId: 42161,
retryableLifetimeSeconds: 604800,
tokenBridge: {
parentGatewayRouter: "0x22CCA5Dc96a4Ac1EC32c9c7C5ad4D66254a24C35",
childGatewayRouter: "0xd096e8dE90D34de758B0E0bA4a796eA2e1e272cF",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ exports[`Transforms > transformIncomingDataToOrbitChain > should transform incom
"name": "Test Chain",
"nativeToken": "0x0000000000000000000000000000000000000006",
"parentChainId": 421614,
"retryableLifetimeSeconds": 604800,
"rpcUrl": "https://testrpc.com",
"slug": "test-chain",
"tokenBridge": {
Expand Down Expand Up @@ -131,7 +130,6 @@ exports[`Transforms > updateOrbitChainsFile > should add a new testnet chain whi
\\"name\\": \\"Xai\\",
\\"slug\\": \\"xai\\",
\\"parentChainId\\": 42161,
\\"retryableLifetimeSeconds\\": 604800,
\\"tokenBridge\\": {
\\"parentGatewayRouter\\": \\"0x22CCA5Dc96a4Ac1EC32c9c7C5ad4D66254a24C35\\",
\\"childGatewayRouter\\": \\"0xd096e8dE90D34de758B0E0bA4a796eA2e1e272cF\\",
Expand Down Expand Up @@ -189,7 +187,6 @@ exports[`Transforms > updateOrbitChainsFile > should handle updating an existing
\\"name\\": \\"Updated Chain\\",
\\"slug\\": \\"xai\\",
\\"parentChainId\\": 42161,
\\"retryableLifetimeSeconds\\": 604800,
\\"tokenBridge\\": {
\\"parentGatewayRouter\\": \\"0x22CCA5Dc96a4Ac1EC32c9c7C5ad4D66254a24C35\\",
\\"childGatewayRouter\\": \\"0xd096e8dE90D34de758B0E0bA4a796eA2e1e272cF\\",
Expand Down Expand Up @@ -273,7 +270,6 @@ exports[`Transforms > updateOrbitChainsFile > should update the orbit chains fil
\\"name\\": \\"Xai\\",
\\"slug\\": \\"xai\\",
\\"parentChainId\\": 42161,
\\"retryableLifetimeSeconds\\": 604800,
\\"tokenBridge\\": {
\\"parentGatewayRouter\\": \\"0x22CCA5Dc96a4Ac1EC32c9c7C5ad4D66254a24C35\\",
\\"childGatewayRouter\\": \\"0xd096e8dE90D34de758B0E0bA4a796eA2e1e272cF\\",
Expand Down
1 change: 0 additions & 1 deletion packages/scripts/src/addOrbitChain/transforms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,6 @@ export const transformIncomingDataToOrbitChain = (
name: chainData.name,
slug: nameToSlug(chainData.name),
parentChainId,
retryableLifetimeSeconds: 604800,
tokenBridge: {
parentCustomGateway: chainData.parentCustomGateway,
parentErc20Gateway: chainData.parentErc20Gateway,
Expand Down