Use estimateGas error (as per updated implementation) (#4131)
* Use estimateGas error (as per updated implementation) * EXCEPTION_ERROR as per #4142
This commit is contained in:
committed by
Nicolas Gotchac
parent
311730ea95
commit
389e4e3bc0
@@ -391,6 +391,10 @@ class DeployContract extends Component {
|
||||
.then(([gasEst, gas]) => {
|
||||
this.gasStore.setEstimated(gasEst.toFixed(0));
|
||||
this.gasStore.setGas(gas.toFixed(0));
|
||||
})
|
||||
.catch((error) => {
|
||||
this.gasStore.setEstimatedError();
|
||||
console.warn('estimateGas', error);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user