Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于3.x版本的文档 #774

Open
2exd opened this issue Apr 29, 2023 · 3 comments
Open

关于3.x版本的文档 #774

2exd opened this issue Apr 29, 2023 · 3 comments
Labels
resolved The issue has been resolved

Comments

@2exd
Copy link

2exd commented Apr 29, 2023

3.x版本合约事件推送相关文档还是2.x版本的文档。
因为兼容性问题,可参考性不强,希望能够更新一下文档。

@kyonRay
Copy link
Member

kyonRay commented May 5, 2023

Hi, @2exd
感谢提出issue,3.x事件推送相关的文档https://fisco-bcos-doc.readthedocs.io/zh_CN/latest/docs/sdk/java_sdk/event_sub.html 应该是正确的,欢迎指出错误 :)

@2exd
Copy link
Author

2exd commented May 5, 2023

感谢回复,例如:
3.x的sdk中EventSubParams中fromBlock和toBlock字段从String改为了BigInteger类型,但是文档中示例代码中还是2.x版本文档中的params.setFromBlock("1");
然后EventSubParams提供的一些方法也有变动,比如setTopic,setAddresses改为了addTopic,addAddress,但文档中还是2.x版本里的,比如params.setTopics(topics);

@kyonRay
Copy link
Member

kyonRay commented May 8, 2023

Hi @2exd
感谢提出错误,现在文档已经过了一遍。现在文档已经更新到最新了。

@kyonRay kyonRay added the resolved The issue has been resolved label Jul 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
resolved The issue has been resolved
Projects
None yet
Development

No branches or pull requests

2 participants