Skip to content

Commit

Permalink
Merge pull request #389 from VenusProtocol/remove-xlayer-vips
Browse files Browse the repository at this point in the history
Remove unused files of xlayer
  • Loading branch information
GitGuru7 authored Sep 23, 2024
2 parents 995d825 + 1747c2b commit 6851f34
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 164 deletions.
11 changes: 0 additions & 11 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ const BLOCK_GAS_LIMIT_PER_NETWORK = {
opbnbmainnet: 100000000,
arbitrumsepolia: 30000000,
arbitrumone: 30000000,
xlayertestnet: 30000000,
opsepolia: 30000000,
opmainnet: 30000000,
};
Expand Down Expand Up @@ -151,16 +150,6 @@ const config: HardhatUserConfig = {
chainId: 42161,
accounts: DEPLOYER_PRIVATE_KEY ? [`0x${DEPLOYER_PRIVATE_KEY}`] : [],
},
xlayertestnet: {
url: process.env.ARCHIVE_NODE_xlayertestnet || "https://testrpc.xlayer.tech/",
chainId: 195,
accounts: DEPLOYER_PRIVATE_KEY ? [`0x${DEPLOYER_PRIVATE_KEY}`] : [],
},
xlayermainnet: {
url: process.env.ARCHIVE_NODE_xlayermainnet || "https://rpc.xlayer.tech/",
chainId: 196,
accounts: DEPLOYER_PRIVATE_KEY ? [`0x${DEPLOYER_PRIVATE_KEY}`] : [],
},
opsepolia: {
url: process.env.ARCHIVE_NODE_opsepolia || "https://sepolia.optimism.io",
chainId: 11155420,
Expand Down
15 changes: 0 additions & 15 deletions multisig/proposals/xlayertestnet/vip-000/index.ts

This file was deleted.

1 change: 0 additions & 1 deletion multisig/simulations/xlayertestnet/index.ts

This file was deleted.

86 changes: 0 additions & 86 deletions multisig/simulations/xlayertestnet/vip-000/abi/treasury.json

This file was deleted.

26 changes: 0 additions & 26 deletions multisig/simulations/xlayertestnet/vip-000/index.ts

This file was deleted.

12 changes: 0 additions & 12 deletions src/multisig/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,18 +86,6 @@ export const getContractNetworks = (chainId: number): ContractNetworksConfig =>
simulateTxAccessorAddress: "0xd55A98150e0F9f5e3F6280FC25617A5C93d96007",
},
},
xlayertestnet: {
[chainId]: {
safeMasterCopyAddress: "0xfb1bffC9d739B8D520DaF37dF666da4C687191EA",
safeProxyFactoryAddress: "0xC22834581EbC8527d974F8a1c97E1bEA4EF910BC",
multiSendAddress: "0x998739BFdAAdde7C933B942a68053933098f9EDa",
multiSendCallOnlyAddress: "0xA1dabEF33b3B82c7814B6D82A79e50F4AC44102B",
fallbackHandlerAddress: "0x017062a1dE2FE6b99BE3d9d37841FeD19F573804",
signMessageLibAddress: "0x98FFBBF51bb33A056B08ddf711f289936AafF717",
createCallAddress: "0xB19D6FFc2182150F8Eb585b79D4ABcd7C5640A9d",
simulateTxAccessorAddress: "0x727a77a074D1E6c4530e814F89E618a3298FC044",
},
},
zksyncsepolia: {
[chainId]: {
safeMasterCopyAddress: "0x3844DF536332845c0df8E9DD99dD7f21c9B6A271",
Expand Down
4 changes: 0 additions & 4 deletions src/networkAddresses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,6 @@ export const NETWORK_ADDRESSES = {
LZ_LIBRARY: "0x4D73AdB72bC3DD368966edD0f0b2148401A178E2",
OMNICHAIN_GOVERNANCE_EXECUTOR: "0xc1858cCE6c28295Efd3eE742795bDa316D7c7526",
},
xlayertestnet: {
NORMAL_TIMELOCK: "0x5961449d63149035aCfC0714D5155f24C9819004", // xlayer testnet Multisig
GUARDIAN: "0x5961449d63149035aCfC0714D5155f24C9819004",
},
zksyncsepolia: {
NORMAL_TIMELOCK: "", // To be deployed
GUARDIAN: "0xa2f83de95E9F28eD443132C331B6a9C9B7a9F866",
Expand Down
8 changes: 0 additions & 8 deletions src/networkConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,6 @@ export const NETWORK_CONFIG = {
},
XVS_VAULT_POOL_ID: 0,
},
xlayertestnet: {
DELAY_BLOCKS: {
[ProposalType.REGULAR]: 200,
[ProposalType.FAST_TRACK]: 100,
[ProposalType.CRITICAL]: 34,
},
XVS_VAULT_POOL_ID: 0,
},
zksyncsepolia: {
DELAY_BLOCKS: {
[ProposalType.REGULAR]: 200,
Expand Down
1 change: 0 additions & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export type SUPPORTED_NETWORKS =
| "ethereum"
| "opbnbtestnet"
| "opbnbmainnet"
| "xlayertestnet"
| "zksyncsepolia";

export type REMOTE_NETWORKS =
Expand Down

0 comments on commit 6851f34

Please sign in to comment.