Forward some missing EIP-1559 fields to call and estimateGas (#1766).
This commit is contained in:
parent
63f8b28223
commit
be3854e648
@ -1233,7 +1233,7 @@ export class BaseProvider extends Provider implements EnsProvider {
|
||||
tx[key] = Promise.resolve(values[key]).then((v) => (v ? this._getAddress(v): null))
|
||||
});
|
||||
|
||||
["gasLimit", "gasPrice", "value"].forEach((key) => {
|
||||
["gasLimit", "gasPrice", "maxFeePerGas", "maxPriorityFeePerGas", "value"].forEach((key) => {
|
||||
if (values[key] == null) { return; }
|
||||
tx[key] = Promise.resolve(values[key]).then((v) => (v ? BigNumber.from(v): null));
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user