From 5d4486ba0032a63abd61912f7a77eb0728c3c07a Mon Sep 17 00:00:00 2001 From: PleBea Date: Thu, 26 Sep 2024 01:44:04 +0900 Subject: [PATCH] refactor: Improve gas limit in transfer method of BlockchainService --- src/modules/blockchain/blockchain.service.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/modules/blockchain/blockchain.service.ts b/src/modules/blockchain/blockchain.service.ts index e758151..36e0f9c 100644 --- a/src/modules/blockchain/blockchain.service.ts +++ b/src/modules/blockchain/blockchain.service.ts @@ -80,7 +80,6 @@ export class BlockchainService { await erc20.waitForDeployment(); await erc20.transfer(to, ethers.parseUnits(amount.toString(), 18), { - gasLimit: 3_000_000, nonce: await this.getTransactionCount(), });