mirror of
https://github.com/logos-blockchain/logos-blockchain-e2e-tests.git
synced 2026-01-07 15:43:05 +00:00
fix: comment with better explanation
This commit is contained in:
parent
51b8527655
commit
78615798c0
@ -72,10 +72,9 @@ class TestDataConfidentiality(StepsDataAvailability):
|
|||||||
|
|
||||||
self.node2.stop()
|
self.node2.stop()
|
||||||
|
|
||||||
# Change the private key of the nomos_node_0 -> change its PeerId
|
# Change the private key -> PeerId of the nomos_node_0. This would create a stranger to existing membership list.
|
||||||
modify_key_value("./cluster_config/config.yaml", "network.backend.node_key")
|
for yaml_key_path in ["network.backend.node_key", "blend.backend.node_key", "da_network.backend.node_key"]:
|
||||||
modify_key_value("./cluster_config/config.yaml", "blend.backend.node_key")
|
modify_key_value("./cluster_config/config.yaml", yaml_key_path)
|
||||||
modify_key_value("./cluster_config/config.yaml", "da_network.backend.node_key")
|
|
||||||
|
|
||||||
# Start new node with the same hostname and configuration as first node
|
# Start new node with the same hostname and configuration as first node
|
||||||
self.nodeX = NomosNode(NOMOS_CUSTOM, "nomos_node_0")
|
self.nodeX = NomosNode(NOMOS_CUSTOM, "nomos_node_0")
|
||||||
@ -87,7 +86,7 @@ class TestDataConfidentiality(StepsDataAvailability):
|
|||||||
logger.error(f"REST service did not become ready in time: {ex}")
|
logger.error(f"REST service did not become ready in time: {ex}")
|
||||||
raise
|
raise
|
||||||
|
|
||||||
# Confirm new node haven't received any dispersed data
|
# Confirm new node haven't received any dispersed data as it is not on membership list.
|
||||||
self.disperse_data(DATA_TO_DISPERSE[2], to_app_id(2), to_index(0))
|
self.disperse_data(DATA_TO_DISPERSE[2], to_app_id(2), to_index(0))
|
||||||
delay(CONSENSUS_SLOT_TIME)
|
delay(CONSENSUS_SLOT_TIME)
|
||||||
try:
|
try:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user