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

EIP-695: clarify what happens if a chain initially does not have chain ID or chain ID has changed #2625

Merged
merged 1 commit into from
May 4, 2020

Conversation

sorpaas
Copy link
Contributor

@sorpaas sorpaas commented May 4, 2020

This addresses https://ethereum-magicians.org/t/eip-695-create-eth-chainid-method-for-json-rpc/1845/19

We clarify that chain ID returned should always be corresponding to the head block. This is also how OpenEthereum currently implements it. The rationale is that by doing this we ensure caller can always use the retrieved information to sign transactions on top of the head.

@rekmarks
Copy link
Contributor

rekmarks commented May 4, 2020

@eip-automerger eip-automerger merged commit 600db11 into ethereum:master May 4, 2020
@@ -36,6 +36,10 @@ the RPC.
Returns the currently configured chain ID, a value used in replay-protected transaction
signing as introduced by [EIP-155](./eip-155.md).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All these links should be pointing to `https://eips.ethereum.org/EIPS/eip-155, etc.

@rekmarks rekmarks mentioned this pull request May 26, 2020
pizzarob pushed a commit to pizzarob/EIPs that referenced this pull request Jun 12, 2020
Hi, I'm a bot! This change was automatically merged because:

 - It only modifies existing Draft or Last Call EIP(s)
 - The PR was approved or written by at least one author of each modified EIP
 - The build is passing
tkstanczak pushed a commit to tkstanczak/EIPs that referenced this pull request Nov 7, 2020
Hi, I'm a bot! This change was automatically merged because:

 - It only modifies existing Draft or Last Call EIP(s)
 - The PR was approved or written by at least one author of each modified EIP
 - The build is passing
Arachnid pushed a commit to Arachnid/EIPs that referenced this pull request Mar 6, 2021
Hi, I'm a bot! This change was automatically merged because:

 - It only modifies existing Draft or Last Call EIP(s)
 - The PR was approved or written by at least one author of each modified EIP
 - The build is passing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants