From 5267291579565af90c7f1e9d7667c6924f133638 Mon Sep 17 00:00:00 2001 From: Taegeon Alan Go Date: Sat, 29 Jun 2024 17:11:35 +0900 Subject: [PATCH] Re enable bridge (#1344) * turn off the mainenance mode * update zkEVM Api * remove high traffic warning --- src/components/bridge/ethereum/L1Bridge.vue | 4 +--- src/hooks/useNetworkInfo.ts | 2 +- src/modules/zk-evm-bridge/l1-bridge/index.ts | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/components/bridge/ethereum/L1Bridge.vue b/src/components/bridge/ethereum/L1Bridge.vue index 1d29e7b1e..92b27f50e 100644 --- a/src/components/bridge/ethereum/L1Bridge.vue +++ b/src/components/bridge/ethereum/L1Bridge.vue @@ -279,9 +279,7 @@ export default defineComponent({ const isLoading = computed(() => store.getters['general/isLoading']); const isEnabledWithdrawal = computed(() => true); const isHighTrafficModalOpen = ref(false); - const isWarningHighTraffic = computed( - () => props.fromChainName === EthBridgeNetworkName.AstarZk - ); + const isWarningHighTraffic = computed(() => false); const setHighTrafficModalOpen = (value: boolean): void => { isHighTrafficModalOpen.value = value; diff --git a/src/hooks/useNetworkInfo.ts b/src/hooks/useNetworkInfo.ts index 46d2bf4b3..a98af9c6f 100644 --- a/src/hooks/useNetworkInfo.ts +++ b/src/hooks/useNetworkInfo.ts @@ -113,7 +113,7 @@ export function useNetworkInfo() { }); const isBridgeMaintenanceMode = computed(() => { - return isAstarZkEvm.value; + return false; }); return { diff --git a/src/modules/zk-evm-bridge/l1-bridge/index.ts b/src/modules/zk-evm-bridge/l1-bridge/index.ts index 00052a43a..949cfda96 100644 --- a/src/modules/zk-evm-bridge/l1-bridge/index.ts +++ b/src/modules/zk-evm-bridge/l1-bridge/index.ts @@ -5,7 +5,7 @@ export const ZK_EVM_AGGREGATED_BRIDGE_ABI = ABI_ZK_EVM_AGGREGATED_BRIDGE; export const zkEvmApi = { testnet: 'https://zkyoto-bridge-api.astar.network', - mainnet: 'https://bridge-api.astar-zkevm.gelato.digital', + mainnet: 'https://bridge-api.mainnet-astar.com', }; export enum EthBridgeNetworkName {