Skip to content

Commit 1574df1

Browse files
committed
fix
1 parent b6b6d2a commit 1574df1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/eth-providers/src/base-provider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -955,7 +955,7 @@ export abstract class BaseProvider extends AbstractProvider {
955955
? this.api.tx.evm.call(...callParams)
956956
: this.api.tx.evm.create(...createParams);
957957

958-
let txFee = await this._estimateGasCost(extrinsic);
958+
let txFee = await this._estimateGasCost(extrinsic, blockHash);
959959
txFee = txFee.mul(gasLimit).div(usedGas); // scale it to the same ratio when estimate passing gasLimit
960960

961961
if (usedStorage.gt(0)) {

0 commit comments

Comments
 (0)