Skip to content

Commit

Permalink
update submodule of middleware to m2
Browse files Browse the repository at this point in the history
  • Loading branch information
supernovahs committed Jun 14, 2024
1 parent 0b7058d commit ab25436
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[submodule "crates/contracts/bindings/utils/middleware"]
path = crates/contracts/bindings/utils/middleware
url = [email protected]:Layr-Labs/eigenlayer-middleware.git
branch = m2-mainnet
2 changes: 1 addition & 1 deletion crates/contracts/bindings/utils/middleware
Submodule middleware updated 66 files
+6 −0 foundry.toml
+1 −1 lib/eigenlayer-contracts
+2 −2 script/ServiceManagerRouterDeploy.s.sol
+1 −1 src/BLSApkRegistry.sol
+1 −1 src/BLSApkRegistryStorage.sol
+1 −1 src/BLSSignatureChecker.sol
+1 −1 src/IndexRegistry.sol
+1 −1 src/IndexRegistryStorage.sol
+1 −1 src/OperatorStateRetriever.sol
+1 −1 src/RegistryCoordinator.sol
+2 −2 src/RegistryCoordinatorStorage.sol
+1 −1 src/ServiceManagerBase.sol
+2 −2 src/ServiceManagerRouter.sol
+1 −1 src/StakeRegistry.sol
+1 −1 src/StakeRegistryStorage.sol
+1 −1 src/interfaces/IBLSApkRegistry.sol
+1 −1 src/interfaces/IBLSSignatureChecker.sol
+2 −2 src/interfaces/IIndexRegistry.sol
+1 −1 src/interfaces/IRegistryCoordinator.sol
+1 −1 src/interfaces/ISocketUpdater.sol
+2 −2 src/interfaces/IStakeRegistry.sol
+1 −1 src/libraries/BN254.sol
+2 −2 src/libraries/BitmapUtils.sol
+1 −1 test/events/IBLSApkRegistryEvents.sol
+1 −1 test/events/IIndexRegistryEvents.sol
+2 −2 test/events/IStakeRegistryEvents.sol
+1 −1 test/ffi/BLSPubKeyCompendiumFFI.t.sol
+1 −1 test/ffi/BLSSignatureCheckerFFI.t.sol
+2 −2 test/ffi/UpdateOperators.t.sol
+1 −1 test/ffi/util/G2Operations.sol
+1 −1 test/harnesses/BLSApkRegistryHarness.sol
+1 −1 test/harnesses/BitmapUtilsWrapper.sol
+1 −1 test/harnesses/RegistryCoordinatorHarness.t.sol
+1 −1 test/harnesses/StakeRegistryHarness.sol
+1 −1 test/integration/CoreRegistration.t.sol
+2 −2 test/integration/IntegrationBase.t.sol
+2 −2 test/integration/IntegrationChecks.t.sol
+2 −2 test/integration/IntegrationConfig.t.sol
+1 −1 test/integration/IntegrationDeployer.t.sol
+2 −2 test/integration/TimeMachine.t.sol
+2 −2 test/integration/User.t.sol
+2 −2 test/integration/mocks/BeaconChainOracleMock.t.sol
+2 −2 test/integration/tests/Full_Register_Deregister.t.sol
+2 −2 test/integration/tests/NonFull_Register_CoreBalanceChange_Update.t.sol
+2 −2 test/integration/tests/NonFull_Register_Deregister.t.sol
+2 −2 test/integration/utils/BitmapStrings.t.sol
+2 −2 test/integration/utils/Sort.t.sol
+1 −1 test/mocks/AVSDirectoryMock.sol
+2 −2 test/mocks/DelegationMock.sol
+1 −1 test/mocks/RegistryCoordinatorMock.sol
+1 −1 test/mocks/ServiceManagerMock.sol
+1 −1 test/mocks/StakeRegistryMock.sol
+1 −1 test/unit/BLSApkRegistryUnit.t.sol
+1 −1 test/unit/BLSSignatureCheckerUnit.t.sol
+1 −1 test/unit/BitmapUtils.t.sol
+2 −2 test/unit/OperatorStateRetrieverUnit.t.sol
+1 −1 test/unit/RegistryCoordinatorUnit.t.sol
+2 −2 test/unit/ServiceManagerRouter.t.sol
+1 −1 test/unit/StakeRegistryUnit.t.sol
+1 −1 test/unit/Utils.sol
+1 −1 test/utils/BLSMockAVSDeployer.sol
+1 −1 test/utils/MockAVSDeployer.sol
+1 −1 test/utils/Operators.sol
+1 −1 test/utils/Owners.sol
+1 −1 test/utils/ProofParsing.sol
+1 −1 test/utils/SignatureCompaction.sol
13 changes: 13 additions & 0 deletions crates/utils/src/binding.rs
Original file line number Diff line number Diff line change
@@ -1,26 +1,30 @@
use alloy_sol_types::sol;

