Util/validation update (#4051)

* Fix code validation for null inputs

* tests WIP

* tests WIP

* Update validation tests

* Adjust block names, slice (PR comments)
This commit is contained in:
Jaco Greeff
2017-01-05 16:51:27 +01:00
committed by GitHub
parent 9613145464
commit 20ad2e7d42
3 changed files with 333 additions and 15 deletions

View File

@@ -441,9 +441,7 @@ class DeployContract extends Component {
}
onCodeChange = (code) => {
const { api } = this.context;
this.setState(validateCode(code, api), this.estimateGas);
this.setState(validateCode(code), this.estimateGas);
}
onDeployStart = () => {