Skip to content

Commit

Permalink
Fix for multiple keys (#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
shayanb authored May 9, 2024
1 parent 0aabf56 commit 0057ba4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/BatchRegisterValidator.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ contract BatchRegisterValidator is Script {
_validateBalances(registrationFiles.length, vtAmount);

for (uint256 i = 0; i < registrationFiles.length; ++i) {
registrationJson = vm.readFile(registrationFiles[0].path);
registrationJson = vm.readFile(registrationFiles[i].path);

bytes32 moduleName = stdJson.readBytes32(registrationJson, ".module_name");
bytes memory withdrawalCredentials = stdJson.readBytes(registrationJson, ".withdrawal_credentials");
Expand Down

0 comments on commit 0057ba4

Please sign in to comment.