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

Feature/long chainId #913

Merged
merged 11 commits into from Apr 23, 2019
Merged

Feature/long chainId #913

merged 11 commits into from Apr 23, 2019

Conversation

iikirilov
Copy link
Contributor

Replaces #905

What does this PR do?
Allows users of Web3j to set a chainId greater than 255.

Where should the reviewer start?
This change includes 2 commits:

A piece of work conducted in e-Contract whereby Signature is updated to use a byte array for "V".
(e-Contract@6b70484)
TransactionEncoder to accept chainId as a long (and update chain constants from byte to long).
Why is it needed?
Developers working with private chains (which theoretically have a chain ID greater than 1337) are unable to use web3j to sign transactions bound for their web3 provider.

Thanks to @rain-on for initial PR

@iikirilov iikirilov requested a review from conor10 as a code owner April 11, 2019 16:11
@iikirilov iikirilov changed the title Feature/log chain Feature/long chain Apr 11, 2019
@iikirilov iikirilov changed the title Feature/long chain Feature/long chainId Apr 11, 2019
@iikirilov iikirilov added this to the 4.3.x milestone Apr 11, 2019
Copy link
Contributor

@snazha-blkio snazha-blkio left a comment

Choose a reason for hiding this comment

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

LGTM.

@conor10
Copy link
Contributor

conor10 commented Feb 21, 2020

This pull request has been mentioned on Web3 Labs Community. There might be relevant details there:

https://community.web3labs.com/t/web3j-android-branch-harmonisation-with-master/24/6

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

Successfully merging this pull request may close these issues.

None yet

7 participants