File tree Expand file tree Collapse file tree
src/views/BalancePage/Export
core/src/config/chains/ethereum Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " app" ,
3- "version" : " 2.14.27 " ,
3+ "version" : " 2.14.28 " ,
44 "private" : true ,
55 "scripts" : {
66 "bump" : " bump patch --tag --commit 'testnet release '" ,
Original file line number Diff line number Diff line change @@ -72,9 +72,15 @@ export default defineComponent({
7272 } ;
7373
7474 const validationErrorRef = computed ( ( ) => {
75+ const chain = useChains ( ) . get ( exportStore . state . draft . network ) ;
76+ if ( chain . chainConfig . underMaintenance ) {
77+ return `${ chain . displayName } Connection Under Maintenance` ;
78+ }
79+
7580 if ( ! exportTokenRef . value ) {
7681 return "Select Token" ;
7782 }
83+
7884 if (
7985 feeAssetBalanceRef . value &&
8086 feeAmountRef . value &&
@@ -114,11 +120,6 @@ export default defineComponent({
114120 return "Amount Too Large" ;
115121 }
116122
117- const chain = useChains ( ) . get ( exportStore . state . draft . network ) ;
118- if ( chain . chainConfig . underMaintenance ) {
119- return `${ chain . displayName } Connection Under Maintenance` ;
120- }
121-
122123 return null ;
123124 } ) ;
124125
Original file line number Diff line number Diff line change @@ -8,4 +8,5 @@ export const ETHEREUM_MAINNET: EthChainConfig = {
88 blockExplorerUrl : "https://etherscan.io" ,
99 blockExplorerApiUrl : "https://api.etherscan.io" ,
1010 nativeAssetSymbol : "eth" ,
11+ underMaintenance : true ,
1112} ;
You can’t perform that action at this time.
0 commit comments