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

ethers v5 to v6 migration #2267

Open
SergioArrighi opened this issue Oct 2, 2024 · 0 comments
Open

ethers v5 to v6 migration #2267

SergioArrighi opened this issue Oct 2, 2024 · 0 comments

Comments

@SergioArrighi
Copy link

Hello team,

firstly thanks for the amazing job!
I have a dapp and I'd like to miigrate to ethers v6.
I noticed that this library depends on v5 and I was wondering if you have any plans to migrate.
The first and easiest problem I have been running into is the removal of BigNumer, replaced by the standard BigInt.
This poses a problem when trying to feed a PopulatedTransaction to ethers v6 Signer.

if (action.type === orderbook.ActionType.TRANSACTION) { const builtTx = await action.buildTransaction(); console.log(Submitting ${action.purpose} transaction); console.log(await signer.getAddress()); await signer.sendTransaction(builtTx); }

Do you have any suggested workaround maybe?

Thanks a lot and keep up the amazing job.

Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant