-
Notifications
You must be signed in to change notification settings - Fork 10
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
Unexpected empty event when fetching events on block 703071. #158
Comments
Could be related to |
Thanks for checking! |
@Holygits let's prioritise this between the transition UI launch and the transition processing event, as it's needed for the block explorer @AlexZhenWang is working on. |
Thank you 🙌 @wilfred-centrality ! |
@KarishmaBothara This is likely to be caused by the fact that we haven't added our cennznet custom events (here AssetInfoUpdated) to metadata. But it's not just that. We have events in CENNZx for AddLiquidity for example that are not covered in the metadata. So when adding this, it would be good if you add all the others as well. |
support this will be in the next release, closed via #186 |
Hi guys, I got an empty event when fetching events on block 703071.
After calling
await this.api.query.system.events.at(blockHash).toPromise()
,I got:
'[{"phase":{"ApplyExtrinsic":0},"event":{"index":"0x0000","data":[{"weight":10000,"class":"Operational","paysFee":true}]},"topics":[]}, {"phase":{"ApplyExtrinsic":1},"event":{"index":"0x0000","data":[{"weight":10000,"class":"Normal","paysFee":true}]},"topics":[]}, {"phase":{"ApplyExtrinsic":2},"event":{"index":"0x0303","data":[2,{"symbol":"0xd373896af0d70b40c8b80af075f2761043c1a63798a2c5cb95d68f1d66bd2f0000000040228a097ac4865aa84c3b4b0000020000000000102700000001","decimalPlaces":0}]},"topics":[]}, {"phase":{"ApplyExtrinsic":0},"event":{"index":"0x0000","data":null},"topics":[]}]'
The last even here is an empty event but seems like there shouldn't be an empty event in this block.
The text was updated successfully, but these errors were encountered: