-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Web3j fix android #2122
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
Merged
gtebrean
merged 114 commits into
LFDT-web3j:web3j-android
from
shashankiitbhu:web3j-fix-android
Dec 13, 2024
Merged
Web3j fix android #2122
Changes from 105 commits
Commits
Show all changes
114 commits
Select commit
Hold shift + click to select a range
a6c727e
minSDKversion updated
shashankiitbhu 660a66e
change default branch to main
NickSneo 11e7c7e
update secrets
gtebrean f0d0c9e
update changelog
gtebrean 657d148
update build
gtebrean 131ffdf
fix yaml
gtebrean 0b44508
update signature
gtebrean f2678b9
update changelog
gtebrean c4103ab
revert changes
gtebrean 34d369d
update changelog
gtebrean 561a712
update secrets
gtebrean 98cd600
main branch configs
NickSneo 8da85dd
changelog entry
NickSneo 86b6d61
web3j release fix
NickSneo 48453f0
web3j release fix
NickSneo 9cc22f3
add contributtor call
gtebrean ce21072
update links
gtebrean ec394e0
update contributing
gtebrean 5b56061
Fix typos in class FullDebugTraceInfo
hanmz 98e128e
Fix typos in class FullDebugTraceInfo
hanmz 53e67e4
[bug] Fix two typos in package org.web3j.abi
hanmz bbc5c89
update signature
gtebrean cb9404f
update changelog
gtebrean b07aac7
revert changes
gtebrean e86b10a
update secrets
gtebrean 224767e
encodePacked DynamicBytes
xutruth 2cb6b1f
add changelog for fix encodePacked DynamicBytes
xutruth 5ab3540
modify encodePacked Utf8String
xutruth e099d52
Repo owner change (#2048)
NickSneo d477550
bump version 4.11.4 (#2049)
NickSneo 8575237
Upgrade gradle to v8.5
bradbown 8c026bf
Upgrade gradle to 8.7
NickSneo 6747968
added back integration test dependency
NickSneo 6822796
jacoco fix, snapshot version to 4.12.0
NickSneo 6e04ff0
Fixed DefaultFunctionEncoder calculating offset for nested StaticArra…
penuel-leo 65bcfec
Bump snapshot to 4.12.1 (#2058)
NickSneo 1c5df03
update maintainers.md
gtebrean e7d1e83
update
gtebrean 8447077
update
gtebrean 1d70c46
add missing LFID
gtebrean 46df8bc
Bug fix: Same inner struct name of different libraries result in fail…
tonykwok1992 9efb07b
Bug fix for detecting struct only being used as array of struct (#2061)
tonykwok1992 f688679
chore: fix some comments (#2067)
cangqiaoyuzhuo aeb1473
Remove registration of bouncy castle as JCE provider (#2066)
killergerbah 8338c77
Bug fix for Int256 decode range [2^248, type(int256).max] and [ type(…
tonykwok1992 7cbd37b
Big fix for codegen when Array of struct and struct used together
tonykwok1992 055902d
separate array type handling
tonykwok1992 c155231
Fix normalizedType
tonykwok1992 74d286e
Add test for fixing more issue
tonykwok1992 d6d1229
Document the minimum required Java version for the target project to …
kaygorodov f0d26cd
Make getABI_* calls static (#2079)
tonykwok1992 46d0755
fix for new URL (web3j to hyperledger) including one branch fix (mast…
Julius278 d93aa03
Updated TypeReference object to support nested types to support truly…
264c03c
Support decoding of DynamicArray of DynamicStruct (with corresponding…
Antlion12 44a7da2
Return extraneous 'else { return ... }' from decodeDynamicStruct().
Antlion12 238a058
Run spotless.
Antlion12 87f97dc
Factor out offset-computation and parameter-extraction from decodeDyn…
Antlion12 8267cff
move test
gtebrean f37e7aa
spotless
gtebrean 1b8ee47
fix naming
gtebrean a39fb25
add DynamicStructOfStaticStruct
gtebrean d229a9a
Support building StaticStruct using innerTypes. Add testBuildDynamicA…
Antlion12 a8257ce
Rename numNestedFields() to countNestedFields().
Antlion12 7e7a7b2
Run spotless.
Antlion12 8843a0e
Update CHANGELOG.md.
Antlion12 7112a9c
add fix
gtebrean a1f1bea
update changelog
gtebrean f14e038
Bug fix for FastRawTransactionManager.resetNonce (#2084)
junsung-cho 3b1e426
Release 4.12.1
gtebrean 510d2db
Release 4.12.1
gtebrean d6b45c3
fix licence
gtebrean 4d1e213
update changelog
gtebrean 00759b6
fix licence
gtebrean 2797793
bump version
gtebrean 0938a16
bump version
gtebrean c3efcde
added Linea ENS Support
NickSneo a45ce45
added Linea Sepolia support too
NickSneo c2c540c
added test and changelog
NickSneo df8699d
Upgrade jc-kzg-4844 to 2.0.0
StefanBratanov 43f1c83
fix spotless
StefanBratanov 43f4189
Bump snapshot version to 4.12.3 (#2101)
NickSneo a067110
updated dependencies
shashankiitbhu 1d73c50
Web3j implements AutoClosable Interface (#2102)
steffenboe fa14aa1
add kms implementation
gtebrean e18679d
update changelog
gtebrean 85f3ae8
migrating to android
shashankiitbhu 6993b7a
fixing build issues
shashankiitbhu 943e093
Rename .java to .kt
shashankiitbhu 8c5d8f4
fixing build issues
shashankiitbhu cc63051
fixing build issues in codegen
shashankiitbhu 2351af7
fix codegen build issues
shashankiitbhu c420a1a
fix codegen build issues
shashankiitbhu c1bd261
fix codegen build issues
shashankiitbhu 7d8748c
fix codegen build issues
shashankiitbhu b28c51b
Rename .java to .kt
shashankiitbhu 314de43
codegen module test fix
shashankiitbhu 56517b8
crypto module test fix
shashankiitbhu f5a0b8b
Integration Test Fix
shashankiitbhu c56f29c
Integration Test Fix
shashankiitbhu 5d442a4
Integration Test Fix
shashankiitbhu 2c9104d
Merge remote-tracking branch 'upstream/web3j-android' into web3j-fix-…
shashankiitbhu af4c671
Typedecoder android fix
shashankiitbhu 3d5c51e
pom configuaration added
shashankiitbhu 7202562
Build Fixes
shashankiitbhu c4865a9
build fix
shashankiitbhu 4fb1a26
Add lint-baseline.xml to gitignore
shashankiitbhu fdb2e62
remove crypto test comments
shashankiitbhu f299234
gradle publish signing fix
shashankiitbhu a79f25a
gradle published comments removed
shashankiitbhu 9bf62de
build workflow modified
shashankiitbhu cee6462
workflows added
shashankiitbhu b7cbf7f
codegen fixed
shashankiitbhu 7258070
Integration test build fix
shashankiitbhu 9ce2517
Integration-tests fix
shashankiitbhu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
kotlin version: 2.0.21 | ||
error message: The daemon has terminated unexpectedly on startup attempt #1 with error code: 0. The daemon process output: | ||
1. Kotlin compile daemon is ready | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
kotlin version: 2.0.21 | ||
error message: The daemon has terminated unexpectedly on startup attempt #1 with error code: 0. The daemon process output: | ||
1. Kotlin compile daemon is ready | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,158 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<issues format="6" by="lint 8.5.1" type="baseline" client="gradle" dependencies="false" name="AGP (8.5.1)" variant="all" version="8.5.1"> | ||
|
||
<issue | ||
id="DefaultLocale" | ||
message="Implicitly using the default locale is a common source of bugs: Use `toLowerCase(Locale)` instead. For strings meant to be internal use `Locale.ROOT`, otherwise `Locale.getDefault()`." | ||
errorLine1=" return type.getSimpleName().toLowerCase();" | ||
errorLine2=" ~~~~~~~~~~~"> | ||
<location | ||
file="src/main/java/org/web3j/abi/datatypes/AbiTypes.java" | ||
line="389" | ||
column="41"/> | ||
</issue> | ||
|
||
<issue | ||
id="DefaultLocale" | ||
message="Implicitly using the default locale is a common source of bugs: Use `toLowerCase(Locale)` instead. For strings meant to be internal use `Locale.ROOT`, otherwise `Locale.getDefault()`." | ||
errorLine1=" this.type = getClass().getSimpleName().toLowerCase();" | ||
errorLine2=" ~~~~~~~~~~~"> | ||
<location | ||
file="src/main/java/org/web3j/abi/datatypes/primitive/PrimitiveType.java" | ||
line="26" | ||
column="48"/> | ||
</issue> | ||
|
||
<issue | ||
id="DefaultLocale" | ||
message="Implicitly using the default locale is a common source of bugs: Use `toLowerCase(Locale)` instead. For strings meant to be internal use `Locale.ROOT`, otherwise `Locale.getDefault()`." | ||
errorLine1=" String simpleName = type.getSimpleName().toLowerCase();" | ||
errorLine2=" ~~~~~~~~~~~"> | ||
<location | ||
file="src/main/java/org/web3j/abi/Utils.java" | ||
line="125" | ||
column="50"/> | ||
</issue> | ||
|
||
<issue | ||
id="NewApi" | ||
message="Call requires API level 26 (current min is 24): `java.lang.reflect.Constructor#getParameterCount`" | ||
errorLine1=" final int length = constructor.getParameterCount();" | ||
errorLine2=" ~~~~~~~~~~~~~~~~~"> | ||
<location | ||
file="src/main/java/org/web3j/abi/TypeDecoder.java" | ||
line="452" | ||
column="44"/> | ||
</issue> | ||
|
||
<issue | ||
id="NewApi" | ||
message="Call requires API level 26 (current min is 24): `java.lang.reflect.Executable#getParameters`" | ||
errorLine1=" .getParameters()" | ||
errorLine2=" ~~~~~~~~~~~~~"> | ||
<location | ||
file="src/main/java/org/web3j/abi/TypeDecoder.java" | ||
line="465" | ||
column="46"/> | ||
</issue> | ||
|
||
<issue | ||
id="NewApi" | ||
message="Call requires API level 26 (current min is 24): `java.lang.reflect.Constructor#getParameterCount`" | ||
errorLine1=" final int length = constructor.getParameterCount();" | ||
errorLine2=" ~~~~~~~~~~~~~~~~~"> | ||
<location | ||
file="src/main/java/org/web3j/abi/TypeDecoder.java" | ||
line="666" | ||
column="44"/> | ||
</issue> | ||
|
||
<issue | ||
id="NewApi" | ||
message="Call requires API level 28 (current min is 24): `java.lang.reflect.Type#getTypeName`" | ||
errorLine1=" .getActualTypeArguments()[0].getTypeName());" | ||
errorLine2=" ~~~~~~~~~~~"> | ||
<location | ||
file="src/main/java/org/web3j/abi/Utils.java" | ||
line="209" | ||
column="62"/> | ||
</issue> | ||
|
||
<issue | ||
id="NewApi" | ||
message="Call requires API level 28 (current min is 24): `java.lang.reflect.Type#getTypeName`" | ||
errorLine1=" return type.getTypeName();" | ||
errorLine2=" ~~~~~~~~~~~"> | ||
<location | ||
file="src/main/java/org/web3j/abi/Utils.java" | ||
line="305" | ||
column="25"/> | ||
</issue> | ||
|
||
<issue | ||
id="OldTargetApi" | ||
message="Not targeting the latest versions of Android; compatibility modes apply. Consider testing and updating this version. Consult the `android.os.Build.VERSION_CODES` javadoc for details." | ||
errorLine1=" targetSdkVersion 33" | ||
errorLine2=" ~~~~~~~~~~~~~~~~~~~"> | ||
<location | ||
file="build.gradle" | ||
line="39" | ||
column="9"/> | ||
</issue> | ||
|
||
<issue | ||
id="GradleDependency" | ||
message="A newer version of `compileSdkVersion` than 33 is available: 34" | ||
errorLine1=" compileSdkVersion 33" | ||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> | ||
<location | ||
file="build.gradle" | ||
line="35" | ||
column="5"/> | ||
</issue> | ||
|
||
<issue | ||
id="GradleDependency" | ||
message="A newer version of org.junit.jupiter:junit-jupiter-api than 5.10.0 is available: 5.11.0" | ||
errorLine1=" testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.0'" | ||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> | ||
<location | ||
file="build.gradle" | ||
line="68" | ||
column="24"/> | ||
</issue> | ||
|
||
<issue | ||
id="GradleDependency" | ||
message="A newer version of org.junit.jupiter:junit-jupiter-engine than 5.10.0 is available: 5.11.0" | ||
errorLine1=" testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.0'" | ||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> | ||
<location | ||
file="build.gradle" | ||
line="69" | ||
column="21"/> | ||
</issue> | ||
|
||
<issue | ||
id="GradleDependency" | ||
message="A newer version of androidx.test.ext:junit than 1.1.5 is available: 1.2.1" | ||
errorLine1=" androidTestImplementation 'androidx.test.ext:junit:1.1.5'" | ||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> | ||
<location | ||
file="build.gradle" | ||
line="70" | ||
column="31"/> | ||
</issue> | ||
|
||
<issue | ||
id="GradleDependency" | ||
message="A newer version of androidx.test.espresso:espresso-core than 3.5.1 is available: 3.6.1" | ||
errorLine1=" androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'" | ||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> | ||
<location | ||
file="build.gradle" | ||
line="71" | ||
column="31"/> | ||
</issue> | ||
|
||
</issues> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<issues format="6" by="lint 8.5.1" type="baseline" client="gradle" dependencies="false" name="AGP (8.5.1)" variant="all" version="8.5.1"> | ||
|
||
<issue | ||
id="NewApi" | ||
message="Call requires API level 26, or core library desugaring (current min is 24): `java.nio.file.Files#createTempDirectory`" | ||
errorLine1=" tempDir = Files.createTempDirectory(TempFileProvider.class.getSimpleName()).toFile();" | ||
errorLine2=" ~~~~~~~~~~~~~~~~~~~"> | ||
<location | ||
file="src/main/java/org/web3j/android_test_utils/TempFileProvider.java" | ||
line="28" | ||
column="25"/> | ||
</issue> | ||
|
||
<issue | ||
id="NewApi" | ||
message="Call requires API level 26, or core library desugaring (current min is 24): `java.nio.file.Path#toFile`" | ||
errorLine1=" tempDir = Files.createTempDirectory(TempFileProvider.class.getSimpleName()).toFile();" | ||
errorLine2=" ~~~~~~"> | ||
<location | ||
file="src/main/java/org/web3j/android_test_utils/TempFileProvider.java" | ||
line="28" | ||
column="85"/> | ||
</issue> | ||
|
||
<issue | ||
id="GradleDependency" | ||
message="A newer version of org.java-websocket:Java-WebSocket than 1.5.6 is available: 1.5.7" | ||
errorLine1=" api "org.java-websocket:Java-WebSocket:$javaWebSocketVersion"" | ||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> | ||
<location | ||
file="build.gradle" | ||
line="46" | ||
column="9"/> | ||
</issue> | ||
|
||
<issue | ||
id="GradleDependency" | ||
message="A newer version of org.slf4j:slf4j-api than 2.0.13 is available: 2.0.16" | ||
errorLine1=" api "org.slf4j:slf4j-api:$slf4jVersion"" | ||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> | ||
<location | ||
file="build.gradle" | ||
line="49" | ||
column="9"/> | ||
</issue> | ||
|
||
<issue | ||
id="GradleDependency" | ||
message="A newer version of org.junit.jupiter:junit-jupiter than 5.8.1 is available: 5.11.0" | ||
errorLine1=" implementation 'org.junit.jupiter:junit-jupiter:5.8.1'" | ||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> | ||
<location | ||
file="build.gradle" | ||
line="55" | ||
column="20"/> | ||
</issue> | ||
|
||
<issue | ||
id="GradleDependency" | ||
message="A newer version of org.junit.jupiter:junit-jupiter-api than 5.10.0 is available: 5.11.0" | ||
errorLine1=" testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.0'" | ||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> | ||
<location | ||
file="build.gradle" | ||
line="57" | ||
column="24"/> | ||
</issue> | ||
|
||
<issue | ||
id="GradleDependency" | ||
message="A newer version of org.junit.jupiter:junit-jupiter-engine than 5.10.0 is available: 5.11.0" | ||
errorLine1=" testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.0'" | ||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> | ||
<location | ||
file="build.gradle" | ||
line="58" | ||
column="21"/> | ||
</issue> | ||
|
||
<issue | ||
id="GradleDependency" | ||
message="A newer version of org.mockito:mockito-core than 5.5.0 is available: 5.13.0" | ||
errorLine1=" testImplementation 'org.mockito:mockito-core:5.5.0'" | ||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> | ||
<location | ||
file="build.gradle" | ||
line="59" | ||
column="24"/> | ||
</issue> | ||
|
||
<issue | ||
id="GradleDependency" | ||
message="A newer version of org.mockito:mockito-junit-jupiter than 5.5.0 is available: 5.13.0" | ||
errorLine1=" testImplementation 'org.mockito:mockito-junit-jupiter:5.5.0'" | ||
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> | ||
<location | ||
file="build.gradle" | ||
line="60" | ||
column="24"/> | ||
</issue> | ||
|
||
</issues> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.