pub async fn deploy_eigenlayer(
rpc_url: Option<String>,
contracts_path: Option<String>,
ordered_deployment: bool,
network: String,
devnet: bool,
keystore_path: Option<PathBuf>,
) -> Result<()>Expand description
Deploy an AVS to Eigenlayer
§Arguments
rpc_url- The RPC URL to connect tocontracts_path- Path to the contracts directoryordered_deployment- Whether to deploy contracts in an interactive ordered mannernetwork- The target chain type (local, testnet, mainnet). Local mainnet is inferred by URL.devnet- Whether to start a local devnetkeystore_path- Path to the keystore
§Returns
A Result indicating success or an error
§Errors
Returns a color_eyre::Report if an error occurs during deployment.