diff --git a/docs/developers/Concepts/eigenlayer-contracts/core-contracts.md b/docs/developers/Concepts/eigenlayer-contracts/core-contracts.md index cf75a372..297b124d 100644 --- a/docs/developers/Concepts/eigenlayer-contracts/core-contracts.md +++ b/docs/developers/Concepts/eigenlayer-contracts/core-contracts.md @@ -11,17 +11,17 @@ to the core contracts. The EigenLayer core contracts are documented in the [eigenlayer-contracts](https://github.com/Layr-Labs/eigenlayer-contracts) repository. The core contracts include: -| Core contract | Description | -|--------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| [StrategyManager](https://github.com/Layr-Labs/eigenlayer-contracts/tree/testnet-holesky/docs#strategymanager) | Responsible for handling the accounting for Restakers as they deposit and withdraw ERC20 tokens from their corresponding strategies. The StrategyManager tracks the amount of restaked assets each Restaker has within Eigenlayer. | -| [DelegationManager](https://github.com/Layr-Labs/eigenlayer-contracts/tree/testnet-holesky/docs#delegationmanager) | Responsible for enabling Restakers to delegate assets to Operators, and withdraw assets. The DelegationManager tracks the amount of assets from each Strategy that have been delegated to each Operator, and tracks accounting for slashing. | -| [EigenPodManager](https://github.com/Layr-Labs/eigenlayer-contracts/tree/testnet-holesky/docs#eigenpodmanager) | Enables native ETH restaking | -| [AllocationManager](https://github.com/Layr-Labs/eigenlayer-contracts/tree/testnet-holesky/docs#allocationmanager) | Responsible for creating Operator Sets, and Operator registrations to Operator Sets. The Allocation Manager also tracks allocation of stake to a Operator Set, and enables AVSs to slash that stake. -| [RewardsCoordinator](https://github.com/Layr-Labs/eigenlayer-contracts/tree/testnet-holesky/docs#allocationmanager) | Enables AVSs to distribute ERC20 tokens to Operators and Restakers who delegated assets to Operators. The RewardsCoordinator tracks the rewards and enables Operators and Restakers to claim them. -| [PermissionController](https://github.com/Layr-Labs/eigenlayer-contracts/tree/testnet-holesky/docs#permissioncontroller) |Enables AVSs and operators to delegate the ability to call certain core contract functions to other addresses.| -| [AVSDirectory](https://github.com/Layr-Labs/eigenlayer-contracts/tree/testnet-holesky/docs#avsdirectory) | Has been replaced by AllocationManager and will be deprecated in a future release. | +| Core contract | Description | +|--------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| [StrategyManager](https://github.com/Layr-Labs/eigenlayer-contracts/tree/testnet-sepolia/docs#strategymanager) | Responsible for handling the accounting for Restakers as they deposit and withdraw ERC20 tokens from their corresponding strategies. The StrategyManager tracks the amount of restaked assets each Restaker has within Eigenlayer. | +| [DelegationManager](https://github.com/Layr-Labs/eigenlayer-contracts/tree/testnet-sepolia/docs#delegationmanager) | Responsible for enabling Restakers to delegate assets to Operators, and withdraw assets. The DelegationManager tracks the amount of assets from each Strategy that have been delegated to each Operator, and tracks accounting for slashing. | +| [EigenPodManager](https://github.com/Layr-Labs/eigenlayer-contracts/tree/testnet-sepolia/docs#eigenpodmanager) | Enables native ETH restaking | +| [AllocationManager](https://github.com/Layr-Labs/eigenlayer-contracts/tree/testnet-sepolia/docs#allocationmanager) | Responsible for creating Operator Sets, and Operator registrations to Operator Sets. The Allocation Manager also tracks allocation of stake to a Operator Set, and enables AVSs to slash that stake. +| [RewardsCoordinator](https://github.com/Layr-Labs/eigenlayer-contracts/tree/testnet-sepolia/docs#allocationmanager) | Enables AVSs to distribute ERC20 tokens to Operators and Restakers who delegated assets to Operators. The RewardsCoordinator tracks the rewards and enables Operators and Restakers to claim them. +| [PermissionController](https://github.com/Layr-Labs/eigenlayer-contracts/tree/testnet-sepolia/docs#permissioncontroller) |Enables AVSs and operators to delegate the ability to call certain core contract functions to other addresses.| +| [AVSDirectory](https://github.com/Layr-Labs/eigenlayer-contracts/tree/testnet-sepolia/docs#avsdirectory) | Has been replaced by AllocationManager and will be deprecated in a future release. | -This documentation matches the functionality available on the Holesky testnet. For mainnet +This documentation matches the functionality available on the Sepolia testnet. For mainnet specific documentation, refer to the `/docs` repository on the `mainnet` branch in the [eigenlayer-contracts](https://github.com/Layr-Labs/eigenlayer-contracts) repository. diff --git a/docs/developers/HowTo/build/how-to-build-an-avs.md b/docs/developers/HowTo/build/how-to-build-an-avs.md index 740a3caf..8a41e496 100644 --- a/docs/developers/HowTo/build/how-to-build-an-avs.md +++ b/docs/developers/HowTo/build/how-to-build-an-avs.md @@ -24,7 +24,7 @@ Operator responses to tasks are often signed using the BLS or ECDSA algorithm. T The following section covers the minimum set of smart contract integrations and deployment scripts that an AVS needs to build in order to: 1. Be considered a fully functional AVS for demo and proof of concept purposes. -2. Prepare your AVS to integrate Slashing functionality. Slashing is [live on Holesky Testnet](https://www.blog.eigenlayer.xyz/introducing-slashing/) and Mainnet deployment is proposed for late Q1 2025. +2. Prepare your AVS to integrate Slashing functionality. Slashing is [live on testnet](../../../eigenlayer/releases.md) and Mainnet deployment is proposed for late Q1 2025. :::info diff --git a/docs/eigenlayer/concepts/operator-sets/operator-sets-concept.md b/docs/eigenlayer/concepts/operator-sets/operator-sets-concept.md index fba84593..ee82acac 100644 --- a/docs/eigenlayer/concepts/operator-sets/operator-sets-concept.md +++ b/docs/eigenlayer/concepts/operator-sets/operator-sets-concept.md @@ -4,7 +4,7 @@ title: Operator Sets Overview --- :::note -Operator Sets are currently available on the Holesky testnet. [ELIP-002 Slashing via Unique Stake & Operator Sets](https://github.com/eigenfoundation/ELIPs/blob/main/ELIPs/ELIP-002.md) +Operator Sets are currently available on [testnet](../../releases.md). [ELIP-002 Slashing via Unique Stake & Operator Sets](https://github.com/eigenfoundation/ELIPs/blob/main/ELIPs/ELIP-002.md) introduced Operator Sets. Currently, Operators register to an AVS to earn rewards in the AVSDirectory. We recommend existing AVSs [migrate to Operator Sets on testnet](../../../developers/HowTo/slashing/migrate-to-operatorsets.md). diff --git a/docs/eigenlayer/concepts/operator-sets/strategies-and-magnitudes.md b/docs/eigenlayer/concepts/operator-sets/strategies-and-magnitudes.md index 447e284f..87f32f68 100644 --- a/docs/eigenlayer/concepts/operator-sets/strategies-and-magnitudes.md +++ b/docs/eigenlayer/concepts/operator-sets/strategies-and-magnitudes.md @@ -4,7 +4,7 @@ title: Strategies and Magnitudes --- :::note -Operator Sets are currently available on the Holesky testnet. [ELIP-002 Slashing via Unique Stake & Operator Sets](https://github.com/eigenfoundation/ELIPs/blob/main/ELIPs/ELIP-002.md) +Operator Sets are currently available on [testnet](../../releases.md). [ELIP-002 Slashing via Unique Stake & Operator Sets](https://github.com/eigenfoundation/ELIPs/blob/main/ELIPs/ELIP-002.md) introduced Operator Sets. ::: diff --git a/docs/eigenlayer/concepts/slashing/slashing-concept.md b/docs/eigenlayer/concepts/slashing/slashing-concept.md index 2ec14278..cb570405 100644 --- a/docs/eigenlayer/concepts/slashing/slashing-concept.md +++ b/docs/eigenlayer/concepts/slashing/slashing-concept.md @@ -4,7 +4,7 @@ title: Slashing Overview --- :::note -Slashing is currently available on the Holesky testnet. The Slashing release implements [ELIP-002: Slashing via Unique Stake & Operator Sets](https://github.com/eigenfoundation/ELIPs/blob/main/ELIPs/ELIP-002.md). +Slashing is currently available on [testnet](../../releases.md). The Slashing release implements [ELIP-002: Slashing via Unique Stake & Operator Sets](https://github.com/eigenfoundation/ELIPs/blob/main/ELIPs/ELIP-002.md). ::: Slashing is a type of penalty determined by an AVS as a deterrent for broken commitments by Operators. Broken commitments diff --git a/docs/eigenlayer/concepts/slashing/unique-stake.md b/docs/eigenlayer/concepts/slashing/unique-stake.md index 289c0097..04906292 100644 --- a/docs/eigenlayer/concepts/slashing/unique-stake.md +++ b/docs/eigenlayer/concepts/slashing/unique-stake.md @@ -4,7 +4,7 @@ title: Unique Stake --- :::note -Operator Sets and Slashing are currently available on the Holesky testnet. [ELIP-002 Slashing via Unique Stake & Operator Sets](https://github.com/eigenfoundation/ELIPs/blob/main/ELIPs/ELIP-002.md) +Operator Sets and Slashing are currently available on [testnet](../../releases.md). [ELIP-002 Slashing via Unique Stake & Operator Sets](https://github.com/eigenfoundation/ELIPs/blob/main/ELIPs/ELIP-002.md) introduced Operator Sets and Slashing. ::: diff --git a/docs/eigenlayer/releases.md b/docs/eigenlayer/releases.md index 26875337..ddcc2982 100644 --- a/docs/eigenlayer/releases.md +++ b/docs/eigenlayer/releases.md @@ -2,41 +2,50 @@ sidebar_position: 3 title: Releases --- -# Mainnet +## Mainnet The [Rewards v2 release](https://www.blog.eigenlayer.xyz/rewards-v2/) is available on mainnet. The [eigenlayer-contracts](https://github.com/Layr-Labs/eigenlayer-contracts) and [eigenlayer-middleware](https://github.com/Layr-Labs/eigenlayer-middleware) include the Rewards v2 release on the `mainnet` branch in each repository. -# Testnet +## Testnet -The [Slashing](https://www.blog.eigenlayer.xyz/introducing-slashing/) and Rewards v2.1 releases are available on the Holesky testnet. +The [Slashing](https://www.blog.eigenlayer.xyz/introducing-slashing/) and Rewards v2.1 releases are available on the Sepolia testnet. The [eigenlayer-contracts](https://github.com/Layr-Labs/eigenlayer-contracts) and [eigenlayer-middleware](https://github.com/Layr-Labs/eigenlayer-middleware) -include the Slashing release on the `testnet-holesky` branch. +include the Slashing release on the `testnet-sepolia` branch. :::important -Unless specified otherwise, this documentation matches the functionality available on the Holesky testnet. For mainnet +Unless specified otherwise, this documentation matches the functionality available on the Sepolia testnet. For mainnet specific documentation, refer to the `/docs` repository on the `mainnet` branch in the [eigenlayer-contracts](https://github.com/Layr-Labs/eigenlayer-contracts) and [eigenlayer-middleware](https://github.com/Layr-Labs/eigenlayer-middleware) repositories. ::: -## What's changed +### What's changed -### Operator Sets +#### Sepolia Testnet -The Slashing release on the Holesky testnet introduced Operator Sets. The AllocationManager core contract manages Operator Sets and replaces +Due to recent instability on Holesky testnet, EigenLayer has launched on Sepolia. AVS developers can use Sepolia for development and testing. + +Currently, EigenPods and native ETH restaking are not available on Holesky. EigenLayer will continue to support Holesky as +it stabilizes for end to end protocol testing. + +For more information, refer to the [EigenLayer blog](https://www.blog.eigenlayer.xyz/). + +#### Operator Sets + +The Slashing release on testnet introduced Operator Sets. The AllocationManager core contract manages Operator Sets and replaces the AVSDirectory for registering Operators to an AVS. [The AVSDirectory will be deprecated in a future upgrade](https://docs.eigenlayer.xyz/developers/HowTo/slashing/migrate-to-operatorsets). -### Rewards v2.1 +#### Rewards v2.1 -Rewards v2.1 on the Holesky testnet introduced Operator directed rewards for Operator sets. For AVSs using Operator Sets, use `createOperatorDirectedOperatorSetRewardsSubmission`. +Rewards v2.1 on testnet introduced Operator directed rewards for Operator sets. For AVSs using Operator Sets, use `createOperatorDirectedOperatorSetRewardsSubmission`. `createAVSRewardsSubmission` and `createOperatorDirectedAVSRewardsSubmission` remain available for use by AVSs that have not yet [migrated to Operator Sets](https://docs.eigenlayer.xyz/developers/HowTo/slashing/migrate-to-operatorsets). -### Release notes +#### Release Notes For complete release notes, refer to the [`eigenlayer-contracts` repository](https://github.com/Layr-Labs/eigenlayer-contracts/releases). -# SDKs +## SDKs The [EigenLayer Rust SDK](https://github.com/Layr-Labs/eigensdk-rs) supports two bindngs: * Rewards v2 - Current mainnet release. @@ -44,9 +53,8 @@ The [EigenLayer Rust SDK](https://github.com/Layr-Labs/eigensdk-rs) supports two The [EigenLayer Go SDK](https://github.com/Layr-Labs/eigensdk-go) supports the Rewards v2.1 release. -# Samples +## Samples The [Hello World AVS](https://github.com/Layr-Labs/hello-world-avs) and [Incredible Squaring](https://github.com/Layr-Labs/incredible-squaring-avs) samples are available to for development and testing to get familiar with EigenLayer. We are currently updating these to -include rewards and slashing capabilities. - +include rewards and slashing capabilities. \ No newline at end of file diff --git a/docs/eigenlayer/rewards-claiming/claim-rewards/via-cli.mdx b/docs/eigenlayer/rewards-claiming/claim-rewards/via-cli.mdx index 79fbe606..7365aca8 100644 --- a/docs/eigenlayer/rewards-claiming/claim-rewards/via-cli.mdx +++ b/docs/eigenlayer/rewards-claiming/claim-rewards/via-cli.mdx @@ -41,10 +41,10 @@ eigenlayer version v ``` - + ```bash ./bin/eigenlayer rewards show \ - --network holesky \ + --network sepolia \ --earner-address \ --claim-type unclaimed ``` @@ -98,13 +98,13 @@ Make sure the keys you are using to claim is the claimer you have set. `comma-separated-list-of-token-addresses` - You can get this from output of [Step 3](#step-3-check-if-rewards-are-available-to-claim) - + If you are using local keystore file, use the following command to claim rewards ```bash ./bin/eigenlayer rewards claim \ - --network holesky \ - --eth-rpc-url \ + --network sepolia \ + --eth-rpc-url \ --earner-address \ --recipient-address \ --path-to-key-store /path/to/key/store-json \ @@ -128,7 +128,7 @@ If you want to see the rewards parameters before claiming, you can use the follo ```bash ./bin/eigenlayer rewards claim \ - --network holesky \ + --network mainnet \ --eth-rpc-url \ --earner-address \ --token-addresses @@ -136,13 +136,13 @@ If you want to see the rewards parameters before claiming, you can use the follo `comma-separated-list-of-token-addresses` - You can get this from output of [Step 3](#step-3-check-if-rewards-are-available-to-claim) - + If you are using local keystore file, use the following command to claim rewards ```bash ./bin/eigenlayer rewards claim \ - --network holesky \ - --eth-rpc-url \ + --network sepolia \ + --eth-rpc-url \ --earner-address \ --token-addresses ``` diff --git a/docs/operators/howto/operator-rewards-config.md b/docs/operators/howto/operator-rewards-config.md index f9df6481..499a4b6f 100644 --- a/docs/operators/howto/operator-rewards-config.md +++ b/docs/operators/howto/operator-rewards-config.md @@ -21,10 +21,10 @@ Operators can set their per-AVS fee rate via the EigenLayer CLI with the followi ``` # Get the current per-AVS fee rate -eigenlayer-cli operator get-rewards-split --operator-address [operator_address] --avs-address [avs_address] --eth-rpc-url [rpc_endpoint] --network holesky +eigenlayer-cli operator get-rewards-split --operator-address [operator_address] --avs-address [avs_address] --eth-rpc-url [rpc_endpoint] --network sepolia # Set the current per-AVS fee rate -eigenlayer-cli operator set-rewards-split --operator-address [operator_address] --avs-address [avs_address] --eth-rpc-url [rpc_endpoint] --network holesky --path-to-key-store [path_to_local_operator_ecdsa_keystore.ecdsa.key.json] --operator-split [split in bips] --broadcast +eigenlayer-cli operator set-rewards-split --operator-address [operator_address] --avs-address [avs_address] --eth-rpc-url [rpc_endpoint] --network sepolia --path-to-key-store [path_to_local_operator_ecdsa_keystore.ecdsa.key.json] --operator-split [split in bips] --broadcast ``` Please note the Operator split is denoted in units of bips (basis points). E.g. 1000 = 10%. diff --git a/docs/operators/howto/operator-sets.md b/docs/operators/howto/operator-sets.md index c5718db1..eecd1093 100644 --- a/docs/operators/howto/operator-sets.md +++ b/docs/operators/howto/operator-sets.md @@ -19,7 +19,7 @@ Set Allocations per Operator Set and Strategy ``` eigenlayer operator allocations update - --network holesky + --network sepolia --operator-address --csv-file updates.csv --caller-address @@ -46,7 +46,7 @@ View all your allocations with show command as below ``` eigenlayer operator allocations show - --network holesky + --network sepolia --operator-address --strategy-addresses