-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Unhandled promise rejection on web3.eth.sendSignedTransaction
#6900
Comments
Hey @arijoon thanks for submiting this, i'll ping the devs, could u pls provide the code/repo to try to reproduce it as well? |
sure I'll try to make a sample repo for it over the weekend. For now I've opted to directly use |
Amazing, I appreciate it a lot👍 |
Added a repo here: https://github.com/arijoon/web3-6900-reproduction dependency versions used are in the readme but easiest to use nix to get a guarantee of a reproducible env |
Expected behavior
If server is closed during sendTransaction, process should not crash and exception must bubble up allowing the caller to catch it
Under no circumstances the lib should be throwing unhandled exceptions and damaging the underlying process
Actual behavior
Unhandled exception is thrown and crashes the process
Steps to reproduce the behavior
web3.eth.sendSignedTransaction
Logs
Environment
Ubuntu
web3: v4.4.0
node: v18.18.2
The text was updated successfully, but these errors were encountered: