Skip to content

[Merge once have deployed on Hoodi] Added testnets topic #463

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

Draft
wants to merge 31 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
0256e60
Minimal restructure to demo Concept/How To/Reference/Tutorial approach
MadelineAu Feb 5, 2025
f7c9d9a
fixed redirects and urls
wesfloyd Feb 5, 2025
bd627ef
Addressing review comments
MadelineAu Feb 6, 2025
feae197
Merge branch 'devRestruture' of github.com:MadelineAu/eigenlayer-docs…
MadelineAu Feb 6, 2025
96bbf96
Added redirects
MadelineAu Feb 6, 2025
5264329
fixed redirects
MadelineAu Feb 6, 2025
4e5b0bd
more redirect fixing
MadelineAu Feb 6, 2025
8bff2ec
Merge branch 'MadelineAu-devRestruture'
MadelineAu Feb 6, 2025
9f63380
Merge remote-tracking branch 'upstream/main'
MadelineAu Feb 9, 2025
af864c0
Merge remote-tracking branch 'upstream/main'
MadelineAu Feb 10, 2025
c49b0e8
Merge remote-tracking branch 'upstream/main'
MadelineAu Feb 10, 2025
7e430a0
Merge remote-tracking branch 'upstream/main'
MadelineAu Feb 17, 2025
0e1a6eb
Merge remote-tracking branch 'upstream/main'
MadelineAu Feb 18, 2025
3ed0774
Merge remote-tracking branch 'upstream/main'
MadelineAu Feb 19, 2025
8130497
Merge remote-tracking branch 'upstream/main'
MadelineAu Feb 21, 2025
37281a6
Merge remote-tracking branch 'upstream/main'
MadelineAu Feb 21, 2025
cf76167
Merge remote-tracking branch 'upstream/main'
MadelineAu Feb 21, 2025
6126940
Merge remote-tracking branch 'upstream/main'
MadelineAu Feb 23, 2025
34fad65
Merge remote-tracking branch 'upstream/main'
MadelineAu Mar 3, 2025
e8465ae
Merge remote-tracking branch 'upstream/main'
MadelineAu Mar 4, 2025
d5ab33c
Merge remote-tracking branch 'upstream/main'
MadelineAu Mar 5, 2025
18f4927
Merge remote-tracking branch 'upstream/main'
MadelineAu Mar 5, 2025
cbaee98
Merge remote-tracking branch 'upstream/main'
MadelineAu Mar 6, 2025
549d047
Merge remote-tracking branch 'upstream/main'
MadelineAu Mar 10, 2025
cd0e391
Merge remote-tracking branch 'upstream/main'
MadelineAu Mar 13, 2025
c8e803b
Merge remote-tracking branch 'upstream/main'
MadelineAu Mar 18, 2025
a6f98f5
Merge remote-tracking branch 'upstream/main'
MadelineAu Mar 24, 2025
3b96134
Merge remote-tracking branch 'upstream/main'
MadelineAu Mar 26, 2025
302897a
Merge remote-tracking branch 'upstream/main'
MadelineAu Apr 1, 2025
0ed8b3f
Added testnets topic
MadelineAu Apr 1, 2025
321e40d
Updated references to Holesky
MadelineAu Apr 1, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions docs/developers/Concepts/eigenlayer-contracts/core-contracts.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ The [EigenLayer middleware contracts](middleware-contracts.md) are the higher le

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. For more information, refer to [User Access Management](../../../eigenlayer/concepts/uam/user-access-management.md). |
| [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-hoodi/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-hoodi/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-hoodi/docs#eigenpodmanager) | Enables native ETH restaking |
| [AllocationManager](https://github.com/Layr-Labs/eigenlayer-contracts/tree/testnet-hoodi/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-hoodi/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-hoodi/docs#permissioncontroller) | Enables AVSs and operators to delegate the ability to call certain core contract functions to other addresses. For more information, refer to [User Access Management](../../../eigenlayer/concepts/uam/user-access-management.md). |
| [AVSDirectory](https://github.com/Layr-Labs/eigenlayer-contracts/tree/testnet-hoodi/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 [Hoodi testnet](../../HowTo/test/testnets.md). 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.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 4
title: Test AVS
sidebar_position: 1
title: Locally
---
:::note
AVS Devnet is currently in Public Alpha and is rapidly being upgraded. Features may be added, removed or otherwise improved or modified,
Expand Down
18 changes: 18 additions & 0 deletions docs/developers/HowTo/test/testnets.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
sidebar_position: 2
title: Testnets
---

To support diverse testing needs, EigenLayer is available on multiple testnets.

<img src="/img/testnets.png" width="50%" style={{ margin: '20px 75px'}}>
</img>

| **Testnet / Environment** | **Namespace** | **Enables** | **Benefits** |
|-------------------------------|--------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------|
| **Sepolia testnet** | `testnet-sepolia` | Rapid development iterations, and integration testing for AVS customers. | Streamlined environment for quick testing cycles, efficient troubleshooting, and accelerated development. Sepolia hosts many existing apps and rollups. |
| **Hoodi testnet** | `testnet-hoodi` | AVS developers, LRTs, Operators, and integrators to test upcoming EigenLayer features and end to end interactions. For example, Rewards, EigenPods. | Early access to new functionality, proactive issue identification, and a collaborative development environment. |
| **Hoodi staging environment** | `staging-hoodi` | AVSs to signal code readiness, Operators and AVSs to test production interactions, and Operators to evaluate new AVSs before mainnet. | Mirrors mainnet conditions for accurate and reliable deployment testing. |
| **Holesky testnet** | `testnet-holesky` | Smooth transition for users to newer testnets. | Maintains compatibility and transition support. Holesky will be sunset in Q3 2025. |

For contract addresses, refer to the [eigenlayer-contracts-metadata](https://github.com/Layr-Labs/eigenlayer-contracts-zeus-metadata) repository.
Original file line number Diff line number Diff line change
Expand Up @@ -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 [testnets](../../../developers/HowTo/test/testnets.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/build/slashing/migrate-to-operatorsets.md).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 [testnets](../../../developers/HowTo/test/testnets.md). [ELIP-002 Slashing via Unique Stake & Operator Sets](https://github.com/eigenfoundation/ELIPs/blob/main/ELIPs/ELIP-002.md)
introduced Operator Sets.
:::

Expand Down
2 changes: 1 addition & 1 deletion docs/eigenlayer/concepts/slashing/slashing-concept.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 the [testnets](../../../developers/HowTo/test/testnets.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
Expand Down
2 changes: 1 addition & 1 deletion docs/eigenlayer/concepts/slashing/unique-stake.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 [testnets](../../../developers/HowTo/test/testnets.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.
:::

Expand Down
10 changes: 5 additions & 5 deletions docs/eigenlayer/releases.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ in each repository.

# 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 [testnets](../developers/HowTo/test/testnets.md).
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-<name>` branches.

:::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 [testnets](../developers/HowTo/test/testnets.md). 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.
:::
Expand All @@ -24,12 +24,12 @@ and [eigenlayer-middleware](https://github.com/Layr-Labs/eigenlayer-middleware)

### Operator Sets

The Slashing release on the Holesky testnet introduced Operator Sets. The AllocationManager core contract manages Operator Sets and replaces
The Slashing release on [testnets](../developers/HowTo/test/testnets.md) 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 on the Holesky testnet introduced Operator directed rewards for Operator sets. For AVSs using Operator Sets, use `createOperatorDirectedOperatorSetRewardsSubmission`.
Rewards v2.1 on [testnets](../developers/HowTo/test/testnets.md) 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).

### User Access Management
Expand Down
10 changes: 5 additions & 5 deletions docs/operators/howto/claimrewards/claim-rewards-cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ To claim rewards using the EigenLayer CLI as an [Earner](../../../eigenlayer/con
```

</TabItem>
<TabItem value="holesky" label="Holesky">
<TabItem value="hoodi" label="Hoodi">
```bash
./bin/eigenlayer rewards show \
--network holesky \
--network hoodi \
--earner-address <earner-address> \
--claim-type unclaimed
```
Expand Down Expand Up @@ -65,12 +65,12 @@ Token Address | Wei Amount
```

</TabItem>
<TabItem value="holesky" label="Holesky">
<TabItem value="hoodi" label="Hoodi">

```bash
./bin/eigenlayer rewards claim \
--network holesky \
--eth-rpc-url <holesky-eth-rpc-url> \
--network hoodi \
--eth-rpc-url <hoodi-eth-rpc-url> \
--earner-address <earner-address> \
--recipient-address <address-to-send-rewards-to> \
--path-to-key-store /path/to/key/store-json \
Expand Down
4 changes: 2 additions & 2 deletions docs/operators/howto/operator-sets.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Set Allocations per Operator Set and Strategy

```
eigenlayer operator allocations update
--network holesky
--network hoodi
--operator-address <operator-address>
--csv-file updates.csv
--caller-address <address-of-caller>
Expand All @@ -46,7 +46,7 @@ View all your allocations with show command as below

```
eigenlayer operator allocations show
--network holesky
--network hoodi
--operator-address <operator-address>
--strategy-addresses <comma-separated-strategy-addresses>

Expand Down
Binary file added static/img/testnets.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.