Skip to content
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

RegistryCoordinator using setAvs instead of setAccountIdentifier #365

Draft
wants to merge 10 commits into
base: dev
Choose a base branch
from
2 changes: 1 addition & 1 deletion crates/chainio/clients/avsregistry/src/writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ impl AvsRegistryChainWriter {
let provider = get_signer(&self.signer.clone(), &self.provider);

RegistryCoordinator::new(self.registry_coordinator_addr, provider)
.setAccountIdentifier(new_account_identifier)
.setAvs(new_account_identifier)
.send()
.await
.map_err(AvsRegistryError::AlloyContractError)
Expand Down
2 changes: 1 addition & 1 deletion crates/operator_sets_contracts/lib/eigenlayer-middleware
Submodule eigenlayer-middleware updated 65 files
+11 −0 .github/pull_request_template.md
+49 −0 .github/workflows/forge-test-intense.yml
+10 −58 .github/workflows/foundry.yml
+5 −3 foundry.toml
+1 −1 lib/eigenlayer-contracts
+0 −5 remappings.txt
+1 −3 src/BLSApkRegistry.sol
+6 −1 src/BLSSignatureChecker.sol
+8 −10 src/EjectionManager.sol
+7 −4 src/EjectionManagerStorage.sol
+172 −96 src/RegistryCoordinator.sol
+69 −0 src/RegistryCoordinatorStorage.sol
+203 −228 src/SlashingRegistryCoordinator.sol
+4 −16 src/SlashingRegistryCoordinatorStorage.sol
+12 −23 src/SocketRegistry.sol
+21 −7 src/SocketRegistryStorage.sol
+92 −81 src/StakeRegistry.sol
+2 −2 src/StakeRegistryStorage.sol
+2 −0 src/interfaces/IBLSApkRegistry.sol
+4 −4 src/interfaces/IEjectionManager.sol
+18 −0 src/interfaces/IInstantSlasher.sol
+13 −7 src/interfaces/IRegistryCoordinator.sol
+0 −2 src/interfaces/IServiceManager.sol
+12 −65 src/interfaces/ISlasher.sol
+39 −57 src/interfaces/ISlashingRegistryCoordinator.sol
+18 −4 src/interfaces/ISocketRegistry.sol
+12 −19 src/interfaces/IStakeRegistry.sol
+86 −0 src/interfaces/IVetoableSlasher.sol
+8 −0 src/libraries/BitmapUtils.sol
+10 −11 src/slashers/InstantSlasher.sol
+63 −33 src/slashers/VetoableSlasher.sol
+19 −15 src/slashers/base/SlasherBase.sol
+11 −10 src/slashers/base/SlasherStorage.sol
+6 −3 test/ffi/UpdateOperators.t.sol
+22 −13 test/harnesses/RegistryCoordinatorHarness.t.sol
+8 −2 test/integration/CoreRegistration.t.sol
+39 −10 test/integration/IntegrationBase.t.sol
+25 −3 test/integration/IntegrationChecks.t.sol
+68 −8 test/integration/IntegrationConfig.t.sol
+111 −21 test/integration/IntegrationDeployer.t.sol
+279 −0 test/integration/OperatorSetUser.t.sol
+99 −59 test/integration/User.t.sol
+6 −3 test/integration/tests/Full_Register_Deregister.t.sol
+10 −5 test/integration/tests/NonFull_Register_CoreBalanceChange_Update.t.sol
+6 −3 test/integration/tests/NonFull_Register_Deregister.t.sol
+8 −0 test/mocks/AVSRegistrarMock.sol
+15 −1 test/mocks/DelegationMock.sol
+3 −3 test/mocks/RewardsCoordinatorMock.sol
+6 −6 test/mocks/StakeRegistryMock.sol
+2 −0 test/unit/AVSRegistrar.t.sol
+29 −0 test/unit/BLSApkRegistryUnit.t.sol
+71 −0 test/unit/BLSSignatureCheckerUnit.t.sol
+217 −192 test/unit/ECDSAServiceManager.t.sol
+405 −0 test/unit/InstantSlasher.t.sol
+78 −0 test/unit/OperatorStateRetrieverUnit.t.sol
+82 −86 test/unit/RegistryCoordinatorUnit.t.sol
+384 −0 test/unit/ServiceManagerBase.t.sol
+8 −5 test/unit/SocketRegistryUnit.t.sol
+55 −23 test/unit/StakeRegistryUnit.t.sol
+505 −0 test/unit/VetoableSlasher.t.sol
+337 −0 test/utils/BN256G2.sol
+345 −271 test/utils/CoreDeployLib.sol
+198 −0 test/utils/MiddlewareDeployLib.sol
+17 −1 test/utils/MockAVSDeployer.sol
+119 −0 test/utils/OperatorWalletLib.sol
Loading