def __init__(self): """ >>> State().db is not None True >>> State().stake_validators_list is not None True """ self.db = db.DB() # generate db object here self.stake_validators_list = StakeValidatorsList()
def __init__(self): self._db = db.DB() # generate db object here # FIXME: Move to BufferedChain self.stake_validators_tracker = StakeValidatorsTracker()
def __init__(self): self.db = db.DB() # generate db object here