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:
@@ -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 = () => {
|
||||
|
||||
Reference in New Issue
Block a user