Get a list of events associated with all the blocks.

        Args:
            blocks (list of BlockWrapper): The blocks to search for events that
                match each subscription.
            subscriptions (list of EventSubscriptions): EventFilter and
                event type to filter events.

        Returns (list of Events): The Events associated which each block id.

        Raises:
            KeyError A receipt is missing from the receipt store.

def get_events_for_blocks(self, blocks, subscriptions):
        """Get a list of events associated with all the blocks.

        Args:
            blocks (list of BlockWrapper): The blocks to search for events that
                match each subscription.
            subscriptions (list of EventSubscriptions): EventFilter and
                event type to filter events.

        Returns (list of Events): The Events associated which each block id.

        Raises:
            KeyError A receipt is missing from the receipt store.
        """

        events = []
        for blkw in blocks:
            events.extend(self.get_events_for_block(blkw, subscriptions))
        return events