// https://github.com/Layr-Labs/eigenlayer-middleware/blob/m2-mainnet/src/StakeRegistry.sol
sol!(
#[allow(missing_docs)]
#[sol(rpc)]
StakeRegistry,
"../../crates/contracts/bindings/utils/json/StakeRegistry.json"
);

// https://github.com/Layr-Labs/eigenlayer-middleware/blob/m2-mainnet/src/RegistryCoordinator.sol
sol!(
#[allow(missing_docs)]
#[sol(rpc)]
RegistryCoordinator,
"../../crates/contracts/bindings/utils/json/RegistryCoordinator.json"
);

// https://github.com/Layr-Labs/eigenlayer-middleware/blob/m2-mainnet/src/OperatorStateRetriever.sol
sol!(
#[allow(missing_docs)]
#[sol(rpc)]
OperatorStateRetriever,
"../../crates/contracts/bindings/utils/json/OperatorStateRetriever.json"
);

// https://github.com/Layr-Labs/eigenlayer-middleware/blob/m2-mainnet/src/BLSApkRegistry.sol
sol!(
#[allow(missing_docs)]
#[derive(Debug)]
Expand All @@ -29,62 +33,71 @@ sol!(
"../../crates/contracts/bindings/utils/json/BLSApkRegistry.json"
);

// https://github.com/Layr-Labs/eigenlayer-middleware/blob/m2-mainnet/src/ServiceManagerBase.sol
sol!(
#[allow(missing_docs)]
#[sol(rpc)]
ServiceManagerBase,
"../../crates/contracts/bindings/utils/json/ServiceManagerBase.json"
);

// https://github.com/Layr-Labs/eigenlayer-contracts/blob/mainnet/src/contracts/core/AVSDirectory.sol
sol!(
#[allow(missing_docs)]
#[sol(rpc)]
AVSDirectory,
"../../crates/contracts/bindings/utils/json/AVSDirectory.json"
);

// https://github.com/Layr-Labs/eigenlayer-contracts/blob/mainnet/src/contracts/core/DelegationManager.sol
sol!(
#[allow(missing_docs)]
#[sol(rpc)]
DelegationManager,
"../../crates/contracts/bindings/utils/json/DelegationManager.json"
);

// https://github.com/Layr-Labs/eigenlayer-contracts/blob/mainnet/src/contracts/interfaces/ISlasher.sol
sol!(
#[allow(missing_docs)]
#[sol(rpc)]
ISlasher,
"../../crates/contracts/bindings/utils/json/ISlasher.json"
);

// https://github.com/Layr-Labs/eigenlayer-contracts/blob/mainnet/src/contracts/interfaces/IStrategy.sol
sol!(
#[allow(missing_docs)]
#[sol(rpc)]
IStrategy,
"../../crates/contracts/bindings/utils/json/IStrategy.json"
);

// standard
sol!(
#[allow(missing_docs)]
#[sol(rpc)]
IERC20,
"../../crates/contracts/bindings/utils/json/IERC20.json"
);

// https://github.com/Layr-Labs/eigenlayer-contracts/blob/mainnet/src/contracts/core/StrategyManager.sol
sol!(
#[allow(missing_docs)]
#[sol(rpc)]
StrategyManager,
"../../crates/contracts/bindings/utils/json/StrategyManager.json"
);

// https://github.com/Layr-Labs/eigenlayer-contracts/blob/mainnet/src/contracts/interfaces/IAVSDirectory.sol
sol!(
#[allow(missing_docs)]
#[sol(rpc)]
IAVSDirectory,
"../../crates/contracts/bindings/utils/json/IAVSDirectory.json"
);

// https://github.com/Layr-Labs/eigenlayer-middleware/blob/mainnet/src/unaudited/ECDSAStakeRegistry.sol
sol!(
#[allow(missing_docs)]
#[sol(rpc)]
Expand Down

0 comments on commit ab25436

Please sign in to comment.