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

通过py SDK使用wasm合约事件的一个问题 #58

Open
xiyu1984 opened this issue Aug 17, 2021 · 3 comments
Open

通过py SDK使用wasm合约事件的一个问题 #58

xiyu1984 opened this issue Aug 17, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@xiyu1984
Copy link

当事件返回的data为用户自定义类型时,通过python SDK解析的事件为空。

合约代码:
https://github.com/xiyu1984/BreakingNewsContract/tree/main/BreakingNewsContract

py的调用代码以及合约ABI见附件
py code and abi.zip

@xiyu1984
Copy link
Author

BreakingNews(wasm).zip

编译好的.wasm合约二进制

@liyuanchaoCh
Copy link

liyuanchaoCh commented Aug 17, 2021

已修复,并自测
1.bug原因,旧版代码中wasm合约event事件没有支持自定义类型。
2.暂时还未合并到主仓库,等下一个版本再合并到主仓库,修改后暂时保留在分支https://github.com/lyc-huc/client-sdk-python/tree/develop
image

@biganxin
Copy link
Contributor

已修复,并自测
1.bug原因,旧版代码中wasm合约event事件没有支持自定义类型。
2.暂时还未合并到主仓库,等下一个版本再合并到主仓库,修改后暂时保留在分支https://github.com/lyc-huc/client-sdk-python/tree/develop
image

有合并到主仓库了么

@biganxin biganxin added the bug Something isn't working label Sep 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants