diff --git a/packages/abstract-signer/src.ts/index.ts b/packages/abstract-signer/src.ts/index.ts index d5322a8a..2cc41491 100644 --- a/packages/abstract-signer/src.ts/index.ts +++ b/packages/abstract-signer/src.ts/index.ts @@ -169,7 +169,13 @@ export abstract class Signer { }); } - if (tx.gasLimit == null) { tx.gasLimit = this.estimateGas(tx); } + if (tx.gasLimit == null) { + tx.gasLimit = this.estimateGas(tx).catch((error) => { + logger.throwError("unable to estimate gas; specify manually", Logger.errors.UNPREDICTABLE_GAS_LIMIT, { + tx: tx + }); + }); + } if (tx.chainId == null) { tx.chainId = this.getChainId(); } return resolveProperties(tx);