<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def recover_chain_id(storage: SQLiteStorage) -> ChainID: """We can reasonably assume, that any database has only one value for `chain_id` at this point in time. """

    action_init_chain = json.loads(storage.get_state_changes(limit=1, offset=0)[0])

    assert action_init_chain['_type'] == 'raiden.transfer.state_change.ActionInitChain'
    return action_init_chain['chain_id']