Skip to content

Commit

Permalink
feat: Remove useFaultProofs branch in Deploy._run()
Browse files Browse the repository at this point in the history
  • Loading branch information
maurelian committed Jan 2, 2025
1 parent c2ccfe1 commit e31b655
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions packages/contracts-bedrock/scripts/deploy/Deploy.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -207,14 +207,12 @@ contract Deploy is Deployer {
// Deploy Current OPChain Contracts
deployOpChain();

// Apply modifications for non-standard configurations not supported by the OPCM deployment
if (cfg.useFaultProofs()) {
vm.startPrank(ISuperchainConfig(mustGetAddress("SuperchainConfigProxy")).guardian());
IOptimismPortal2(mustGetAddress("OptimismPortalProxy")).setRespectedGameType(
GameType.wrap(uint32(cfg.respectedGameType()))
);
vm.stopPrank();
}
// Set the respected game type according to the deploy config
vm.startPrank(ISuperchainConfig(mustGetAddress("SuperchainConfigProxy")).guardian());
IOptimismPortal2(mustGetAddress("OptimismPortalProxy")).setRespectedGameType(
GameType.wrap(uint32(cfg.respectedGameType()))
);
vm.stopPrank();

if (cfg.useCustomGasToken()) {
// Reset the systemconfig then reinitialize it with the custom gas token
Expand Down

0 comments on commit e31b655

Please sign in to comment.