From b92c7ae6133e32c08110b42bd30f2285e8ff3c0b Mon Sep 17 00:00:00 2001 From: Laith Bahodi Date: Mon, 25 Nov 2024 11:46:47 -0500 Subject: [PATCH] add explicit funding for stellar wallet eventually `generate` will not fund by default, so do it manually + depend on the faucet to do so --- .github/workflows/test-stellar.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/test-stellar.yaml b/.github/workflows/test-stellar.yaml index c9735bc2..b82dac1b 100644 --- a/.github/workflows/test-stellar.yaml +++ b/.github/workflows/test-stellar.yaml @@ -132,9 +132,11 @@ jobs: - name: Compile WASM contracts run: | stellar contract build --manifest-path=axelar-cgp-soroban/Cargo.toml + cd axelar-cgp-soroban ./optimize.sh cd .. + WASM_DIR=axelar-cgp-soroban/target/wasm32-unknown-unknown/release echo "WASM_DIR=${WASM_DIR}" >> $GITHUB_ENV @@ -149,6 +151,9 @@ jobs: echo "STELLAR_PRIVATE_KEY=${STELLAR_PRIVATE_KEY}" >> $GITHUB_ENV echo "STELLAR_ADDRESS=${STELLAR_ADDRESS}" >> $GITHUB_ENV + - name: Fund Stellar wallet + run: node stellar/faucet --recipient $STELLAR_ADDRESS + - name: Prepare .env run: | echo "PRIVATE_KEY = '$STELLAR_PRIVATE_KEY'" >> .env