Release v3.7.0 #911
Unanswered
kyonRay
asked this question in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
(2024-03-25)
请阅读Java SDK v3.x+文档:
新增
extension
,新字段对应的交易版本号升级到v2
。详情见: <feat>(transaction,contract): add transaction manager extension field, adapt v2 transaction, add contract wrapper. #899 。TransactionManager
新增AbiEncodedRequest
作为参数传入的发交易接口,用户可以灵活构造交易数据结构发起交易请求,包括用户可以自定义传入nonce
,blockLimit
,extension
字段。 详情见:<feat>(transaction,contract): add transaction manager nonce, blockLimit and extension fields. #889 。FunctionWrapper
类,用户通过合约生成Java方法时可以使用该类,支持用户自定义交易数据结构,包括用户可以自定义传入nonce
,blockLimit
,extension
,value
字段。详情见:<feat>(transaction,contract): add transaction manager extension field, adapt v2 transaction, add contract wrapper. #899 ,<fix>(contract): rename ContractWrapper to FunctionWrapper to avoid duplicate name. #901 。org.fisco.bcos.sdk.v3.crypto.signature.Signature
类中恢复签名的公钥以及公钥地址的接口,详情见:add recover addr from sig api #903 。更新
org.fisco-bcos:bcos-sdk-jni
依赖版本到3.7.0
,相关改动可见:https://github.com/FISCO-BCOS/bcos-c-sdk/releases/tag/v3.7.0修复
兼容性说明
org.fisco.bcos.sdk:bcos-java-sdk:2.9.3
版本,代码分支为master-2.0
。v1
,以及配套的TransactionManager
,AssembleTransactionService
,TransferTransactionService
等,都只能在FISCO BCOS 3.6.0及以上支持使用。v2
,以及交易的extension
字段,都只能在FISCO BCOS 3.7.0及以上支持使用。遗留问题说明
在工作量与收益之间做平衡之后,目前还遗留以下几种场景的编解码仍然可能会有问题,欢迎社区用户贡献解决方案或实现代码 :-)
contract2java
编译成Java文件后,方法接口可能会出现调用错误。bytes[2][]
这样的动态数组套静态数组,且基础类型仍然是动态类型的类型时,使用contract2java
编译成Java文件后,方法接口调用时编解码可能会出现问题。What's Changed
New Contributors
Full Changelog: v3.6.0...v3.7.0
This discussion was created from the release Release v3.7.0.
Beta Was this translation helpful? Give feedback.
All reactions