Closed olliecorbisiero closed 2 years ago
Hi @olliecorbisiero, I think you forgot to pass the retrieved block_hash
to the get_events()
function:
block_hash = substrate.get_block_hash(11359835)
result = substrate.get_events(block_hash=block_hash)
Please let me know if there are still any unexpected results
Yes a colleague informed me of this - apologies for taking up your time with this!
@arjanz @emielvanderhoek
Just noticed that each time I run substrate.get_events() convenience method on block 11359835 I get a different number of events in the block. The number is also different to the number of events returned by System.Events storage function for block 11359835.
Attaching image and pasting code.
Subscan for block 11359835