Skip to content

Commit f84f3ae

Browse files
[ANCHOR-1016] Move testnet reset scripts into Anchor Platform repo (#1956)
### Description update workflow ### Context testnet reset ### Testing N/A ### Documentation N/A ### Known limitations N/A
2 parents fee2f60 + a6689c3 commit f84f3ae

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/on_testnet_reset.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
targets: wasm32v1-none
3636

3737
- name: Install Stellar CLI
38-
run: cargo install --locked stellar-cli --features opt
38+
run: cargo install --locked stellar-cli
3939

4040
- name: Install stellar-sdk Python package
4141
run: python3 -m pip install stellar-sdk

scripts/testnet_reset.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ pk_bytes() {
6060
fund_account() {
6161
local public_key=$1
6262
log_info "Funding: $public_key"
63-
if ! curl -fsS "https://friendbot.stellar.org/?addr=$public_key" >/dev/null 2>&1; then
63+
if ! curl -s "https://friendbot.stellar.org/?addr=$public_key" >/dev/null 2>&1; then
6464
log_warning "Friendbot funding failed for $public_key (may already be funded)"
6565
fi
6666
}

0 commit comments

Comments
 (0)