Skip to content

Commit

Permalink
Merge pull request #583 from hyperledger/rc-55
Browse files Browse the repository at this point in the history
Rc 1.3.55
  • Loading branch information
ashcherbakov authored Feb 26, 2018
2 parents 92e104d + a2590e5 commit 768f548
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
4 changes: 2 additions & 2 deletions indy_node/server/upgrader.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,8 @@ def isScheduleValid(self, schedule, node_srvs, force) -> (bool, str):
Validates schedule of planned node upgrades
:param schedule: dictionary of node ids and upgrade times
:param nodeSrvs: dictionary of node ids and services
:return: whether schedule valid
:param node_srvs: dictionary of node ids and services
:return: a 2-tuple of whether schedule valid or not and the reason
"""

# flag "force=True" ignore basic checks! only datetime format is
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import pytest

from plenum.test.bls.helper import change_bls_key, check_bls_key
from plenum.test.conftest import pool_txn_stewards_data, stewards_and_wallets


@pytest.fixture(scope="module")
def update_bls_keys(looper, tconf, nodeSet, stewards_and_wallets):
node = nodeSet[0]
steward_client, steward_wallet = stewards_and_wallets[0]
new_blspk = change_bls_key(looper, nodeSet, node,
steward_client, steward_wallet)

check_bls_key(new_blspk, node, nodeSet)


def test_node_schedules_upgrade_after_bls_keys_update(update_bls_keys,
upgradeScheduled):
# Upgrade should work even after an update to the pool ledger with a
# transaction that does not contain `SERVICES` field
pass
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
data_files=[(
(BASE_DIR, ['data/nssm_original.exe'])
)],
install_requires=['indy-plenum==1.2.33',
install_requires=['indy-plenum==1.2.34',
'indy-anoncreds==1.0.11',
'python-dateutil',
'timeout-decorator'],
Expand Down

0 comments on commit 768f548

Please sign in to comment.