Skip to content

Commit 5757758

Browse files
authored
chore: update deployment script (#18)
1 parent 9733011 commit 5757758

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

contracts/deployment-config/ECDSAConsumer.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

contracts/script/ECDSAConsumer.s.sol

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,7 @@ contract ECDSAConsumerScript is Script {
3939
}
4040
}
4141

42-
function run() external broadcast {
43-
string memory config = vm.readFile(configPath);
44-
45-
IKeystoreValidator validator = IKeystoreValidator(config.readAddress(".keystoreValidator"));
46-
validator.deployAndRegisterKeyDataConsumer(type(ECDSAConsumer).creationCode);
47-
48-
console.log("Consumer creation codehash");
49-
console2.logBytes32(keccak256(type(ECDSAConsumer).creationCode));
42+
function run() external broadcast returns (ECDSAConsumer consumer) {
43+
consumer = new ECDSAConsumer();
5044
}
5145
}

0 commit comments

Comments
 (0)