Skip to content

Commit 9689973

Browse files
wadealexcbobwzy
authored andcommitted
chore: update core submodule and fix broken docs links (Layr-Labs#188)
1 parent aea1c7d commit 9689973

File tree

9 files changed

+29
-31
lines changed

9 files changed

+29
-31
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ on:
88
push:
99
branches:
1010
- master
11-
- m2-mainnet
12-
- m2-mainnet-fixes
11+
- mainnet
12+
- testnet-goerli
13+
- dev
1314
pull_request:
1415

1516
env:

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[submodule "lib/eigenlayer-contracts"]
55
path = lib/eigenlayer-contracts
66
url = https://github.com/Layr-labs/eigenlayer-contracts
7-
branch = m2-mainnet-fixes
7+
branch = dev
88
[submodule "lib/ds-test"]
99
path = lib/ds-test
1010
url = https://github.com/dapphub/ds-test

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[core-docs-m2]: https://github.com/Layr-Labs/eigenlayer-contracts/tree/m2-mainnet/docs
1+
[core-docs-dev]: https://github.com/Layr-Labs/eigenlayer-contracts/tree/dev/docs
22
[core-repo]: https://github.com/Layr-Labs/eigenlayer-contracts
33

44
# EigenLayer Middleware
@@ -27,7 +27,7 @@ Most of this content is intro-level and describes user interactions with the Eig
2727
For shadowy super-coders:
2828
* The most up-to-date technical documentation can be found in [/docs](/docs).
2929
* To get an idea of how users interact with these contracts, check out the integration tests: [/test/integration](./test/integration)
30-
* To explore the EigenLayer core contracts, check out the core repo technical docs [here][core-docs-m2].
30+
* To explore the EigenLayer core contracts, check out the core repo technical docs [here][core-docs-dev].
3131

3232
## Building and Running Tests
3333

docs/BLSSignatureChecker.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
[core-docs-m2]: https://github.com/Layr-Labs/eigenlayer-contracts/tree/m2-mainnet/docs
2-
[core-dmgr-docs]: https://github.com/Layr-Labs/eigenlayer-contracts/blob/m2-mainnet/docs/core/DelegationManager.md
3-
[core-dmgr-register]: https://github.com/Layr-Labs/eigenlayer-contracts/blob/m2-mainnet/docs/core/DelegationManager.md#registeroperatortoavs
4-
[core-dmgr-deregister]: https://github.com/Layr-Labs/eigenlayer-contracts/blob/m2-mainnet/docs/core/DelegationManager.md#deregisteroperatorfromavs
1+
[core-docs-dev]: https://github.com/Layr-Labs/eigenlayer-contracts/tree/dev/docs
2+
[core-dmgr-docs]: https://github.com/Layr-Labs/eigenlayer-contracts/blob/dev/docs/core/DelegationManager.md
53

6-
[eigenda-service-manager]: https://github.com/Layr-Labs/eigenda/blob/m2-mainnet-contracts/contracts/src/core/EigenDAServiceManager.sol
4+
[eigenda-service-manager]: https://github.com/Layr-Labs/eigenda/blob/dev-contracts/contracts/src/core/EigenDAServiceManager.sol
75

86
## BLSSignatureChecker
97

@@ -92,7 +90,7 @@ This method performs the following steps. Note that each step involves lookups o
9290
* `quorumNumbers` MUST be an ordered list of valid, initialized quorums
9391
* `params.nonSignerPubkeys` MUST ONLY contain unique pubkeys, in ascending order of their pubkey hash
9492
* For each quorum:
95-
* If stale stakes are forbidden (see [`BLSSignatureChecker.setStaleStakesForbidden`](#blssignaturecheckersetstalestakesforbidden)), check the last `quorumUpdateBlockNumber` is within `DelegationManager.minWithdrawalDelayBlocks` of `referenceBlockNumber`. This references a value in the EigenLayer core contracts - see [EigenLayer core docs][core-docs-m2] for more info.
93+
* If stale stakes are forbidden (see [`BLSSignatureChecker.setStaleStakesForbidden`](#blssignaturecheckersetstalestakesforbidden)), check the last `quorumUpdateBlockNumber` is within `DelegationManager.minWithdrawalDelayBlocks` of `referenceBlockNumber`. This references a value in the EigenLayer core contracts - see [EigenLayer core docs][core-docs-dev] for more info.
9694
* Validate that each `params.quorumApks` corresponds to the quorum's apk at the `referenceBlockNumber`
9795
* For each historical state lookup, the `referenceBlockNumber` and provided index MUST point to a valid historical entry:
9896
* `referenceBlockNumber` MUST come after the entry's `updateBlockNumber`

docs/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
Reference Links:
33
-->
44
[core-contracts-repo]: https://github.com/Layr-Labs/eigenlayer-contracts
5-
[core-docs-m2]: https://github.com/Layr-Labs/eigenlayer-contracts/tree/m2-mainnet/docs
5+
[core-docs-dev]: https://github.com/Layr-Labs/eigenlayer-contracts/tree/dev/docs
66
[eigenda-repo]: https://github.com/Layr-Labs/eigenda/
77
[bitmaputils-lib]: ../src/libraries/BitmapUtils.sol
88

9-
[core-registerToAVS]: https://github.com/Layr-Labs/eigenlayer-contracts/blob/m2-mainnet/docs/core/DelegationManager.md#registeroperatortoavs
10-
[core-deregisterFromAVS]: https://github.com/Layr-Labs/eigenlayer-contracts/blob/m2-mainnet/docs/core/DelegationManager.md#deregisteroperatorfromavs
9+
[core-registerToAVS]: https://github.com/Layr-Labs/eigenlayer-contracts/blob/dev/docs/core/AVSDirectory.md#registeroperatortoavs
10+
[core-deregisterFromAVS]: https://github.com/Layr-Labs/eigenlayer-contracts/blob/dev/docs/core/AVSDirectory.md#deregisteroperatorfromavs
1111

1212
## EigenLayer Middleware Docs
1313

@@ -64,7 +64,7 @@ Each quorum has an associated list of `StrategyParams`, which the Owner can conf
6464

6565
When the `StakeRegistry` updates its view of an Operator's stake for a given quorum, it queries the `DelegationManager` to get the Operator's shares in each of the quorum's strategies and applies the multiplier to the returned share count.
6666

67-
For more information on the `DelegationManager`, see the [EigenLayer core docs][core-docs-m2].
67+
For more information on the `DelegationManager`, see the [EigenLayer core docs][core-docs-dev].
6868

6969
##### Operator Sets and Churn
7070

docs/RegistryCoordinator.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
[core-dmgr-docs]: https://github.com/Layr-Labs/eigenlayer-contracts/blob/m2-mainnet/docs/core/DelegationManager.md
2-
[core-dmgr-register]: https://github.com/Layr-Labs/eigenlayer-contracts/blob/m2-mainnet/docs/core/DelegationManager.md#registeroperatortoavs
3-
[core-dmgr-deregister]: https://github.com/Layr-Labs/eigenlayer-contracts/blob/m2-mainnet/docs/core/DelegationManager.md#deregisteroperatorfromavs
1+
[core-dmgr-docs]: https://github.com/Layr-Labs/eigenlayer-contracts/blob/dev/docs/core/DelegationManager.md
2+
[core-dmgr-register]: https://github.com/Layr-Labs/eigenlayer-contracts/blob/dev/docs/core/DelegationManager.md#registeroperatortoavs
3+
[core-dmgr-deregister]: https://github.com/Layr-Labs/eigenlayer-contracts/blob/dev/docs/core/DelegationManager.md#deregisteroperatorfromavs
44

55
## RegistryCoordinator
66

docs/ServiceManagerBase.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
[core-dmgr-docs]: https://github.com/Layr-Labs/eigenlayer-contracts/blob/m2-mainnet/docs/core/DelegationManager.md
2-
[core-dmgr-register]: https://github.com/Layr-Labs/eigenlayer-contracts/blob/m2-mainnet/docs/core/DelegationManager.md#registeroperatortoavs
3-
[core-dmgr-deregister]: https://github.com/Layr-Labs/eigenlayer-contracts/blob/m2-mainnet/docs/core/DelegationManager.md#deregisteroperatorfromavs
1+
[core-registerToAVS]: https://github.com/Layr-Labs/eigenlayer-contracts/blob/dev/docs/core/AVSDirectory.md#registeroperatortoavs
2+
[core-deregisterFromAVS]: https://github.com/Layr-Labs/eigenlayer-contracts/blob/dev/docs/core/AVSDirectory.md#deregisteroperatorfromavs
43

54
## ServiceManagerBase
65

@@ -11,7 +10,7 @@
1110
The `ServiceManagerBase` represents the AVS's address relative to EigenLayer core. When registering or deregistering an operator from an AVS, the AVS's `ServiceManagerBase` communicates this change to the core contracts, allowing the core contracts to maintain an up-to-date view on operator registration status with various AVSs.
1211

1312
*As of M2*:
14-
* Currently, this contract is used by the `DelegationManager` to keep track of operator registration and deregistration. Eventually, this relationship will be expanded to allow operators to opt in to slashing and payments for services.
13+
* Currently, this contract is used by the `AVSDirectory` to keep track of operator registration and deregistration. Eventually, this relationship will be expanded to allow operators to opt in to slashing and payments for services.
1514

1615
---
1716

@@ -27,18 +26,18 @@ function registerOperatorToAVS(
2726
onlyRegistryCoordinator
2827
```
2928

30-
When the `RegistryCoordinator` registers an operator for an AVS and they were not previously registered, it calls this method on `ServiceManagerBase`, which forwards the call to the EigenLayer core contract, the `DelegationManager`.
29+
When the `RegistryCoordinator` registers an operator for an AVS and they were not previously registered, it calls this method on `ServiceManagerBase`, which forwards the call to the EigenLayer core contract, the `AVSDirectory`.
3130

3231
*Entry Points*:
3332
* `RegistryCoordinator.registerOperator`
3433
* `RegistryCoordinator.registerOperatorWithChurn`
3534

3635
*Effects*:
37-
* See EigenLayer core: [`DelegationManager.registerOperatorToAVS`][core-dmgr-register]
36+
* See EigenLayer core: [`AVSDirectory.registerOperatorToAVS`][core-registerToAVS]
3837

3938
*Requirements*:
4039
* Caller MUST be the `RegistryCoordinator`
41-
* See EigenLayer core: [`DelegationManager.registerOperatorToAVS`][core-dmgr-register]
40+
* See EigenLayer core: [`AVSDirectory.registerOperatorToAVS`][core-registerToAVS]
4241

4342
#### `deregisterOperatorFromAVS`
4443

@@ -51,7 +50,7 @@ function deregisterOperatorFromAVS(
5150
onlyRegistryCoordinator
5251
```
5352

54-
When the `RegistryCoordinator` deregisters an operator from an AVS, it calls this method on `ServiceManagerBase`, which forwards the call to the EigenLayer core contract, the `DelegationManager`.
53+
When the `RegistryCoordinator` deregisters an operator from an AVS, it calls this method on `ServiceManagerBase`, which forwards the call to the EigenLayer core contract, the `AVSDirectory`.
5554

5655
*Entry Points*:
5756
* `RegistryCoordinator.registerOperatorWithChurn`
@@ -61,8 +60,8 @@ When the `RegistryCoordinator` deregisters an operator from an AVS, it calls thi
6160
* `RegistryCoordinator.updateOperatorsForQuorum`
6261

6362
*Effects*:
64-
* See EigenLayer core: [`DelegationManager.deregisterOperatorFromAVS`][core-dmgr-deregister]
63+
* See EigenLayer core: [`AVSDirectory.deregisterOperatorFromAVS`][core-deregisterFromAVS]
6564

6665
*Requirements*:
6766
* Caller MUST be the `RegistryCoordinator`
68-
* See EigenLayer core: [`DelegationManager.deregisterOperatorFromAVS`][core-dmgr-deregister]
67+
* See EigenLayer core: [`AVSDirectory.deregisterOperatorFromAVS`][core-dmgr-deregister]

docs/registries/StakeRegistry.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[core-docs-m2]: https://github.com/Layr-Labs/eigenlayer-contracts/tree/m2-mainnet/docs
1+
[core-docs-dev]: https://github.com/Layr-Labs/eigenlayer-contracts/tree/dev/docs
22

33
## StakeRegistry
44

@@ -26,7 +26,7 @@ For a given quorum, an Operator's stake weight is determined by iterating over t
2626

2727
Note that the `RegistryCoordinator` Owner also configures a "minimum stake" for each quorum, which an Operator must meet in order to register for (or remain registered for) a quorum.
2828

29-
For more information on the `DelegationManager`, strategies, and shares, see the [EigenLayer core docs][core-docs-m2].
29+
For more information on the `DelegationManager`, strategies, and shares, see the [EigenLayer core docs][core-docs-dev].
3030

3131
#### High-level Concepts
3232

0 commit comments

Comments
 (0)