Increasing gasLimit

This commit is contained in:
Richard Ramos 2018-06-28 09:30:37 -04:00
parent 0ecd741382
commit 024f3a19a3
2 changed files with 2 additions and 2 deletions

View File

@ -99,7 +99,7 @@ const AddPoll = withFormik({
toSend.estimateGas()
.then(gasEstimated => {
console.log("addPoll gas estimated: "+gasEstimated);
return toSend.send({gas: gasEstimated + 1000});
return toSend.send({gas: gasEstimated + 100000});
})
.then(res => {
console.log('sucess:', res);

View File

@ -34,7 +34,7 @@ class Poll extends Component {
toSend.estimateGas()
.then(gasEstimated => {
console.log("voting gas estimated: " + gasEstimated);
return toSend.send({gas: gasEstimated + 1000});
return toSend.send({gas: gasEstimated + 100000});
})
.then(res => {
console.log('sucess:', res);