Events decoding returns wrong result at block 2064961
See original GitHub issueWhen decoding events at block 2064961,
await api.query.system.events.at("0x4b8928d922b8940fe2f8a80d3491ab5992dd610d498dafe28445fa1ba7405f5b")
returns
[
{
"phase": { "Initialization": null },
"event": {
"index": "0x080c",
"data": [
"0xd39a9ab3692021ef9859a35b49467685334e5ea98ecdc35e1c4b5497bd7675b4",
"D3dswrhhow77nssxXgxGxYDNso2aVZ44GnHudWpQWCBx5j8",
168576300000000
]
},
"topics": []
},
{
"phase": { "Initialization": null },
"event": { "index": "0x0002", "data": [] },
"topics": []
},
{
"phase": { "Initialization": null },
"event": { "index": "0x0807", "data": [48, true] },
"topics": []
},
{
"phase": { "ApplyExtrinsic": 0 },
"event": {
"index": "0x0000",
"data": [
{ "weight": 1103806605072, "class": "Operational", "paysFee": false }
]
},
"topics": []
},
{
"phase": { "ApplyExtrinsic": 655360000 }, // outbound extrinsic index
"event": {
"index": "0x0000",
"data": [{ "weight": 8589934848, "class": "Normal", "paysFee": false }]
},
"topics": [
"0x420f000001000000000000000000000000000000000000000000000000000000",
"0x0000000000000000000000000000000000000000000000000000000000000000",
"0x0000000000000000000000000000000000000000000000000000000000000000",
"0x0000000000000000000000000000000000000000000000000000000000000000",
"0x0000000000000000000000000000000000000000000000000000000000000000",
"0x0000000000000000000000000000000000000000000000000000000000000000",
"0x0000000000000000000000000000000000000000000000000000000000000000",
"0x0000000000000000000000000000000000000000000000000000000000000000",
"0x0000000000000000000000000000000000000000000000000000000000000000",
"0x0000000000000000000000000000000000000000000000000000000000000000",
"0x0000000000000000000000000000000000000000000000000000000000000000",
"0x0000000000000000000000000000000000000000000000000000000000000000",
"0x0000000000000000000000000000000000000000000000000000000000000000",
"0x0000000000000000000000000000000000000000000000000000000000000000",
"0x0000000000000000000000000000000000000000000000000000000000000000",
"0x0000000000000000000000000000000000000000000000000000000000000000"
]
},
{
"phase": { "ApplyExtrinsic": 0 },
"event": { "index": "0x0000", "data": null },
"topics": []
}
]
The result seems wrong: an outbound extrinsic index exists. Any ideas?
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Ahh, didn’t see it is a current block 😃 For current, will take a look. There was an issue with the types for
CompactAssignment
, this one is caused by exactly the same issue as the previous one you reported -https://github.com/polkadot-js/api/issues/2241
For that block it is fixed, but here it would seem like we still have an issue. Will need to pull the data and see. Can confirm it is problematic on this one as well.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query.