File tree 3 files changed +3
-3
lines changed
main/java/org/web3j/codegen
test/resources/solidity/metacoin/build/java
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
7
7
8
8
### Bug Fixes
9
9
10
- *
10
+ * Fix contract wrapper generation [ # 2017 ] ( https://github.com/web3j/web3j/pull/2017 )
11
11
12
12
### Features
13
13
Original file line number Diff line number Diff line change @@ -671,7 +671,7 @@ private Set<String> getDuplicateFunctionNames(List<AbiDefinition> functionDefini
671
671
private static MethodSpec buildGetDeploymentBinaryMethod () {
672
672
MethodSpec .Builder toReturn =
673
673
MethodSpec .methodBuilder ("getDeploymentBinary" )
674
- .addModifiers (Modifier .PRIVATE , Modifier .STATIC )
674
+ .addModifiers (Modifier .PUBLIC , Modifier .STATIC )
675
675
.returns (ClassName .get (String .class ));
676
676
677
677
CodeBlock codeBlock =
Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ public static void linkLibraries(List<Contract.LinkReference> references) {
166
166
librariesLinkedBinary = linkBinaryWithReferences (BINARY , references );
167
167
}
168
168
169
- private static String getDeploymentBinary () {
169
+ public static String getDeploymentBinary () {
170
170
if (librariesLinkedBinary != null ) {
171
171
return librariesLinkedBinary ;
172
172
} else {
You can’t perform that action at this time.
0 commit comments