Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TransactionResponse type is incorrect #4891

Open
everdimension opened this issue Dec 6, 2024 · 1 comment
Open

TransactionResponse type is incorrect #4891

everdimension opened this issue Dec 6, 2024 · 1 comment
Assignees
Labels
investigate Under investigation and may be a bug. v6 Issues regarding v6

Comments

@everdimension
Copy link

Ethers Version

^6.13.4

Search Terms

No response

Describe the Problem

new ethers.JsonRpcProvider(...).broadcastTransaction(...) returns an object that doesn't satisfy ethers.TransactionResponse type.
E.g. gasPrice is undefined, but it's typed to be required:

readonly gasLimit!: bigint;

More details here: zksync-sdk/zksync-ethers#224
(I originally assumed this was a zksync-ethers issue, but it's an ethers issue)

Code Snippet

No response

Contract ABI

No response

Errors

No response

Environment

Browser (Chrome, Safari, etc)

Environment (Other)

No response

@everdimension
Copy link
Author

@ricmoo Can you please take a look?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigate Under investigation and may be a bug. v6 Issues regarding v6
Projects
None yet
Development

No branches or pull requests

2 participants