Skip to content

Commit

Permalink
chore: remove isArbitrum from generated orbit chains (#2028)
Browse files Browse the repository at this point in the history
  • Loading branch information
douglance authored Oct 29, 2024
1 parent 5a78537 commit 14b0d0f
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 11 deletions.
4 changes: 0 additions & 4 deletions packages/arb-token-bridge-ui/src/util/orbitChainsData.json
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,6 @@
"nativeToken": "0x9C7BEBa8F6eF6643aBd725e45a4E8387eF260649",
"explorerUrl": "https://explorer.gravity.xyz",
"rpcUrl": "https://rpc.gravity.xyz",
"isArbitrum": true,
"isCustom": true,
"isTestnet": false,
"name": "Gravity Alpha",
Expand Down Expand Up @@ -595,7 +594,6 @@
"nativeToken": "0xcD2F22236DD9Dfe2356D7C543161D4d260FD9BcB",
"explorerUrl": "https://geist-mainnet.explorer.alchemy.com",
"rpcUrl": "https://geist-mainnet.g.alchemy.com/public",
"isArbitrum": true,
"isCustom": true,
"isTestnet": false,
"name": "Geist Mainnet",
Expand Down Expand Up @@ -644,7 +642,6 @@
},
"explorerUrl": "https://spotlight-mainnet.explorer.alchemy.com",
"rpcUrl": "https://spotlight-mainnet.g.alchemy.com/public",
"isArbitrum": true,
"isCustom": true,
"isTestnet": false,
"name": "Spotlight Mainnet",
Expand Down Expand Up @@ -970,7 +967,6 @@
"nativeToken": "0x79a1ca540e4b72280b8220e1fb6799cbca540bbd",
"explorerUrl": "https://socialnetwork-testnet.explorer.alchemy.com",
"rpcUrl": "https://socialnetwork-testnet.g.alchemy.com/public",
"isArbitrum": true,
"isCustom": true,
"isTestnet": true,
"name": "Social Testnet",
Expand Down
1 change: 0 additions & 1 deletion packages/scripts/src/addOrbitChain/schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ export const chainSchema = z
nativeToken: addressSchema.optional(),
explorerUrl: urlSchema,
rpcUrl: urlSchema,
isArbitrum: z.boolean().default(true),
isCustom: z.boolean().default(true),
isTestnet: z.boolean(),
name: z.string().min(1),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,6 @@ export const mockOrbitChain: OrbitChain = {
nativeToken: "0x4Cb9a7AE498CEDcBb5EAe9f25736aE7d428C9D66",
explorerUrl: "https://explorer.xai-chain.net",
rpcUrl: "https://xai-chain.net/rpc",
isArbitrum: true,
isCustom: true,
isTestnet: false,
name: "Xai",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ exports[`Transforms > transformIncomingDataToOrbitChain > should transform incom
"sequencerInbox": "0x529a2061A1973be80D315770bA9469F3Da40D938",
},
"explorerUrl": "https://testexplorer.com",
"isArbitrum": true,
"isCustom": true,
"isTestnet": true,
"name": "Test Chain",
Expand Down Expand Up @@ -124,7 +123,6 @@ exports[`Transforms > updateOrbitChainsFile > should add a new testnet chain whi
\\"nativeToken\\": \\"0x4Cb9a7AE498CEDcBb5EAe9f25736aE7d428C9D66\\",
\\"explorerUrl\\": \\"https://explorer.xai-chain.net\\",
\\"rpcUrl\\": \\"https://xai-chain.net/rpc\\",
\\"isArbitrum\\": true,
\\"isCustom\\": true,
\\"isTestnet\\": true,
\\"name\\": \\"Xai\\",
Expand Down Expand Up @@ -181,7 +179,6 @@ exports[`Transforms > updateOrbitChainsFile > should handle updating an existing
\\"nativeToken\\": \\"0x4Cb9a7AE498CEDcBb5EAe9f25736aE7d428C9D66\\",
\\"explorerUrl\\": \\"https://explorer.xai-chain.net\\",
\\"rpcUrl\\": \\"https://xai-chain.net/rpc\\",
\\"isArbitrum\\": true,
\\"isCustom\\": true,
\\"isTestnet\\": false,
\\"name\\": \\"Updated Chain\\",
Expand Down Expand Up @@ -264,7 +261,6 @@ exports[`Transforms > updateOrbitChainsFile > should update the orbit chains fil
\\"nativeToken\\": \\"0x4Cb9a7AE498CEDcBb5EAe9f25736aE7d428C9D66\\",
\\"explorerUrl\\": \\"https://explorer.xai-chain.net\\",
\\"rpcUrl\\": \\"https://xai-chain.net/rpc\\",
\\"isArbitrum\\": true,
\\"isCustom\\": true,
\\"isTestnet\\": false,
\\"name\\": \\"Xai\\",
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 @@ -384,7 +384,6 @@ export const transformIncomingDataToOrbitChain = async (
nativeToken: chainData.nativeTokenAddress,
explorerUrl: chainData.explorerUrl,
rpcUrl: chainData.rpcUrl,
isArbitrum: true,
isCustom: true,
isTestnet,
name: chainData.name,
Expand Down

0 comments on commit 14b0d0f

Please sign in to comment.