FutureException: correct constness and impl for state()

Change-Id: Ia21d1d5827d7ffe866a7450efcb935aa68b7eb3c