Skip to content

Commit

Permalink
chore: fix cardano cli command in test utilities
Browse files Browse the repository at this point in the history
  • Loading branch information
ladamesny committed Dec 19, 2024
1 parent 5620c5b commit 6141e5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions E2E-tests/src/cardano_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ def get_token_list_from_address(self, address):
def get_stake_pool_id(self, cold_vkey_file, cold_vkey=None):
logger.info("Getting Stake Pool Id")
if cold_vkey:
cmd = f'{self.cli} stake-pool id --stake-pool-verification-key {cold_vkey} --output-format "hex"'
cmd = f'{self.cli} latest stake-pool id --stake-pool-verification-key {cold_vkey} --output-format "hex"'
else:
cmd = f'{self.cli} stake-pool id --cold-verification-key-file {cold_vkey_file} --output-format "hex"'
cmd = f'{self.cli} latest stake-pool id --cold-verification-key-file {cold_vkey_file} --output-format "hex"'
result = self.run_command.run(cmd)
if result.stderr:
logger.error(result.stderr)
Expand Down

0 comments on commit 6141e5d

Please sign in to comment.