From 90937dabdc2f740d978fff6f80d5e40db1493d0b Mon Sep 17 00:00:00 2001 From: Urix <43704209+uri-99@users.noreply.github.com> Date: Mon, 6 May 2024 16:20:59 -0300 Subject: [PATCH] refactor: printed data on CI --- .github/workflows/integration-test.yml | 2 +- scripts/fund_operator_devnet.sh | 2 -- tests/integration_test.sh | 35 ++++++++++++-------------- 3 files changed, 17 insertions(+), 22 deletions(-) diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index 154a161f6..8ea20a6b1 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -27,7 +27,7 @@ jobs: - name: Install YQ uses: dcarbone/install-yq-action@v1.1.1 with: - version: 'v.4.43.1' + version: 'v4.43.1' - name: Install deps run: | diff --git a/scripts/fund_operator_devnet.sh b/scripts/fund_operator_devnet.sh index 4e65f7ecd..a933595cf 100755 --- a/scripts/fund_operator_devnet.sh +++ b/scripts/fund_operator_devnet.sh @@ -28,5 +28,3 @@ cast send --from $sender_address \ "$recipient_address" echo "Operator funded" - -cat config-files/config.yaml \ No newline at end of file diff --git a/tests/integration_test.sh b/tests/integration_test.sh index 4b245ec54..c788b3a3b 100755 --- a/tests/integration_test.sh +++ b/tests/integration_test.sh @@ -1,41 +1,38 @@ -echo starting anvil -make anvil-start & #&> /dev/null & +echo Starting anvil +make anvil-start &> /dev/null & export ANVIL_PID=$! sleep 3 -echo registering operator +echo Registering Operator make operator-full-registration #&> /dev/null -# make operator-get-eth -# make operator-register-with-eigen-layer -# ./scripts/mint_mock_token.sh -# make operator-deposit-into-mock-strategy -# make operator-register-with-aligned-layer - - -# echo starting aggregator -make aggregator-start & #&> /dev/null & +echo Starting Aggregator +make aggregator-start &> /dev/null & export AGGREGATOR_PID=$! sleep 5 -echo starting operator +echo Starting Operator make operator-start &> /dev/null & export OPERATOR_PID=$! -sleep 60 +sleep 15 -echo sending task +echo "Sending Task 1" make send-plonk_bls12_381-proof &> /dev/null -echo sending task +echo "Sending Task 2" make send-plonk_bn254-proof &> /dev/null sleep 10 +echo "Verifying Tasks sent & accepted" + go test tests/integration_test.go -v -# kill ${ANVIL_PID} -# kill ${AGGREGATOR_PID} -# kill ${OPERATOR_PID} +echo "DONE" + +kill ${ANVIL_PID} +kill ${AGGREGATOR_PID} +kill ${OPERATOR_PID}