Skip to content

Commit

Permalink
modify EthEstimateGasParams
Browse files Browse the repository at this point in the history
  • Loading branch information
Tsuyoshi-Ishikawa committed Nov 2, 2022
1 parent bca1dc2 commit 647a40e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/services/transaction.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)),
};

Expand Down
2 changes: 1 addition & 1 deletion src/shared/entities/TransactionParam.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export interface EthEstimateGasParams {
to?: string;
gas: string;
value: string;
input: string;
data: string;
gasPrice?: string;
maxPriorityFeePerGas?: string;
maxFeePerGas?: string;
Expand Down

0 comments on commit 647a40e

Please sign in to comment.