diff --git a/Changelog.md b/Changelog.md index a5302640e..0df6b1a46 100644 --- a/Changelog.md +++ b/Changelog.md @@ -7,7 +7,7 @@ ### 新增 -- 新增call with sign接口,支持在发起static call请求时使用私钥对请求体(to+data)进行签名,在节点侧将会对应会付出签名对应的用户地址,合约中可以取到call请求时的tx.origin和msg.sender,达到用户身份认证的目的。 +- 新增call with sign接口,支持在发起static call请求时使用私钥对请求体(to+data)进行签名,在节点侧将会对应恢复出签名对应的用户地址,合约中可以取到call请求时的tx.origin和msg.sender,达到用户身份认证的目的。 - `Client`类新增`isEnableCommittee()`方法,与`isAuthCheck()`进行区分,用于判断当前链是否启用了治理委员会。 - `Client`类新增 `getChainCompatibilityVersion()`,用于获取当前链的数据兼容版本号。 @@ -48,7 +48,7 @@ Please refer to the Java SDK v3.x+ documentation: ### Added -- Added the "call with sign" interface, which supports signing the request body (to+data) with a private key when initiating a static call request. The corresponding user address will be associated with the signature on the node side, and the tx.origin and msg.sender at the time of the call request can be obtained in the contract, achieving user identity authentication. +- Added the "call with sign" interface, which supports signing the request body (to+data) with a private key when initiating a static call request. The corresponding user address will be recovered with the signature on the node side, and the tx.origin and msg.sender at the time of the call request can be obtained in the contract, achieving user identity authentication. - Added the `isEnableCommittee()` method to the `Client` class, which is used to determine whether the current chain has enabled the governance committee, differentiating it from `isAuthCheck()`. - Added the `getChainCompatibilityVersion()` method to the `Client` class, which is used to obtain the data compatibility version of the current chain. diff --git a/build.gradle b/build.gradle index 78f921580..75b3da811 100644 --- a/build.gradle +++ b/build.gradle @@ -25,7 +25,7 @@ ext { junitVersion = '4.13.2' commonsCollections4Version = "4.4" guavaVersion = '31.1-jre' - bcosSdkJniVersion = "3.4.0-SNAPSHOT" + bcosSdkJniVersion = "3.4.0" slf4jApiVerison = '1.7.36' mockitoVersion = '4.8.0' gsonVersion = '2.10.1' @@ -35,7 +35,7 @@ ext { // integrationTest.mustRunAfter test allprojects { group = 'org.fisco-bcos.java-sdk' - version = '3.4.0-SNAPSHOT' + version = '3.4.0' apply plugin: 'maven-publish' apply plugin: 'idea'