-
Notifications
You must be signed in to change notification settings - Fork 658
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #583 from hyperledger/rc-55
Rc 1.3.55
- Loading branch information
Showing
3 changed files
with
24 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
indy_node/test/upgrade/test_node_schedules_upgrade_after_pool_ledger_update.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters