Poll for new blockchain events up to `block_number`.

def poll_blockchain_events(self, block_number: typing.BlockNumber):
        """ Poll for new blockchain events up to `block_number`. """

        for event_listener in self.event_listeners:
            assert isinstance(event_listener.filter, StatelessFilter)

            for log_event in event_listener.filter.get_new_entries(block_number):
                yield decode_event_to_internal(event_listener.abi, log_event)