Skip to content
This repository has been archived by the owner on Aug 26, 2024. It is now read-only.

Commit

Permalink
feat: add broadcaster setting to deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
bilbeyt committed Nov 14, 2023
1 parent 09ef45d commit a28ec69
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions script/deploy.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@ contract DeployAll is Script {
ValidatorRegistry public validatorRegistry;

function deployKeyperSet() public {
address broadcaster = vm.envAddress("BROADCASTER");
keyperSet = new KeyperSet();
address[] memory members = new address[](3);
members[0] = address(1);
members[1] = address(2);
members[2] = address(3);
keyperSet.addMembers(members);
keyperSet.setKeyBroadcaster(broadcaster);
keyperSet.setFinalized();
}

Expand Down

0 comments on commit a28ec69

Please sign in to comment.