ethers.js icon indicating copy to clipboard operation
ethers.js copied to clipboard

Wrong field in formatTransactionResponse

Open zfy0701 opened this issue 1 year ago • 0 comments

Ethers Version

latest

Search Terms

No response

Describe the Problem

https://github.com/ethers-io/ethers.js/blob/98910ba01efa774710eefa5a6a5836a8b271c654/lib.esm/providers/formatting.d.ts#L211

transactionParamResponse has a field index, but in the format function, it uses transactionIndex

https://github.com/ethers-io/ethers.js/blob/main/src.ts/providers/format.ts#L201

should this be index as well right?

Code Snippet

No response

Contract ABI

No response

Errors

No response

Environment

No response

Environment (Other)

No response

zfy0701 avatar Nov 28 '23 14:11 zfy0701