Skip to content

Commit c956d8d

Browse files
authored
fix: whitelist in mock l1 script (#700)
1 parent 36c7e27 commit c956d8d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

contracts/scripts/validator-registry/DeployForMockL1.s.sol

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ contract DeployForMockL1 is Script {
4545
console.log("VanillaRegistry deployed at:", vanillaRegistryProxy);
4646
VanillaRegistry vanillaRegistry = VanillaRegistry(payable(vanillaRegistryProxy));
4747

48+
address[] memory stakers = new address[](1);
49+
stakers[0] = owner;
50+
vanillaRegistry.whitelistStakers(stakers);
51+
4852
console.log("Deploying mock AVS and Middleware contracts...");
4953
AlwaysFalseAVS mockAVS = new AlwaysFalseAVS();
5054
AlwaysFalseMiddleware mockMiddleware = new AlwaysFalseMiddleware();

0 commit comments

Comments
 (0)