From 647a40e7bc8439379403fcfd6ccd9109613524a2 Mon Sep 17 00:00:00 2001 From: Tsuyoshi-Ishikawa Date: Wed, 2 Nov 2022 16:38:18 +0900 Subject: [PATCH] modify EthEstimateGasParams --- src/services/transaction.service.ts | 2 +- src/shared/entities/TransactionParam.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/services/transaction.service.ts b/src/services/transaction.service.ts index dd1491e..8c42cd0 100644 --- a/src/services/transaction.service.ts +++ b/src/services/transaction.service.ts @@ -69,7 +69,7 @@ export class TransactionService { nonce: ethers.utils.hexValue(BigNumber.from(tx.nonce)), gas: ethers.utils.hexValue(tx.gasLimit), value: ethers.utils.hexValue(tx.value), - input: tx.data, + data: tx.data, chainId: ethers.utils.hexValue(BigNumber.from(tx.chainId)), }; diff --git a/src/shared/entities/TransactionParam.ts b/src/shared/entities/TransactionParam.ts index 21e4a69..566529c 100644 --- a/src/shared/entities/TransactionParam.ts +++ b/src/shared/entities/TransactionParam.ts @@ -7,7 +7,7 @@ export interface EthEstimateGasParams { to?: string; gas: string; value: string; - input: string; + data: string; gasPrice?: string; maxPriorityFeePerGas?: string; maxFeePerGas?: string;