Skip to content

Commit

Permalink
release 1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
imuge committed Oct 29, 2021
1 parent f7dc61f commit bbbf841
Show file tree
Hide file tree
Showing 20 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion core
Submodule core updated from 2014c9 to 3b533c
2 changes: 1 addition & 1 deletion deploy/deploy-gateway/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>deploy-root</artifactId>
<version>1.6.0-SNAPSHOT</version>
<version>1.6.0.RELEASE</version>
</parent>
<artifactId>deploy-gateway</artifactId>

Expand Down
2 changes: 1 addition & 1 deletion deploy/deploy-peer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>deploy-root</artifactId>
<version>1.6.0-SNAPSHOT</version>
<version>1.6.0.RELEASE</version>
</parent>
<artifactId>deploy-peer</artifactId>

Expand Down
6 changes: 3 additions & 3 deletions deploy/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>jdchain-parent</artifactId>
<version>1.1.6-SNAPSHOT</version>
<version>1.1.6.RELEASE</version>
<relativePath>../project/parent</relativePath>
</parent>
<artifactId>deploy-root</artifactId>
<version>1.6.0-SNAPSHOT</version>
<version>1.6.0.RELEASE</version>
<packaging>pom</packaging>

<properties>
<core.version>1.6.0-SNAPSHOT</core.version>
<core.version>1.6.0.RELEASE</core.version>
</properties>

<modules>
Expand Down
2 changes: 1 addition & 1 deletion docs/contract.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ JD Chain 以 Java 语言作为合约代码语言,合约引擎是基于 JVM 构
<packaging>contract</packaging>

<properties>
<jdchain.version>1.4.2.RELEASE</jdchain.version>
<jdchain.version>1.6.0.RELEASE</jdchain.version>
</properties>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion explorer
2 changes: 1 addition & 1 deletion framework
2 changes: 1 addition & 1 deletion libs/bft-smart
2 changes: 1 addition & 1 deletion libs/binary-proto
2 changes: 1 addition & 1 deletion libs/utils
Submodule utils updated from 3afed4 to 6b2fee
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.jd.blockchain</groupId>
<artifactId>jdchain-root</artifactId>
<version>1.6.0-SNAPSHOT</version>
<version>1.6.0.RELEASE</version>
<packaging>pom</packaging>
<description>jdchain root project</description>

Expand Down
2 changes: 1 addition & 1 deletion project
2 changes: 1 addition & 1 deletion samples/contract-samples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>jdchain-samples</artifactId>
<version>1.6.0-SNAPSHOT</version>
<version>1.6.0.RELEASE</version>
</parent>

<!-- 声明为合约代码工程,编译输出扩展名为".car"合约代码 -->
Expand Down
6 changes: 3 additions & 3 deletions samples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.jd.blockchain</groupId>
<artifactId>jdchain-samples</artifactId>
<version>1.6.0-SNAPSHOT</version>
<version>1.6.0.RELEASE</version>
<packaging>pom</packaging>

<properties>
<framework.version>1.6.0-SNAPSHOT</framework.version>
<core.version>1.6.0-SNAPSHOT</core.version>
<framework.version>1.6.0.RELEASE</framework.version>
<core.version>1.6.0.RELEASE</core.version>
</properties>

<modules>
Expand Down
2 changes: 1 addition & 1 deletion samples/sdk-samples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.jd.blockchain</groupId>
<artifactId>jdchain-samples</artifactId>
<version>1.6.0-SNAPSHOT</version>
<version>1.6.0.RELEASE</version>
</parent>
<artifactId>sdk-samples</artifactId>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ private static void initSampleData(HashDigest ledgerHash) throws IOException {
txTemp.eventAccounts().register(user.getIdentity());
txTemp.eventAccount(user.getAddress()).publish("sample-event", "sample-content", -1);
// 初始化一个合约
txTemp.contracts().deploy(user.getIdentity(), FileUtils.readBytes(new ClassPathResource("contract-samples-1.5.0.RELEASE.car").getFile()));
txTemp.contracts().deploy(user.getIdentity(), FileUtils.readBytes(new ClassPathResource("contract-samples-1.6.0.RELEASE.car").getFile()));

PreparedTransaction ptx = txTemp.prepare();
ptx.sign(admin);
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public void testDeploy() {
BlockchainKeypair contractAccount = BlockchainKeyGenerator.getInstance().generate();
System.out.println("合约地址:" + contractAccount.getAddress());
// 部署合约
txTemp.contracts().deploy(contractAccount.getIdentity(), FileUtils.readBytes("src/main/resources/contract-samples-1.5.0.RELEASE.car"));
txTemp.contracts().deploy(contractAccount.getIdentity(), FileUtils.readBytes("src/main/resources/contract-samples-1.6.0.RELEASE.car"));
// 准备交易
PreparedTransaction ptx = txTemp.prepare();
// 提交交易
Expand All @@ -63,7 +63,7 @@ public void testUpdate() {
BlockchainIdentity contractIdentity = new BlockchainIdentityData(KeyGenUtils.decodePubKey("7VeRCfSaoBW3uRuvTqVb26PYTNwvQ1iZ5HBY92YKpEVN7Qht"));
System.out.println("合约地址:" + contractIdentity.getAddress());
// 部署合约
txTemp.contracts().deploy(contractIdentity, FileUtils.readBytes("src/main/resources/contract-samples-1.5.0.RELEASE.car"));
txTemp.contracts().deploy(contractIdentity, FileUtils.readBytes("src/main/resources/contract-samples-1.6.0.RELEASE.car"));
// 准备交易
PreparedTransaction ptx = txTemp.prepare();
// 提交交易
Expand Down
2 changes: 1 addition & 1 deletion test
Submodule test updated from cb3994 to 87fae6

0 comments on commit bbbf841

Please sign in to comment.