diff --git a/typescript/infra/config/environments/testnet4/chains.ts b/typescript/infra/config/environments/testnet4/chains.ts index 3f87914ed..2c5fed600 100644 --- a/typescript/infra/config/environments/testnet4/chains.ts +++ b/typescript/infra/config/environments/testnet4/chains.ts @@ -14,7 +14,12 @@ export const ethereumTestnetConfigs: ChainMap = { maxPriorityFeePerGas: 40 * 10 ** 9, // 40 gwei }, }, - bsctestnet: chainMetadata.bsctestnet, + bsctestnet: { + ...chainMetadata.bsctestnet, + transactionOverrides: { + gasPrice: 80 * 10 ** 9, // 8 gwei + }, + }, goerli: chainMetadata.goerli, scrollsepolia: chainMetadata.scrollsepolia, sepolia: chainMetadata.sepolia, diff --git a/typescript/sdk/src/providers/MultiProvider.ts b/typescript/sdk/src/providers/MultiProvider.ts index 7973cc312..7e7d367d9 100644 --- a/typescript/sdk/src/providers/MultiProvider.ts +++ b/typescript/sdk/src/providers/MultiProvider.ts @@ -305,7 +305,7 @@ export class MultiProvider extends ChainMetadataManager { tx: ContractTransaction | Promise, ): Promise { const confirmations = - this.getChainMetadata(chainNameOrId).blocks?.confirmations || 1; + this.getChainMetadata(chainNameOrId).blocks?.confirmations ?? 1; const response = await tx; const txUrl = this.tryGetExplorerTxUrl(chainNameOrId, response); this.logger(