-
Notifications
You must be signed in to change notification settings - Fork 839
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
Upgrade Web3J #3752
Upgrade Web3J #3752
Conversation
6afbac1
to
6c405ea
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
6c91d4a
to
f90b33e
Compare
@antonydenyer to move this PR to |
I think raising an issue in the respective projects would make sense. I'm happy to have a look at the I think we should be able to use everything on to |
Blocked by hyperledger-web3j/web3j#1747 |
While we wait for a release of the web3j components to fix the acceptanceTests, I tried to force the dependencies as suggested. |
Signed-off-by: Diego López León <dieguitoll@gmail.com>
This reverts commit baed1ef. Signed-off-by: Diego López León <dieguitoll@gmail.com>
Signed-off-by: Antony Denyer <git@antonydenyer.co.uk>
Signed-off-by: Antony Denyer <git@antonydenyer.co.uk>
Signed-off-by: Antony Denyer <git@antonydenyer.co.uk>
2e2de4c
to
5033283
Compare
Use strictly to force the issue. Signed-off-by: Antony Denyer <git@antonydenyer.co.uk>
@diega Had to force the dependency in the end! I think this is ready for review now. |
@@ -50,7 +52,7 @@ public static BlockHeader createBlockHeader( | |||
Bytes.fromHexString(block.getExtraData()), | |||
null, | |||
mixHash, | |||
block.getNonce().longValue(), | |||
new BigInteger(block.getNonceRaw().substring(2), 16).longValue(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@antonydenyer nice trick! that way you'll be overriding the dependency added programmatically by the plugin, right? |
More like a sledgehammer that overrides everything - it will force everything to use '4.9.4', this could be a problem when you come to upgrade again. You could change the version in |
acceptance-tests/tests/build.gradle
Outdated
implementation('org.web3j:core') { | ||
version { | ||
strictly('4.9.4') | ||
because('web3j plugin 4.9.4 hasn\'t been released yet') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
because('web3j plugin 4.9.4 hasn\'t been released yet') | |
because('Plugin version is 4.9.2 (latest), but we want it to use web3j libs version 4.9.4 ') |
container-tests/tests/build.gradle
Outdated
testImplementation 'org.web3j:quorum' | ||
testImplementation('org.web3j:quorum') { | ||
constraints { | ||
implementation('org.web3j:core:4.9.4') { because 'quorum 4.9.4 hasn\'t been released yet' } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
implementation('org.web3j:core:4.9.4') { because 'quorum 4.9.4 hasn\'t been released yet' } | |
implementation('org.web3j:core:4.9.4') { | |
because 'Web3J/Quorum only has a 4.9.2 lib, but we want it to use web3j libs version 4.9.4 ') | |
} |
…n dependencies Signed-off-by: Miguel Rojo <miguelangel.rojofernandez@mastercard.com>
Hi @antonydenyer @shemnon , hope you are doing well, and happy Friday! I was wondering if there is anything else to do in this PR, otherwise maybe you could merge it? I need it for #4086, thanks in advance! |
I'm holding off for 22.7.0 to ship as this is not essential to the merge. |
* Upgrade web3j dependencies to latest versions Signed-off-by: Diego López León <dieguitoll@gmail.com> Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> Co-authored-by: Antony Denyer <git@antonydenyer.co.uk> Co-authored-by: Miguel Rojo <miguelangel.rojofernandez@mastercard.com> Co-authored-by: Miguel Angel Rojo <freemanz1486@gmail.com>
* Upgrade web3j dependencies to latest versions Signed-off-by: Diego López León <dieguitoll@gmail.com> Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> Co-authored-by: Antony Denyer <git@antonydenyer.co.uk> Co-authored-by: Miguel Rojo <miguelangel.rojofernandez@mastercard.com> Co-authored-by: Miguel Angel Rojo <freemanz1486@gmail.com> Signed-off-by: Cody Born <codyborn@outlook.com>
* Upgrade web3j dependencies to latest versions Signed-off-by: Diego López León <dieguitoll@gmail.com> Signed-off-by: Antony Denyer <git@antonydenyer.co.uk> Co-authored-by: Antony Denyer <git@antonydenyer.co.uk> Co-authored-by: Miguel Rojo <miguelangel.rojofernandez@mastercard.com> Co-authored-by: Miguel Angel Rojo <freemanz1486@gmail.com>
ON HOLD: waiting fororg.web3j:quorum
release (ref: web3j-quorum#66)Update Web3J dependency
This PR also reverts #3789
Signed-off-by: Diego López León dieguitoll@gmail.com
Documentation
doc-change-required
label to this PR ifupdates are required.
Changelog