-
Notifications
You must be signed in to change notification settings - Fork 775
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
Why is networkId
explicitly required now?
#3046
Comments
Hi there, |
Sorry, I should have been more clear. Specifically my concern is about custom chains using I don't see networkId referenced in any of the transaction classes:
Usage being something like this
|
Hi there, sorry that there was no follow-up here. To finally give some answer: so, two things here. There is this signed/unsigned tx topic coming into play here + the network ID vs chain ID topic. On the first, for signed tx, this does need a chain ID starting with (already old) EIP-155 (so this is what all "modern" txs are taking). Regarding network vs chain ID, so the network ID field is just a left-over from the old "before-chain-ID" days, I guess we can remove this from the code base, have directly taken this as an occasion to start a new deprecation tracking issue #3216 for an eventual next breaking release round. Not sure of what parts you were aware of, so just giving the complete round here for completeness. Will close this issue now, feel nevertheless free to ask follow-up questions if there are still uncertainties. |
Hello there,
Just wondering why
networkId
inCommon
is explicitly required now. I don't believe it's required for building an unsigned transactionI'm sure I've missed something.
Thank you
The text was updated successfully, but these errors were encountered: