Skip to content

Commit 5127ee2

Browse files
authored
Merge pull request #335 from youwenbusi/develop
pre-release
2 parents 295d2fc + 607a5c4 commit 5127ee2

33 files changed

+79
-111
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.8.5-rc.1-SNAPSHOT
1+
1.8.5-rc.8-SNAPSHOT

authorityIssuer.address

Lines changed: 0 additions & 1 deletion
This file was deleted.

build.gradle

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ List logger = [
9393

9494
// junit test
9595
List junit = [
96-
"junit:junit:4.12"
96+
"junit:junit:4.13.1"
9797
]
9898

9999
List apache_commons = [
@@ -116,6 +116,11 @@ List json = [
116116
"com.networknt:json-schema-validator:1.0.71",
117117
]
118118

119+
def gson_version = "2.8.9"
120+
List gson = [
121+
"com.google.code.gson:gson:$gson_version"
122+
]
123+
119124
List mysql_driver = [
120125
"mysql:mysql-connector-java:8.0.20", // todo runtime
121126
"org.apache.commons:commons-dbcp2:2.5.0"
@@ -136,11 +141,11 @@ List rpc = [
136141
]
137142

138143
List pdfbox = [
139-
"org.apache.pdfbox:pdfbox:2.0.16"
144+
"org.apache.pdfbox:pdfbox:2.0.24"
140145
]
141146

142147
List protobuf = [
143-
"com.google.protobuf:protobuf-java:3.9.1"
148+
"com.google.protobuf:protobuf-java:3.19.2"
144149
]
145150

146151
List caffeine = [
@@ -160,11 +165,15 @@ configurations {
160165
all*.exclude group: "io.netty", module: "netty-tcnative"
161166
}
162167

168+
configurations.all {
169+
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
170+
}
171+
163172
dependencies {
164173
localDeps 'org.projectlombok:lombok:1.18.10'
165174
if (!gradle.startParameter.isOffline()) {
166-
compile logger, lombok, apache_commons, json, mysql_driver, redisson, zxing, rpc, pdfbox, protobuf, caffeine, oval
167-
compile("com.webank:weid-contract-java:1.3.0-rc.2-SNAPSHOT")
175+
compile logger, lombok, apache_commons, json, mysql_driver, redisson, zxing, rpc, pdfbox, protobuf, caffeine, oval, gson
176+
compile("com.webank:weid-contract-java:1.3.0-rc.4-SNAPSHOT")
168177

169178
compile fileTree(dir: 'lib', include: '*.jar')
170179
implementation 'com.google.guava:guava:31.1-jre'
@@ -173,7 +182,7 @@ dependencies {
173182
implementation group: 'org.apache.httpcomponents', name: 'httpcore', version: '4.4.15'
174183
annotationProcessor lombok
175184

176-
testCompile logger, lombok, apache_commons, json, junit, jmockit, rpc, pdfbox, protobuf, caffeine, oval, spring
185+
testCompile logger, lombok, apache_commons, json, junit, jmockit, rpc, pdfbox, protobuf, caffeine, oval, spring, gson
177186
testAnnotationProcessor lombok
178187
}
179188
if (gradleVer.startsWith("4")) {

cptController.address

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/conf/fisco.properties.tpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
#######################################################################################################
44
# #
5-
# fisco bcos version config #
5+
# fisco bcos 2 or 3 version config #
66
# #
77
#######################################################################################################
88
# Version
@@ -53,8 +53,8 @@ group.id=1
5353
# fisco bcos node cert related config #
5454
# #
5555
#######################################################################################################
56-
# Fisco-Bcos sdk SSL encrypt type, false:ECDSA, true:SM2
57-
sdk.sm-crypto=false
56+
# Fisco-Bcos sdk SSL encrypt type, false:ECDSA, true:SaM2
57+
sdk.sm-crypto=${SDK_SM_CRYPTO}
5858
# fisco-bcos sdk cert path contains[ca.crt,sdk.crt,sdk.key]
5959
# if sdk.sm-crypto is true, contains [gm] directory, and gm dir contains [gmca.crt,gmsdk.crt,gmsdk.key,gmensdk.crt,gmensdk.key]
6060
sdk.cert-path=conf

evidenceController.address

Lines changed: 0 additions & 1 deletion
This file was deleted.

hash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0x8dbf78b289f33000e57e80fc15d415b40f2cfe5688d7a92f07393b97606aeed7
1+
0x74ca478cbab6dd09a36da3f3bf56e433174e983ec38d5bd0d3e13593f72ae261

public_key

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5686332858406600098574930615286920155179124750677701187633916230205742334882670952535475018419229666394535946783087534972161773024961235927824774898541110
1+
13079093397463814932731720163442777403208788175453836227824139092404945067394266611910031425181012754616377192193136435818972874637291518463471522281921222

specificIssuer.address

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/main/java/com/webank/weid/contract/deploy/v2/DeployEvidenceV2.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ private static String initCryptoKeyPair(String inputPrivateKey) {
5050
byte[] pubBytes = Numeric.hexStringToByteArray(cryptoKeyPair.getHexPublicKey());
5151
String privateKey = new BigInteger(1, priBytes).toString(10);
5252
String publicKey = new BigInteger(1, pubBytes).toString(10);
53-
writeAddressToFile(publicKey, "ecdsa_key.pub");
54-
writeAddressToFile(privateKey, "ecdsa_key");
53+
writeAddressToFile(publicKey, "public_key");
54+
writeAddressToFile(privateKey, "private_key");
5555
}
5656

5757
//if (credentials == null) {

0 commit comments

Comments
 (0)