Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Rename network_id to chain_id where applicable. #6345

Merged
merged 1 commit into from
Aug 22, 2017
Merged

Rename network_id to chain_id where applicable. #6345

merged 1 commit into from
Aug 22, 2017

Conversation

tomusdrw
Copy link
Collaborator

Resolves #6330

To avoid confusion with network_id I renamed all variables and methods to chain_id (that's the actuall name in the spec file and it makes more sense, since ETC and ETH share the same network id but have different chain ids).

That's a breaking change in the RPC API (transactions serialization).

@keorn there are some changes in the engines - it seems that we used network_id for signing instead of chain_id (see verify_transaction_basic) - was that intentional? (chain_id defaults to network_id if it's not specified and eip155 is enabled)

@tomusdrw tomusdrw added A0-pleasereview 🤓 Pull request needs code review. B7-releasenotes 📜 Changes should be mentioned in the release notes of the next minor version release. M6-rpcapi 📣 RPC API. labels Aug 21, 2017
@tomusdrw tomusdrw requested a review from keorn August 21, 2017 12:25
@rphmeier rphmeier added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Aug 22, 2017
@rphmeier rphmeier merged commit b4d3f78 into master Aug 22, 2017
@5chdn 5chdn deleted the networkid branch September 21, 2017 09:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well. B7-releasenotes 📜 Changes should be mentioned in the release notes of the next minor version release. M6-rpcapi 📣 RPC API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants