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