Upgrade registry-sdk package version #70
@ -1,5 +1,11 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
set -u
|
||||||
|
|
||||||
|
# Wait for the laconid endpoint to come up
|
||||||
|
docker compose exec laconicd sh -c "curl --retry 10 --retry-delay 3 --retry-connrefused http://127.0.0.1:9473/api"
|
||||||
|
|
||||||
# Get the key from laconicd
|
# Get the key from laconicd
|
||||||
laconicd_key=$(yes | docker compose exec laconicd laconicd keys export alice --keyring-backend test --unarmored-hex --unsafe)
|
laconicd_key=$(yes | docker compose exec laconicd laconicd keys export alice --keyring-backend test --unarmored-hex --unsafe)
|
||||||
|
|
||||||
@ -27,8 +33,5 @@ EOL
|
|||||||
)
|
)
|
||||||
echo "$config" > "$config_file"
|
echo "$config" > "$config_file"
|
||||||
|
|
||||||
# Wait for the laconid endpoint to come up
|
|
||||||
docker compose exec laconicd sh -c "curl --retry 10 --retry-delay 3 --retry-connrefused http://127.0.0.1:9473/api"
|
|
||||||
|
|
||||||
# Run tests
|
# Run tests
|
||||||
TEST_ACCOUNT=$laconicd_account_address yarn test
|
TEST_ACCOUNT=$laconicd_account_address yarn test
|
||||||
|
Loading…
Reference in New Issue
Block a user