enable bonding
This commit is contained in:
@@ -43,7 +43,6 @@ export const BondNodeForm = ({
|
|||||||
<Grid container spacing={3}>
|
<Grid container spacing={3}>
|
||||||
<Grid item xs={12} sm={8}>
|
<Grid item xs={12} sm={8}>
|
||||||
<TextField
|
<TextField
|
||||||
disabled
|
|
||||||
required
|
required
|
||||||
value={manageForm.formData.amount.value}
|
value={manageForm.formData.amount.value}
|
||||||
onChange={manageForm.handleAmountChange}
|
onChange={manageForm.handleAmountChange}
|
||||||
@@ -81,7 +80,6 @@ export const BondNodeForm = ({
|
|||||||
)}
|
)}
|
||||||
<Grid item xs={12}>
|
<Grid item xs={12}>
|
||||||
<TextField
|
<TextField
|
||||||
disabled
|
|
||||||
value={manageForm.formData.identityKey.value}
|
value={manageForm.formData.identityKey.value}
|
||||||
onChange={manageForm.handleIdentityKeyChange}
|
onChange={manageForm.handleIdentityKeyChange}
|
||||||
error={manageForm.formData.identityKey.isValid === false}
|
error={manageForm.formData.identityKey.isValid === false}
|
||||||
@@ -97,7 +95,6 @@ export const BondNodeForm = ({
|
|||||||
</Grid>
|
</Grid>
|
||||||
<Grid item xs={12}>
|
<Grid item xs={12}>
|
||||||
<TextField
|
<TextField
|
||||||
disabled
|
|
||||||
value={manageForm.formData.sphinxKey.value}
|
value={manageForm.formData.sphinxKey.value}
|
||||||
onChange={manageForm.handleShinxKeyChange}
|
onChange={manageForm.handleShinxKeyChange}
|
||||||
error={manageForm.formData.sphinxKey.isValid === false}
|
error={manageForm.formData.sphinxKey.isValid === false}
|
||||||
@@ -113,7 +110,6 @@ export const BondNodeForm = ({
|
|||||||
</Grid>
|
</Grid>
|
||||||
<Grid item xs={12} sm={6}>
|
<Grid item xs={12} sm={6}>
|
||||||
<TextField
|
<TextField
|
||||||
disabled
|
|
||||||
value={manageForm.formData.host.value}
|
value={manageForm.formData.host.value}
|
||||||
onChange={manageForm.handleHostChange}
|
onChange={manageForm.handleHostChange}
|
||||||
error={manageForm.formData.host.isValid === false}
|
error={manageForm.formData.host.isValid === false}
|
||||||
@@ -132,7 +128,6 @@ export const BondNodeForm = ({
|
|||||||
<Grid item xs={12} sm={6}>
|
<Grid item xs={12} sm={6}>
|
||||||
{type === NodeType.Gateway && (
|
{type === NodeType.Gateway && (
|
||||||
<TextField
|
<TextField
|
||||||
disabled
|
|
||||||
value={manageForm.formData.location.value}
|
value={manageForm.formData.location.value}
|
||||||
onChange={manageForm.handleLocationChange}
|
onChange={manageForm.handleLocationChange}
|
||||||
error={manageForm.formData.location.isValid === false}
|
error={manageForm.formData.location.isValid === false}
|
||||||
@@ -150,7 +145,6 @@ export const BondNodeForm = ({
|
|||||||
|
|
||||||
<Grid item xs={12} sm={6}>
|
<Grid item xs={12} sm={6}>
|
||||||
<TextField
|
<TextField
|
||||||
disabled
|
|
||||||
value={manageForm.formData.version.value}
|
value={manageForm.formData.version.value}
|
||||||
onChange={manageForm.handleVersionChange}
|
onChange={manageForm.handleVersionChange}
|
||||||
error={manageForm.formData.version.isValid === false}
|
error={manageForm.formData.version.isValid === false}
|
||||||
@@ -189,7 +183,6 @@ export const BondNodeForm = ({
|
|||||||
<>
|
<>
|
||||||
<Grid item xs={12} sm={4}>
|
<Grid item xs={12} sm={4}>
|
||||||
<TextField
|
<TextField
|
||||||
disabled
|
|
||||||
value={manageForm.formData.mixPort.value}
|
value={manageForm.formData.mixPort.value}
|
||||||
onChange={(e: React.ChangeEvent<HTMLInputElement>) =>
|
onChange={(e: React.ChangeEvent<HTMLInputElement>) =>
|
||||||
manageForm.handlePortChange('mixPort', e.target.value)
|
manageForm.handlePortChange('mixPort', e.target.value)
|
||||||
@@ -206,7 +199,6 @@ export const BondNodeForm = ({
|
|||||||
<>
|
<>
|
||||||
<Grid item xs={12} sm={4}>
|
<Grid item xs={12} sm={4}>
|
||||||
<TextField
|
<TextField
|
||||||
disabled
|
|
||||||
value={manageForm.formData.verlocPort.value}
|
value={manageForm.formData.verlocPort.value}
|
||||||
onChange={(e: React.ChangeEvent<HTMLInputElement>) =>
|
onChange={(e: React.ChangeEvent<HTMLInputElement>) =>
|
||||||
manageForm.handlePortChange('verlocPort', e.target.value)
|
manageForm.handlePortChange('verlocPort', e.target.value)
|
||||||
@@ -222,7 +214,6 @@ export const BondNodeForm = ({
|
|||||||
|
|
||||||
<Grid item xs={12} sm={4}>
|
<Grid item xs={12} sm={4}>
|
||||||
<TextField
|
<TextField
|
||||||
disabled
|
|
||||||
value={manageForm.formData.httpApiPort.value}
|
value={manageForm.formData.httpApiPort.value}
|
||||||
onChange={(e: React.ChangeEvent<HTMLInputElement>) =>
|
onChange={(e: React.ChangeEvent<HTMLInputElement>) =>
|
||||||
manageForm.handlePortChange('httpApiPort', e.target.value)
|
manageForm.handlePortChange('httpApiPort', e.target.value)
|
||||||
@@ -239,7 +230,6 @@ export const BondNodeForm = ({
|
|||||||
) : (
|
) : (
|
||||||
<Grid item xs={12} sm={4}>
|
<Grid item xs={12} sm={4}>
|
||||||
<TextField
|
<TextField
|
||||||
disabled
|
|
||||||
value={manageForm.formData.clientsPort.value}
|
value={manageForm.formData.clientsPort.value}
|
||||||
onChange={(e: React.ChangeEvent<HTMLInputElement>) =>
|
onChange={(e: React.ChangeEvent<HTMLInputElement>) =>
|
||||||
manageForm.handlePortChange('clientsPort', e.target.value)
|
manageForm.handlePortChange('clientsPort', e.target.value)
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ import CssBaseline from '@material-ui/core/CssBaseline'
|
|||||||
import { theme } from '../lib/theme'
|
import { theme } from '../lib/theme'
|
||||||
import type { AppProps } from 'next/app'
|
import type { AppProps } from 'next/app'
|
||||||
import { ValidatorClientContext } from '../contexts/ValidatorClient'
|
import { ValidatorClientContext } from '../contexts/ValidatorClient'
|
||||||
import { AppAlert } from '../components/AppAlert'
|
|
||||||
// TODO: should it perhaps be pulled from some config or also user provided?
|
// TODO: should it perhaps be pulled from some config or also user provided?
|
||||||
export const BONDING_CONTRACT_ADDRESS: string =
|
export const BONDING_CONTRACT_ADDRESS: string =
|
||||||
'punk10pyejy66429refv3g35g2t7am0was7yalwrzen'
|
'punk10pyejy66429refv3g35g2t7am0was7yalwrzen'
|
||||||
@@ -45,11 +44,6 @@ export default function Application(props: AppProps) {
|
|||||||
<ValidatorClientContext.Provider value={{ client, setClient }}>
|
<ValidatorClientContext.Provider value={{ client, setClient }}>
|
||||||
<ThemeProvider theme={theme}>
|
<ThemeProvider theme={theme}>
|
||||||
<CssBaseline />
|
<CssBaseline />
|
||||||
<AppAlert
|
|
||||||
title="Bonding disabled"
|
|
||||||
message="Mixnode bonding has been temporarily disabled"
|
|
||||||
severity="info"
|
|
||||||
/>
|
|
||||||
<Component {...pageProps} />
|
<Component {...pageProps} />
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
</ValidatorClientContext.Provider>
|
</ValidatorClientContext.Provider>
|
||||||
|
|||||||
Reference in New Issue
Block a user