Skip to content

Commit ae8edf0

Browse files
authored
Merge pull request #1 from vision-consensus/feature/vscan_support
add proto files
2 parents a381c53 + 1a4f717 commit ae8edf0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+20842
-3870
lines changed

client/build.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,16 @@ dependencies {
5959

6060
implementation "org.bouncycastle:bcprov-jdk15on:$bouncycastleVersion"
6161
// implementation 'org.apache.tuweni:tuweni-bytes:0.8.2'
62+
implementation group: 'commons-codec', name: 'commons-codec', version: '1.15'
63+
64+
// https://mvnrepository.com/artifact/com.madgag.spongycastle/core
65+
compile group: 'com.madgag.spongycastle', name: 'core', version: '1.58.0.0'
66+
compile "com.madgag.spongycastle:prov:1.58.0.0"
67+
compile 'com.alibaba:fastjson:1.2.60'
68+
6269
}
6370

71+
6472
protobuf {
6573
protoc {
6674
artifact = 'com.google.protobuf:protoc:3.12.0'

client/src/main/grpc/org/vision/visionjsdk/api/WalletGrpc.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5069,7 +5069,7 @@ public void getTriggerInputForShieldedVRC20Contract(org.vision.visionjsdk.api.Gr
50695069
new MethodHandlers<
50705070
org.vision.visionjsdk.api.GrpcAPI.AccountAddressMessage,
50715071
org.vision.visionjsdk.proto.Response.AccountNetMessage>(
5072-
this, METHODID_GET_ACCOUNT_NET)))
5072+
this, METHODID_GET_ACCOUNT_PHOTON)))
50735073
.addMethod(
50745074
getGetAccountResourceMethod(),
50755075
asyncUnaryCall(
@@ -8451,7 +8451,7 @@ public com.google.common.util.concurrent.ListenableFuture<org.vision.visionjsdk.
84518451
private static final int METHODID_GET_TRANSACTION_APPROVED_LIST = 54;
84528452
private static final int METHODID_GET_ACCOUNT = 55;
84538453
private static final int METHODID_GET_ACCOUNT_BY_ID = 56;
8454-
private static final int METHODID_GET_ACCOUNT_NET = 57;
8454+
private static final int METHODID_GET_ACCOUNT_PHOTON = 57;
84558455
private static final int METHODID_GET_ACCOUNT_RESOURCE = 58;
84568456
private static final int METHODID_GET_ASSET_ISSUE_BY_ACCOUNT = 59;
84578457
private static final int METHODID_GET_ASSET_ISSUE_BY_NAME = 60;
@@ -8760,7 +8760,7 @@ public void invoke(Req request, io.grpc.stub.StreamObserver<Resp> responseObserv
87608760
serviceImpl.getAccountById((org.vision.visionjsdk.api.GrpcAPI.AccountIdMessage) request,
87618761
(io.grpc.stub.StreamObserver<org.vision.visionjsdk.proto.Response.Account>) responseObserver);
87628762
break;
8763-
case METHODID_GET_ACCOUNT_NET:
8763+
case METHODID_GET_ACCOUNT_PHOTON:
87648764
serviceImpl.getAccountPhoton((org.vision.visionjsdk.api.GrpcAPI.AccountAddressMessage) request,
87658765
(io.grpc.stub.StreamObserver<org.vision.visionjsdk.proto.Response.AccountNetMessage>) responseObserver);
87668766
break;

0 commit comments

Comments
 (0)