From a2ddd3755abae5672a41e600aa56ac403b215692 Mon Sep 17 00:00:00 2001 From: imuge Date: Tue, 28 Sep 2021 20:12:07 +0800 Subject: [PATCH] account permission & record derived operations in tx result --- core | 2 +- explorer | 2 +- framework | 2 +- .../src/test/java/com/jdchain/samples/sdk/ContractSample.java | 4 ++-- test | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/core b/core index abacdd07..1599e2cf 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit abacdd075c1885df1d44d81f7698449da118d225 +Subproject commit 1599e2cffb510d184fa71d77d976dc01756e1e4d diff --git a/explorer b/explorer index ecbc5194..4be8180c 160000 --- a/explorer +++ b/explorer @@ -1 +1 @@ -Subproject commit ecbc519401ad29863a50c4d6cab1ff8604f4cab4 +Subproject commit 4be8180c6c70172224ea1512dd98d4d512497735 diff --git a/framework b/framework index 2cf36760..e0621c70 160000 --- a/framework +++ b/framework @@ -1 +1 @@ -Subproject commit 2cf367601c10676d9cb7bc7088ff579562760788 +Subproject commit e0621c704af03ddd412fa9d5b6669ce5bd0ac1d1 diff --git a/samples/sdk-samples/src/test/java/com/jdchain/samples/sdk/ContractSample.java b/samples/sdk-samples/src/test/java/com/jdchain/samples/sdk/ContractSample.java index 2531afc1..696f7bf5 100644 --- a/samples/sdk-samples/src/test/java/com/jdchain/samples/sdk/ContractSample.java +++ b/samples/sdk-samples/src/test/java/com/jdchain/samples/sdk/ContractSample.java @@ -104,11 +104,11 @@ public class ContractSample extends SampleBase { // 新建交易 TransactionTemplate txTemp = blockchainService.newTransaction(ledger); - ContractEventSendOperationBuilder builder = txTemp.contract(); + ContractEventSendOperationBuilder builder = txTemp.contract("LdeNr7H1CUbqe3kWjwPwiqHcmd86zEQz2VRye"); // 运行前,填写正确的合约地址,数据账户地址等参数 // 一次交易中可调用多个(多次调用)合约方法 // 调用合约的 registerUser 方法,传入合约地址,合约方法名,合约方法参数列表 - builder.send("LdeNr7H1CUbqe3kWjwPwiqHcmd86zEQz2VRye", "registerUser", + builder.invoke("registerUser", new BytesDataList(new TypedValue[]{ TypedValue.fromText(UUID.randomUUID().toString()) }) diff --git a/test b/test index d51c0368..f58e1282 160000 --- a/test +++ b/test @@ -1 +1 @@ -Subproject commit d51c036823918daef9199810817853b84836ac60 +Subproject commit f58e12821c7c50709cc55cf50149597f6d3219b7