Skip to content

Commit

Permalink
temp: add sidechain-id param
Browse files Browse the repository at this point in the history
  • Loading branch information
ladamesny committed Dec 5, 2024
1 parent d04373d commit 533c331
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions E2E-tests/src/sidechain_main_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ def update_d_param(
):
update_d_param_cmd = (
f"{self.cli} update-d-parameter "
f"--sidechain-id {self.config.chain_id} "
f"--genesis-committee-hash-utxo {self.config.genesis_committee_hash_utxo} "
f"--governance-authority {self.config.governance_authority} "
f"--threshold-numerator {self.config.threshold_numerator} "
Expand All @@ -112,6 +113,7 @@ def update_d_param(
def register_candidate(self, signatures: RegistrationSignatures, payment_key, spo_public_key, registration_utxo):
register_cmd = (
f"{self.cli} register "
f"--sidechain-id {self.config.chain_id} "
f"--payment-signing-key-file {payment_key} "
f"--genesis-committee-hash-utxo {self.config.genesis_committee_hash_utxo} "
f"--governance-authority {self.config.governance_authority} "
Expand Down Expand Up @@ -142,6 +144,7 @@ def register_candidate(self, signatures: RegistrationSignatures, payment_key, sp
def deregister_candidate(self, payment_key, spo_public_key):
deregister_cmd = (
f"{self.cli} deregister "
f"--sidechain-id {self.config.chain_id} "
f"--payment-signing-key-file {payment_key} "
f"--genesis-committee-hash-utxo {self.config.genesis_committee_hash_utxo} "
f"--governance-authority {self.config.governance_authority} "
Expand Down Expand Up @@ -172,6 +175,7 @@ def _calculate_registration_epoch(self):
def update_permissioned_candidates(self, governance_key, add_candidates_list, remove_candidates_list):
update_candidates_cmd = (
f"{self.cli} update-permissioned-candidates "
f"--sidechain-id {self.config.chain_id} "
f"--payment-signing-key-file {governance_key} "
f"--genesis-committee-hash-utxo {self.config.genesis_committee_hash_utxo} "
f"--governance-authority {self.config.governance_authority} "
Expand Down

0 comments on commit 533c331

Please sign in to comment.