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

[TASK] Deploy AVS to EigenLayer with cargo-tangle #406

Open
Tjemmmic opened this issue Oct 25, 2024 · 1 comment
Open

[TASK] Deploy AVS to EigenLayer with cargo-tangle #406

Tjemmmic opened this issue Oct 25, 2024 · 1 comment
Assignees

Comments

@Tjemmmic
Copy link
Contributor

Tjemmmic commented Oct 25, 2024

Overview

Similar to how we are able to deploy blueprints on tangle with:

cargo tangle blueprint deploy

we want to be able to deploy an AVS to EigenLayer with a cargo tangle command.

Requirements and Specs

  1. Add a protocol flag to the deploy subcommand:
cargo tangle blueprint deploy --protocol eigenlayer
  1. We need a robust way of allowing a user to deploy any AVS Smart Contract(s) - we must allow for generic user input. Smart Contracts have completely unique inputs.
    • We could utilize an arbitrary input system that parses input based on a passed Smart Contract, returning an error if incorrect data is passed.
    • Another approach would be expecting a file with the required input, which would also be parsed based on the passed Smart Contract.

Expected Flags

  • Deployer/Signer
  • Target Network (Endpoint)
@github-project-automation github-project-automation bot moved this to Not Started 🕧 in Webb Universe Oct 25, 2024
@Tjemmmic Tjemmmic moved this from Not Started 🕧 to Planning 🗺️ in Webb Universe Oct 25, 2024
@shekohex
Copy link
Contributor

shekohex commented Oct 25, 2024

I do not prefer dashes in the name of commands, instead add the protocol in the deploy command too (similar to the run command) and by default the protocol is Tangle, so the command now reads: cargo tangle blueprint deploy --protocol eigenlayer

See Protocol enum here:

gadget/sdk/src/config.rs

Lines 19 to 24 in 27e774c

#[derive(Default, Debug, Clone, Copy, Serialize, Deserialize)]
pub enum Protocol {
#[default]
Tangle,
Eigenlayer,
}

@drewstone drewstone changed the title [Task] Deploy AVS to EigenLayer with cargo-tangle [TASK] Deploy AVS to EigenLayer with cargo-tangle Nov 18, 2024
@Tjemmmic Tjemmmic moved this from Planning 🗺️ to Building 🏗️ in Webb Universe Nov 21, 2024
@Tjemmmic Tjemmmic self-assigned this Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Building 🏗️
Development

No branches or pull requests

2 participants