Skip to content

Commit

Permalink
feat: tangle avs (#8)
Browse files Browse the repository at this point in the history
* fix: Fix build errors, build script, and smart contract fixes

* feat: add ECDSA service manager base contracts for eigenlayer

* fix: fmt

* chore: setup tests, taken from Hyperlane

* feat: fix and add up tests

* fix: setup simple hyperlane dispatcher

* feat: add receiver for Hyperlane message

* Feat: Tangle AVS WIP

- EigenLayer Registration
- Tangle Validator Runner
- Started on registration job
- Reorganization and cleanup
- AVS integration test

* Feat: Tangle AVS WIP

* fix: wip tangle registration and node process

* fix: changes to reflect changes in keystore and registration testing

* fix!: keystore and registration fixes wip

* fix!: updating main, runner, and job wip

* fix!: full tangle avs test continued wip

* feat!: functions and tests for registering as Tangle validator wip

* fix!: test fixes, debugging session key and node execution

* fix: test now runs as expected

* feat: adding abstractions for eigenlayer code

* feat: some tangle abstractions

* feat(ci): add CI

* fix(ci): verify-template fix

* fix(ci): update verify-template workflow

* fix(ci): add foundry to github path in workflow

* fix(ci): workflow debugging

* fix(ci): workflow debugging

* fix(ci): remove unnecessary workflow

---------

Co-authored-by: drewstone <[email protected]>
  • Loading branch information
Tjemmmic and drewstone authored Oct 31, 2024
1 parent 0c41869 commit 65879eb
Show file tree
Hide file tree
Showing 47 changed files with 5,045 additions and 1,370 deletions.
69 changes: 69 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: CI

on:
pull_request:
branches: [ main ]
push:
branches: [ main ]
workflow_dispatch:

concurrency:
group: rust-validation-${{ github.head_ref }}
cancel-in-progress: true

env:
RUST_BACKTRACE: full
RUST_LOG: "gadget=trace"
CARGO_TERM_COLOR: always

jobs:
formatting:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2

- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: rustfmt

- name: Check Formatting
run: cargo fmt -- --check

linting:
timeout-minutes: 120
name: cargo clippy
runs-on: macos-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
- name: Add Foundry to PATH
run: echo "${HOME}/.foundry/bin" >> $GITHUB_PATH

- name: Verify Forge installation
run: forge --version

- name: install rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable

- uses: swatinem/rust-cache@v2
with:
cache-on-failure: "true"

- name: install protobuf
run: brew install protobuf

- name: Run Clippy
run: cargo clippy --tests --examples -- -D warnings
33 changes: 0 additions & 33 deletions .github/workflows/verify-template.yml

This file was deleted.

Loading

0 comments on commit 65879eb

Please sign in to comment.