File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -9,11 +9,8 @@ import "../src/gnosh/Sequencer.sol";
9
9
import "../src/gnosh/ValidatorRegistry.sol " ;
10
10
11
11
contract Deploy is Script {
12
- uint256 deployerPrivateKey;
13
- address deployerAddress;
14
- function deployKeyperSetManager () public returns (KeyperSetManager) {
12
+ function deployKeyperSetManager (address deployerAddress ) public returns (KeyperSetManager) {
15
13
16
- deployerAddress = vm.addr (deployerPrivateKey);
17
14
KeyperSetManager ksm = new KeyperSetManager (deployerAddress);
18
15
19
16
// add bootstrap keyper set
@@ -51,7 +48,7 @@ contract Deploy is Script {
51
48
console.log ("Deployer: " , deployerAddress);
52
49
vm.startBroadcast (deployKey);
53
50
54
- KeyperSetManager ksm = deployKeyperSetManager ();
51
+ KeyperSetManager ksm = deployKeyperSetManager (deployerAddress );
55
52
deployKeyBroadcastContract (ksm);
56
53
deploySequencer ();
57
54
deployValidatorRegistry ();
You can’t perform that action at this time.
0 commit comments