We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89e922e commit bcc8274Copy full SHA for bcc8274
src/tools/network/ExtendedHardhatEthersSigner.ts
@@ -92,14 +92,17 @@ export class ExtendedHardhatEthersSigner {
92
if (hre.network.config.gasPrice) {
93
try {
94
preparedTx.gasPrice = hre.ethers.parseUnits(hre.network.config.gasPrice.toString(), "gwei");
95
- } catch {}
+ } catch {
96
+ /* empty */
97
+ }
98
}
99
100
if (hre.network.config.gasMultiplier) {
101
preparedTx.gasLimit = String(
102
(BigInt(preparedTx.gasLimit!) * BigInt(hre.network.config.gasMultiplier * 100)) / 100n,
103
);
104
105
+
106
delete preparedTx.from;
107
108
if (this._config.trezorWallet.enabled) {
0 commit comments