fix error of timeout when using Truffle to deploy contract (#768)

* fix error of timeout when using Truffle to deploy contract

* fix CHANGELOG.MD

Co-authored-by: Daniel Choi <13338103+araskachoi@users.noreply.github.com>
This commit is contained in:
KamiD
2021-02-08 15:54:18 -08:00
committed by GitHub
co-authored by Daniel Choi
parent 7995ccd609
commit 177574aafa
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ func EthTransactionsFromTendermint(clientCtx clientcontext.CLIContext, txs []tmt
continue
}
// TODO: Remove gas usage calculation if saving gasUsed per block
gasUsed.Add(gasUsed, ethTx.Fee())
gasUsed.Add(gasUsed, big.NewInt(int64(ethTx.GetGas())))
transactionHashes = append(transactionHashes, common.BytesToHash(tx.Hash()))
}