Skip to content

Commit

Permalink
Fix eigenlayer example (#375)
Browse files Browse the repository at this point in the history
* feat: add eigenlayer context

* merge: combine context and proc macro tests

* fix: removing unused code and fixing test

* fix: move static vars to the lib

* fix: move static vars to the lib

* chore: debug

* fix: lint and fmt to keep things clean

* chore: add logging for debugging

* fix: identified issue

* fix: start on proc macro for abi grabbing

* fix: compiles and deploys tasks, event listener not firing

* chore: separate event listener files out

* fix: spelling and blocks to mine

* fix: more logging

* chore: remove logs, evm event listener is broke

* fix: remove one loop from event listening flow, polling seems to work, event catching not

* Fix: Got back to original signing bug

* Fix: Fixed address change - back to signature invalid revert

* Fix: Correctly pulls task index from events

* fix: use EL convert to g1/g2 point

* Use incredible squaring aggregator (#364)

* chore: bump rustdoc-types (#348)

Also pin to the latest nightly

* fix: load substrate signer from env correctly (#349)

* fix: add `data_dir` back to `GadgetConfiguration` (#350)

It was (mistakenly?) removed in #333. Went ahead and added a default path for blueprint manager as well.

* Multi job runner + SDK main macro (#346)

* feat: use aggregator and separate out from the blueprint job

* fix: uncomment generate_json (#358)

* fix: updates using aggregator

* fix: solve registry error in aggregator

* fix: prevent duplicates

* fix: got test working

* fix: fmt and clippy cleanup

* feat(cli): support custom repo and path sources (#360)

* feat: added test in eigen IS blueprint, cleaned up testing code for it

* Event Workflows (phase 1: Custom listeners) (#359)

* Add wrapper types + trait structure to enforce structure for event flows

* Decoupling/refactor and ensure integration test passes

* periodic web poller working and further refactor of macro code

* Everything compiling, integration test passes

* fix(sdk)!: downgrade substrate dependencies for now

It's currently impossible to use some APIs downstream, since they expose `sp_core` (v0.34.0) types instead of the `sdk::keystore::sp_core_subxt` (v0.31.0) types. Cargo will refuse to build blueprints using them. I just got rid of the `sdk::keystore::sp_core_subxt` hack and downgraded all of the dependencies necessary (I think).

This won't be an issue once #318 is taken care of.

* feat(sdk): re-export `libp2p`

---------

Co-authored-by: Alex <[email protected]>
Co-authored-by: Thomas Braun <[email protected]>
Co-authored-by: Tjemmmic <[email protected]>

* fix: remappings out of date

* fix: remove eigenlayer-middleware from tangle blueprint git modules

* chore: close handles once test completes, rpc server still not shutting down

* fix: remove broken invalid test cases

* fix: proc macro doc fixes to avoid more maintenance

---------

Co-authored-by: Tjemmmic <[email protected]>
Co-authored-by: Alex <[email protected]>
Co-authored-by: Thomas Braun <[email protected]>
  • Loading branch information
4 people authored Oct 23, 2024
1 parent 1a02dfd commit 764ab35
Show file tree
Hide file tree
Showing 51 changed files with 2,752 additions and 1,517 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/build-setup.yml

This file was deleted.

1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ jobs:
gadget-sdk,
blueprint-manager,
gadget-context-derive,
gadget-blueprint-proc-macro,
]
steps:
- name: checkout code
Expand Down
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ target/
# MSVC Windows builds of rustc generate these, which store debugging information
*.pdb

blueprint-test-utils/db

# Added by cargo
/target
.idea
Expand All @@ -25,4 +23,6 @@ CODEGEN_LOCK
blueprint.json
blueprint*.json
blueprint.lock
/blueprints/periodic-web-poller/node_modules/

blueprint-test-utils/db
node_modules
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
[submodule "blueprints/incredible-squaring/contracts/lib/tnt-core"]
path = blueprints/incredible-squaring/contracts/lib/tnt-core
url = https://github.com/tangle-network/tnt-core
[submodule "blueprints/incredible-squaring/contracts/lib/eigenlayer-middleware"]
path = blueprints/incredible-squaring/contracts/lib/eigenlayer-middleware
url = https://github.com/Layr-Labs/eigenlayer-middleware

# For the incredible-squaring-eigenlayer blueprint
[submodule "blueprints/incredible-squaring-eigenlayer/contracts/lib/eigenlayer-middleware"]
Expand Down
Loading

0 comments on commit 764ab35

Please sign in to comment.