Skip to content

Commit 6141e5d

Browse files
committed
chore: fix cardano cli command in test utilities
1 parent 5620c5b commit 6141e5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

E2E-tests/src/cardano_cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ def get_token_list_from_address(self, address):
6060
def get_stake_pool_id(self, cold_vkey_file, cold_vkey=None):
6161
logger.info("Getting Stake Pool Id")
6262
if cold_vkey:
63-
cmd = f'{self.cli} stake-pool id --stake-pool-verification-key {cold_vkey} --output-format "hex"'
63+
cmd = f'{self.cli} latest stake-pool id --stake-pool-verification-key {cold_vkey} --output-format "hex"'
6464
else:
65-
cmd = f'{self.cli} stake-pool id --cold-verification-key-file {cold_vkey_file} --output-format "hex"'
65+
cmd = f'{self.cli} latest stake-pool id --cold-verification-key-file {cold_vkey_file} --output-format "hex"'
6666
result = self.run_command.run(cmd)
6767
if result.stderr:
6868
logger.error(result.stderr)

0 commit comments

Comments
 (0)