e2e-tests/solana: get-token-address => get-token-info

This commit is contained in:
Ryan Heywood 2024-12-17 15:32:28 -05:00
parent 0bfc117a1b
commit d7e61b4ae1
Signed by: ryan
GPG Key ID: 8E401478A3FBEF72
1 changed files with 2 additions and 2 deletions

View File

@ -14,8 +14,8 @@ to_address="$(jq -r .to_address /data/input.json)"
token_name="$(jq -r .token_name /data/input.json)" token_name="$(jq -r .token_name /data/input.json)"
token_amount="$(jq -r .token_amount /data/input.json)" token_amount="$(jq -r .token_amount /data/input.json)"
blockhash="$(jq -r .blockhash /data/input.json)" blockhash="$(jq -r .blockhash /data/input.json)"
token_address="$(icepick sol get-token-address "$token_name" | jq -r .blob.token_address)" token_address="$(icepick sol get-token-info "$token_name" | jq -r .blob.token_address)"
token_decimals="$(icepick sol get-token-address "$token_name" | jq -r .blob.token_decimals)" token_decimals="$(icepick sol get-token-info "$token_name" | jq -r .blob.token_decimals)"
jq . /data/input.json jq . /data/input.json
echo "Do these values look correct? If not, press ctrl-c. Otherwise, press Enter." echo "Do these values look correct? If not, press ctrl-c. Otherwise, press Enter."