Skip to content

Commit 768f548

Browse files
authored
Merge pull request #583 from hyperledger/rc-55
Rc 1.3.55
2 parents 92e104d + a2590e5 commit 768f548

File tree

3 files changed

+24
-3
lines changed

3 files changed

+24
-3
lines changed

Diff for: indy_node/server/upgrader.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -258,8 +258,8 @@ def isScheduleValid(self, schedule, node_srvs, force) -> (bool, str):
258258
Validates schedule of planned node upgrades
259259
260260
:param schedule: dictionary of node ids and upgrade times
261-
:param nodeSrvs: dictionary of node ids and services
262-
:return: whether schedule valid
261+
:param node_srvs: dictionary of node ids and services
262+
:return: a 2-tuple of whether schedule valid or not and the reason
263263
"""
264264

265265
# flag "force=True" ignore basic checks! only datetime format is
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
import pytest
2+
3+
from plenum.test.bls.helper import change_bls_key, check_bls_key
4+
from plenum.test.conftest import pool_txn_stewards_data, stewards_and_wallets
5+
6+
7+
@pytest.fixture(scope="module")
8+
def update_bls_keys(looper, tconf, nodeSet, stewards_and_wallets):
9+
node = nodeSet[0]
10+
steward_client, steward_wallet = stewards_and_wallets[0]
11+
new_blspk = change_bls_key(looper, nodeSet, node,
12+
steward_client, steward_wallet)
13+
14+
check_bls_key(new_blspk, node, nodeSet)
15+
16+
17+
def test_node_schedules_upgrade_after_bls_keys_update(update_bls_keys,
18+
upgradeScheduled):
19+
# Upgrade should work even after an update to the pool ledger with a
20+
# transaction that does not contain `SERVICES` field
21+
pass

Diff for: setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
data_files=[(
5757
(BASE_DIR, ['data/nssm_original.exe'])
5858
)],
59-
install_requires=['indy-plenum==1.2.33',
59+
install_requires=['indy-plenum==1.2.34',
6060
'indy-anoncreds==1.0.11',
6161
'python-dateutil',
6262
'timeout-decorator'],

0 commit comments

Comments
 (0)