Skip to content

Commit

Permalink
[DRAFT] Improvements and CI Fix (#19)
Browse files Browse the repository at this point in the history
* Cleanup and workflow testing

* Improvements

* Workflow env variables

* Cleanup and Improvements
  • Loading branch information
Tjemmmic authored Aug 23, 2024
1 parent e90771e commit d4d717f
Show file tree
Hide file tree
Showing 20 changed files with 402 additions and 660 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/validate_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ env:
RUST_LOG: "info"
CARGO_TERM_COLOR: always
CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG: true
OPERATOR_ECDSA_KEY_PASSWORD: "ECDSA_PASSWORD"
OPERATOR_BLS_KEY_PASSWORD: "BLS_PASSWORD"

jobs:
formatting:
Expand Down Expand Up @@ -94,6 +96,9 @@ jobs:
steps:
- name: checkout code
uses: actions/checkout@v2
with:
submodules: recursive
fetch-depth: 0

- name: Install Foundry
run: |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ Incredible Squaring AVS
cargo test -p test-utils test_incredible_squaring_full
```

These full test starts a local Anvil testnet, deploys all the required contracts to it, and then starts an operator.
These full tests start a local Anvil testnet, deploy all the required contracts to it, and then start an operator.

### Running the Testnets as binaries

Expand Down
34 changes: 0 additions & 34 deletions avs/incredible-squaring-avs/.github/workflows/test.yml

This file was deleted.

7 changes: 6 additions & 1 deletion avs/incredible-squaring-avs/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@ use std::process::Command;

fn main() {
// List of directories containing Solidity contracts
let contract_dirs = vec!["./contracts"];
let contract_dirs: Vec<&str> = vec![
"./../contracts/lib/eigenlayer-middleware/lib/eigenlayer-contracts",
"./../contracts/lib/eigenlayer-middleware",
"./../contracts",
"./contracts",
];

// Get the project root directory
let root = PathBuf::from(env::var("CARGO_MANIFEST_DIR").unwrap());
Expand Down
Loading

0 comments on commit d4d717f

Please sign in to comment.