Skip to content

Commit

Permalink
Merge branch 'main' into donovan/eigen-improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Tjemmmic committed Nov 6, 2024
2 parents 958771c + 28c3cbc commit 2c74234
Show file tree
Hide file tree
Showing 72 changed files with 1,140 additions and 1,474 deletions.
28 changes: 12 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,28 +125,28 @@ jobs:

integration-test-eigenlayer:
timeout-minutes: 90
runs-on: macos-latest
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v2

- name: Install Foundry
run: |
curl -L https://foundry.paradigm.xyz | bash
source /Users/runner/.bashrc
foundryup
${FOUNDRY_DIR:-"$HOME/.foundry"}/bin/foundryup
env:
FOUNDRY_DIR: ${{ runner.temp }}/foundry
shell: bash

- name: Add Foundry to PATH
run: echo "${HOME}/.foundry/bin" >> $GITHUB_PATH
run: echo "${{ runner.temp }}/foundry/bin" >> $GITHUB_PATH


- name: Forge build
run: forge update && cd blueprints/incredible-squaring-eigenlayer && forge build --root ./contracts && cd ../../

- name: setup-docker
run: brew install docker

- name: Verify Forge and Docker installation
run: forge --version && docker --version
- name: Set up Docker
uses: crazy-max/ghaction-setup-docker@v3

- name: Run anvil in background
run: anvil --version && anvil &
Expand All @@ -160,13 +160,10 @@ jobs:
with:
cache-on-failure: "true"

- name: install protobuf
run: brew install protobuf gmp

- name: Set Relevant M1 env vars
- name: install protobuf and gmp
run: |
export LIBRARY_PATH=$LIBRARY_PATH:/opt/homebrew/lib
export INCLUDE_PATH=$INCLUDE_PATH:/opt/homebrew/include
sudo apt-get update
sudo apt-get install -y protobuf-compiler libprotobuf-dev libgmp-dev
- name: install cargo-nextest
run: cargo install cargo-nextest --locked
Expand All @@ -176,4 +173,3 @@ jobs:

- name: tests
run: RUST_LOG=gadget=trace cargo test --package blueprint-test-utils test_eigenlayer_incredible_squaring_blueprint -- --nocapture

12 changes: 4 additions & 8 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,13 @@
path = blueprints/incredible-squaring-eigenlayer/contracts/lib/forge-std
url = https://github.com/foundry-rs/forge-std

# For the ecdsa-threshold-mpc blueprint
[submodule "blueprints/ecdsa-threshold-mpc/contracts/lib/forge-std"]
path = blueprints/ecdsa-threshold-mpc/contracts/lib/forge-std
url = https://github.com/foundry-rs/forge-std
[submodule "blueprints/ecdsa-threshold-mpc/contracts/lib/tnt-core"]
path = blueprints/ecdsa-threshold-mpc/contracts/lib/tnt-core
url = https://github.com/tangle-network/tnt-core
branch = main
# For the incredible-squaring-symbiotic blueprint
[submodule "blueprints/incredible-squaring-symbiotic/contracts/lib/forge-std"]
path = blueprints/incredible-squaring-symbiotic/contracts/lib/forge-std
url = https://github.com/foundry-rs/forge-std
[submodule "blueprints/incredible-squaring-symbiotic/contracts/lib/core"]
path = blueprints/incredible-squaring-symbiotic/contracts/lib/core
url = https://github.com/symbioticfi/core
[submodule "blueprints/examples/contracts/lib/forge-std"]
path = blueprints/examples/contracts/lib/forge-std
url = https://github.com/foundry-rs/forge-std
Loading

0 comments on commit 2c74234

Please sign in to comment.