Skip to content
This repository has been archived by the owner on Jul 26, 2024. It is now read-only.

Commit

Permalink
chore: deploy contracts earlier
Browse files Browse the repository at this point in the history
saves the 10s sleep in the check
  • Loading branch information
dni committed Mar 27, 2024
1 parent 0502f2e commit 4a8a548
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion docker-scripts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ regtest-start(){
docker compose up -d --remove-orphans
sudo chown -R $USER ./data
regtest-init
deploy-contracts
}

regtest-start-log(){
Expand Down Expand Up @@ -129,6 +128,7 @@ regtest-init(){
bitcoin-init
elements-init
lightning-sync
deploy-contracts
lightning-init
boltz-client-init
}
Expand Down
2 changes: 0 additions & 2 deletions regtest
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ for i in 1 2; do
run "cln-$i channel[0].our_amount_msat" $((balance_size * 1000)) $(lightning-cli-sim $i listfunds | jq -r ".channels[0].our_amount_msat")
done

# boltz failing longer with rsk
sleep 10
run "boltz service status" "200" $(curl -s -o /dev/null --head -w "%{http_code}" "http://localhost:9001/version")

# return non-zero exit code if a test fails
Expand Down

0 comments on commit 4a8a548

Please sign in to comment.