Skip to content

Commit

Permalink
refactor: printed data on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
uri-99 committed May 6, 2024
1 parent 20ad547 commit 90937da
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 0 additions & 2 deletions scripts/fund_operator_devnet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,3 @@ cast send --from $sender_address \
"$recipient_address"

echo "Operator funded"

cat config-files/config.yaml
35 changes: 16 additions & 19 deletions tests/integration_test.sh
Original file line number Diff line number Diff line change
@@ -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}

0 comments on commit 90937da

Please sign in to comment.