Update commands to get account address and key
All checks were successful
Lint / lint (18.x) (pull_request) Successful in 1m16s
Tests / cli_tests (18.x) (pull_request) Successful in 9m15s

This commit is contained in:
Prathamesh Musale 2024-03-18 19:16:09 +05:30
parent bb96c5bd16
commit c1d3e77279

View File

@ -1,10 +1,10 @@
#!/usr/bin/env bash
# Get the key from laconic2d
laconic2d_key=$(yes | docker compose exec laconic2d laconic2d keys export mykey --unarmored-hex --unsafe)
laconic2d_key=$(yes | docker compose exec laconic2d laconic2d keys export alice --keyring-backend test --unarmored-hex --unsafe)
# Get the fixturenet account address
laconic2d_account_address=$(docker compose exec laconic2d laconic2d keys list | awk '/- address:/ {print $3}')
laconic2d_account_address=$(docker compose exec laconic2d laconic2d keys list --keyring-backend test | awk '/- address:/ {print $3}')
# Set parameters for the test suite
cosmos_chain_id=laconic_9000-1