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

Web3j fix android #2122

Merged

Conversation

shashankiitbhu
Copy link

@shashankiitbhu shashankiitbhu commented Dec 3, 2024

What does this PR do?

required

Where should the reviewer start?

required

Why is it needed?

required

Checklist

  • I've read the contribution guidelines.
  • I've added tests (if applicable).
  • I've added a changelog entry if necessary.

@shashankiitbhu shashankiitbhu changed the base branch from web3j-android to main December 3, 2024 16:00
@shashankiitbhu shashankiitbhu changed the base branch from main to web3j-android December 3, 2024 16:01
shashankiitbhu and others added 24 commits December 3, 2024 21:34
Signed-off-by: Shashank Kumar <[email protected]>
Signed-off-by: Nischal Sharma <[email protected]>
Signed-off-by: Shashank Kumar <[email protected]>
Signed-off-by: gtebrean <[email protected]>
Signed-off-by: Shashank Kumar <[email protected]>
Signed-off-by: gtebrean <[email protected]>
Signed-off-by: Shashank Kumar <[email protected]>
Signed-off-by: gtebrean <[email protected]>
Signed-off-by: Shashank Kumar <[email protected]>
Signed-off-by: gtebrean <[email protected]>
Signed-off-by: Shashank Kumar <[email protected]>
Signed-off-by: gtebrean <[email protected]>
Signed-off-by: Shashank Kumar <[email protected]>
Signed-off-by: gtebrean <[email protected]>
Signed-off-by: Shashank Kumar <[email protected]>
Signed-off-by: gtebrean <[email protected]>
Signed-off-by: Shashank Kumar <[email protected]>
Signed-off-by: gtebrean <[email protected]>
Signed-off-by: Shashank Kumar <[email protected]>
Signed-off-by: gtebrean <[email protected]>
Signed-off-by: Shashank Kumar <[email protected]>
Signed-off-by: Nischal Sharma <[email protected]>
Signed-off-by: Shashank Kumar <[email protected]>
Signed-off-by: Nischal Sharma <[email protected]>
Signed-off-by: Shashank Kumar <[email protected]>
Signed-off-by: Nischal Sharma <[email protected]>
Signed-off-by: Shashank Kumar <[email protected]>
Signed-off-by: Nischal Sharma <[email protected]>
Signed-off-by: Shashank Kumar <[email protected]>
Signed-off-by: gtebrean <[email protected]>
Signed-off-by: Shashank Kumar <[email protected]>
Signed-off-by: gtebrean <[email protected]>
Signed-off-by: Shashank Kumar <[email protected]>
Signed-off-by: gtebrean <[email protected]>
Signed-off-by: Shashank Kumar <[email protected]>
Signed-off-by: Hanmz <[email protected]>
Signed-off-by: Shashank Kumar <[email protected]>
Signed-off-by: hanmz <[email protected]>
Signed-off-by: Shashank Kumar <[email protected]>
Signed-off-by: hanmz <[email protected]>
Signed-off-by: Shashank Kumar <[email protected]>
Signed-off-by: gtebrean <[email protected]>
Signed-off-by: Shashank Kumar <[email protected]>
Signed-off-by: gtebrean <[email protected]>
Signed-off-by: Shashank Kumar <[email protected]>
Signed-off-by: gtebrean <[email protected]>
Signed-off-by: Shashank Kumar <[email protected]>
Signed-off-by: Shashank Kumar <[email protected]>
Signed-off-by: Shashank Kumar <[email protected]>
Signed-off-by: Shashank Kumar <[email protected]>
Signed-off-by: Shashank Kumar <[email protected]>
Signed-off-by: Shashank Kumar <[email protected]>
Signed-off-by: Shashank Kumar <[email protected]>
Signed-off-by: Shashank Kumar <[email protected]>
Signed-off-by: Shashank Kumar <[email protected]>
Signed-off-by: Shashank Kumar <[email protected]>
Signed-off-by: Shashank Kumar <[email protected]>
Signed-off-by: Shashank Kumar <[email protected]>
Signed-off-by: Shashank Kumar <[email protected]>
Copy link
Contributor

@gtebrean gtebrean left a comment

Choose a reason for hiding this comment

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

few comments

@@ -260,7 +260,7 @@ private <T extends Type> void generateStaticArrayTypes(String path) throws IOExc
.addTypeVariable(typeVariableName)
.superclass(
ParameterizedTypeName.get(
new ClassName(String.valueOf(StaticArray.class)), typeVariableName))
new ClassName("org.web3j.abi.datatypes", "StaticArray"), typeVariableName))
Copy link
Contributor

Choose a reason for hiding this comment

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

I remember that in the end we said that we won't update the codegen module, anything change? with what exactly are these modiffication helping?

FileSpec kotlinFile =
FileSpec.builder(packageName, theContract.getSimpleName() + "Test")
.addType(testClass)
.build();
kotlinFile.writeTo(new File(writePath));

Copy link
Contributor

Choose a reason for hiding this comment

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

So as JavaClassGenerator is commented out only do we generate only kotlin test classes ?

@@ -1004,7 +1036,7 @@
//
// @Test
// public void testBuildFunctionLinkBinaryWithReferences() throws Exception {
// MethodSpec methodSpec = solidityFunctionWrapper.buildLinkLibraryMethod();
// FunSpec methodSpec = solidityFunctionWrapper.buildLinkLibraryMethod();
Copy link
Contributor

Choose a reason for hiding this comment

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

All these will be uncommented when will generate the Kotlin wrapper class?

@gtebrean
Copy link
Contributor

From what I see build on this PR is not executed at all, only the DCO takes place, please check why this is happening, the build script is in the same folder where is the release script. You can find in this PR all the jobs which needs to be executed #2124

Signed-off-by: Shashank Kumar <[email protected]>
Signed-off-by: Shashank Kumar <[email protected]>
Signed-off-by: Shashank Kumar <[email protected]>
Signed-off-by: Shashank Kumar <[email protected]>
Signed-off-by: Shashank Kumar <[email protected]>
@gtebrean gtebrean merged commit 1b480d5 into hyperledger-web3j:web3j-android Dec 13, 2024
5 checks passed
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.