Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions scripts/multiproof/DeployDevNoNitro.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ contract DeployDevNoNitro is Script {

_deployInfrastructure(gameType);
_deployTEEContracts(cfg.finalSystemOwner());
_registerProposer(cfg.teeProposer());
_deployAggregateVerifier(gameType);

vm.stopBroadcast();
Expand All @@ -133,7 +132,9 @@ contract DeployDevNoNitro is Script {
address scgImpl = address(new DevTEEProverRegistry(INitroEnclaveVerifier(address(0))));
teeProverRegistryProxy = address(
new TransparentUpgradeableProxy(
scgImpl, address(0xdead), abi.encodeCall(TEEProverRegistry.initialize, (owner, owner))
scgImpl,
address(0xdead),
abi.encodeCall(TEEProverRegistry.initialize, (owner, owner, cfg.teeProposer()))
)
);
console.log("DevTEEProverRegistry:", teeProverRegistryProxy);
Expand Down
5 changes: 3 additions & 2 deletions scripts/multiproof/DeployDevWithNitro.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ contract DeployDevWithNitro is Script {

_deployInfrastructure(gameType);
_deployTEEContracts(cfg.finalSystemOwner(), cfg.nitroEnclaveVerifier());
_registerProposer(cfg.teeProposer());
_deployAggregateVerifier(gameType);

vm.stopBroadcast();
Expand All @@ -168,7 +167,9 @@ contract DeployDevWithNitro is Script {
console.log("NitroEnclaveVerifier (external):", _nitroEnclaveVerifier);
teeProverRegistryProxy = address(
new TransparentUpgradeableProxy(
scgImpl, address(0xdead), abi.encodeCall(TEEProverRegistry.initialize, (owner, owner))
scgImpl,
address(0xdead),
abi.encodeCall(TEEProverRegistry.initialize, (owner, owner, cfg.teeProposer()))
)
);
console.log("TEEProverRegistry:", teeProverRegistryProxy);
Expand Down
2 changes: 1 addition & 1 deletion snapshots/abi/AggregateVerifier.json
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,7 @@
{
"indexed": true,
"internalType": "address",
"name": "prover",
"name": "proposer",
"type": "address"
},
{
Expand Down
5 changes: 5 additions & 0 deletions snapshots/abi/DevTEEProverRegistry.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,11 @@
"internalType": "address",
"name": "initialManager",
"type": "address"
},
{
"internalType": "address",
"name": "initialProposer",
"type": "address"
}
],
"name": "initialize",
Expand Down
Loading
Loading