Update dev dependencies and make Webpack less verbose (#3997)
* Update dev dependencies // Less verbose Webpack * Fix linting fro JSX
This commit is contained in:
committed by
Gav Wood
parent
b24fc97cb6
commit
75f2644e6a
@@ -34,29 +34,33 @@ import { ERROR_CODES } from '~/api/transport/error';
|
||||
|
||||
const STEPS = {
|
||||
CONTRACT_DETAILS: {
|
||||
title:
|
||||
title: (
|
||||
<FormattedMessage
|
||||
id='deployContract.title.details'
|
||||
defaultMessage='contract details' />
|
||||
)
|
||||
},
|
||||
CONTRACT_PARAMETERS: {
|
||||
title:
|
||||
title: (
|
||||
<FormattedMessage
|
||||
id='deployContract.title.parameters'
|
||||
defaultMessage='contract parameters' />
|
||||
)
|
||||
},
|
||||
DEPLOYMENT: {
|
||||
waiting: true,
|
||||
title:
|
||||
title: (
|
||||
<FormattedMessage
|
||||
id='deployContract.title.deployment'
|
||||
defaultMessage='deployment' />
|
||||
)
|
||||
},
|
||||
COMPLETED: {
|
||||
title:
|
||||
title: (
|
||||
<FormattedMessage
|
||||
id='deployContract.title.completed'
|
||||
defaultMessage='completed' />
|
||||
)
|
||||
}
|
||||
};
|
||||
|
||||
@@ -495,48 +499,53 @@ class DeployContract extends Component {
|
||||
case 'estimateGas':
|
||||
case 'postTransaction':
|
||||
this.setState({
|
||||
deployState:
|
||||
deployState: (
|
||||
<FormattedMessage
|
||||
id='deployContract.state.preparing'
|
||||
defaultMessage='Preparing transaction for network transmission' />
|
||||
)
|
||||
});
|
||||
return;
|
||||
|
||||
case 'checkRequest':
|
||||
this.setState({
|
||||
deployState:
|
||||
deployState: (
|
||||
<FormattedMessage
|
||||
id='deployContract.state.waitSigner'
|
||||
defaultMessage='Waiting for confirmation of the transaction in the Parity Secure Signer' />
|
||||
)
|
||||
});
|
||||
return;
|
||||
|
||||
case 'getTransactionReceipt':
|
||||
this.setState({
|
||||
txhash: data.txhash,
|
||||
deployState:
|
||||
deployState: (
|
||||
<FormattedMessage
|
||||
id='deployContract.state.waitReceipt'
|
||||
defaultMessage='Waiting for the contract deployment transaction receipt' />
|
||||
)
|
||||
});
|
||||
return;
|
||||
|
||||
case 'hasReceipt':
|
||||
case 'getCode':
|
||||
this.setState({
|
||||
deployState:
|
||||
deployState: (
|
||||
<FormattedMessage
|
||||
id='deployContract.state.validatingCode'
|
||||
defaultMessage='Validating the deployed contract code' />
|
||||
)
|
||||
});
|
||||
return;
|
||||
|
||||
case 'completed':
|
||||
this.setState({
|
||||
deployState:
|
||||
deployState: (
|
||||
<FormattedMessage
|
||||
id='deployContract.state.completed'
|
||||
defaultMessage='The contract deployment has been completed' />
|
||||
)
|
||||
});
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user