Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

Serial-ATA
Copy link
Contributor

Part of #352, committing it now since it works and I'd like to have it on all my branches.

@Serial-ATA Serial-ATA requested a review from shekohex October 17, 2024 21:56
Copy link
Contributor

@shekohex shekohex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@drewstone drewstone merged commit a2d4646 into main Oct 17, 2024
11 checks passed
@Serial-ATA Serial-ATA deleted the serial/cli-specify-paths branch October 18, 2024 00:40
drewstone added a commit that referenced this pull request Oct 19, 2024
* 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]>
drewstone added a commit that referenced this pull request Oct 23, 2024
* 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]>
drewstone added a commit that referenced this pull request Oct 25, 2024
* 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

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

* fix: updates using aggregator

* fix: solve registry error in aggregator

* fix: prevent duplicates

* fix: got test working

* fix: fmt and clippy cleanup

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

* feat: convert aggregator process_new_jobs to blueprint

* 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: merge fix-el branch

* feat: use aggregator blueprint

* 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

* chore: merge main

* fix: move helpers to separate file

* fix: moving helpers along w/ eigenlayer context

* fix: get both blueprints running

* fix: expose addresses better

* feat: test exits successfully and all pieces work seamlessly

* fix: add helper

* fix: clippy and fmt

* fix: context derive test

* fix: context derive test

---------

Co-authored-by: Tjemmmic <[email protected]>
Co-authored-by: Alex <[email protected]>
Co-authored-by: Thomas Braun <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants