Geth 1.13 (Cancun) update #8
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
set -ex
|
set -ex -o pipefail
|
||||||
|
|
||||||
stack_dir=$(readlink -f "$1")
|
stack_dir=$(readlink -f "$1")
|
||||||
[[ -d "$stack_dir" ]]
|
[[ -d "$stack_dir" ]]
|
||||||
@ -50,11 +50,3 @@ if [[ -n "$GITHUB_ENV" ]]; then
|
|||||||
# Read a private key so we can send from a funded account
|
# Read a private key so we can send from a funded account
|
||||||
echo DEPLOYER_PRIVATE_KEY="$(curl -s $bootnode_endpoint/accounts.csv | head -1 | cut -d',' -f3)" >> "$GITHUB_ENV"
|
echo DEPLOYER_PRIVATE_KEY="$(curl -s $bootnode_endpoint/accounts.csv | head -1 | cut -d',' -f3)" >> "$GITHUB_ENV"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export PGPASSWORD=password
|
|
||||||
query_blocks_exist='SELECT exists(SELECT block_number FROM ipld.blocks LIMIT 1);'
|
|
||||||
|
|
||||||
echo "Waiting until we have some data written..."
|
|
||||||
until [[ "$(psql -qtA cerc_testing -h localhost -U vdbm -p 8077 -c "$query_blocks_exist")" -eq 't' ]]; do
|
|
||||||
sleep 2
|
|
||||||
done
|
|
||||||
|
Loading…
Reference in New Issue
Block a user