You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Updated
Deprecated the getChainVersion() method of the Client class, and recommend using getChainCompatibilityVersion() instead.
Fixed
Fixed the issue where when the governance committee is enabled, there might be a problem with the observer nodes not reaching the block height difference threshold when initiating the addSealerProposal proposal.
Fixed the issue where the status data in the receipt does not match the chain node.
Compatibility Notes
Not compatible with FISCO BCOS 2.0+ versions.
Compatible with historical versions of java-sdk v3.0+.
Supports FISCO BCOS 3.4.0 version and all versions since the official release of 3.0.0.
The account permission management interface, list pagination interface, and link interface added by BFS are only supported in FISCO BCOS 3.1.0.
The newly added CRUD interfaces, such as conditional range traversal query, modification, deletion, etc., are only supported in FISCO BCOS 3.2.0.
The newly added ShardService is only supported in FISCO BCOS 3.3.0.
Known Issues
After balancing the workload and benefits, there are still potential issues with the following scenarios in the encoding and decoding process. Community users are welcome to contribute solutions or implementation code :-)
When using arrays of three dimensions or more as input or output parameters, there may be invocation errors in the method interface after compiling into Java files using contract2java.
When using a dynamic array nested in a static array, such as bytes[2][], and the base type is still a dynamic type, there may be issues with encoding and decoding in the method interface when compiling into Java files using contract2java.
When using the liquid contract, if the aforementioned types are used as input or output parameters, there may be issues with encoding and decoding in the method interface when calling the contract.
When using the liquid contract, if the u256 and i256 types are used as input or output parameters and the maximum value is input, the bytes generated by BigInteger may exceed the size limit.
When using the liquid contract, because the event encoding of the liquid contract is different from that of Solidity contract, there may be issues with Java SDK parsing when using the events of the liquid contract.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
v3.4.0
(2023-06-09)
请阅读Java SDK v3.x+文档:
新增
Client
类新增isEnableCommittee()
方法,与isAuthCheck()
进行区分,用于判断当前链是否启用了治理委员会。Client
类新增getChainCompatibilityVersion()
,用于获取当前链的数据兼容版本号。更新
Client
类的getChainVersion()
设置为@deprecated,建议使用getChainCompatibilityVersion()
。getCurrentVersion()
接口返回同步改成EnumNodeVersion.Version
。修复
addSealerProposal
提案时可能出现的观察节点未达到块高差值门限的问题。兼容性说明
遗留问题说明
在工作量与收益之间做平衡之后,目前还遗留以下几种场景的编解码仍然可能会有问题,欢迎社区用户贡献解决方案或实现代码 :-)
contract2java
编译成Java文件后,方法接口可能会出现调用错误。bytes[2][]
这样的动态数组套静态数组,且基础类型仍然是动态类型的类型时,使用contract2java
编译成Java文件后,方法接口调用时编解码可能会出现问题。v3.4.0
(2023-06-09)
Please refer to the Java SDK v3.x+ documentation:
Added
isEnableCommittee()
method to theClient
class, which is used to determine whether the current chain has enabled the governance committee, differentiating it fromisAuthCheck()
.getChainCompatibilityVersion()
method to theClient
class, which is used to obtain the data compatibility version of the current chain.Updated
getChainVersion()
method of theClient
class, and recommend usinggetChainCompatibilityVersion()
instead.Fixed
addSealerProposal
proposal.Compatibility Notes
Known Issues
After balancing the workload and benefits, there are still potential issues with the following scenarios in the encoding and decoding process. Community users are welcome to contribute solutions or implementation code :-)
contract2java
.bytes[2][]
, and the base type is still a dynamic type, there may be issues with encoding and decoding in the method interface when compiling into Java files usingcontract2java
.What's Changed
Full Changelog: v3.3.0...v3.4.0
This discussion was created from the release Release v3.4.0.
Beta Was this translation helpful? Give feedback.
All reactions