Browse Source

account permission & record derived operations in tx result

tags/1.6.0
imuge 3 years ago
parent
commit
a2ddd3755a
5 changed files with 6 additions and 6 deletions
  1. +1
    -1
      core
  2. +1
    -1
      explorer
  3. +1
    -1
      framework
  4. +2
    -2
      samples/sdk-samples/src/test/java/com/jdchain/samples/sdk/ContractSample.java
  5. +1
    -1
      test

+ 1
- 1
core

@@ -1 +1 @@
Subproject commit abacdd075c1885df1d44d81f7698449da118d225
Subproject commit 1599e2cffb510d184fa71d77d976dc01756e1e4d

+ 1
- 1
explorer

@@ -1 +1 @@
Subproject commit ecbc519401ad29863a50c4d6cab1ff8604f4cab4
Subproject commit 4be8180c6c70172224ea1512dd98d4d512497735

+ 1
- 1
framework

@@ -1 +1 @@
Subproject commit 2cf367601c10676d9cb7bc7088ff579562760788
Subproject commit e0621c704af03ddd412fa9d5b6669ce5bd0ac1d1

+ 2
- 2
samples/sdk-samples/src/test/java/com/jdchain/samples/sdk/ContractSample.java View File

@@ -104,11 +104,11 @@ public class ContractSample extends SampleBase {
// 新建交易 // 新建交易
TransactionTemplate txTemp = blockchainService.newTransaction(ledger); TransactionTemplate txTemp = blockchainService.newTransaction(ledger);


ContractEventSendOperationBuilder builder = txTemp.contract();
ContractEventSendOperationBuilder builder = txTemp.contract("LdeNr7H1CUbqe3kWjwPwiqHcmd86zEQz2VRye");
// 运行前,填写正确的合约地址,数据账户地址等参数 // 运行前,填写正确的合约地址,数据账户地址等参数
// 一次交易中可调用多个(多次调用)合约方法 // 一次交易中可调用多个(多次调用)合约方法
// 调用合约的 registerUser 方法,传入合约地址,合约方法名,合约方法参数列表 // 调用合约的 registerUser 方法,传入合约地址,合约方法名,合约方法参数列表
builder.send("LdeNr7H1CUbqe3kWjwPwiqHcmd86zEQz2VRye", "registerUser",
builder.invoke("registerUser",
new BytesDataList(new TypedValue[]{ new BytesDataList(new TypedValue[]{
TypedValue.fromText(UUID.randomUUID().toString()) TypedValue.fromText(UUID.randomUUID().toString())
}) })


+ 1
- 1
test

@@ -1 +1 @@
Subproject commit d51c036823918daef9199810817853b84836ac60
Subproject commit f58e12821c7c50709cc55cf50149597f6d3219b7

Loading…
Cancel
Save