We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 900dd40 commit d8b20f8Copy full SHA for d8b20f8
packages/eth-providers/src/base-provider.ts
@@ -769,12 +769,10 @@ export abstract class BaseProvider extends AbstractProvider {
769
ethReq.gasPrice ??= await this.getGasPrice();
770
ethReq.gasLimit ??= BigNumber.from(999999920);
771
772
- const substrateGas = this._getSubstrateGasParams(ethReq);
773
-
774
const callRequest: SubstrateEvmCallRequest = {
775
...ethReq,
776
value: ethReq.value?.toBigInt(),
777
- ...substrateGas,
+ gasLimit: ethReq.gasLimit?.toBigInt(),
778
};
779
780
const res = await this._ethCall(callRequest, blockHash);
0 commit comments