From 940d00f0ac0abf1fa4c98d37db73dc82b64e3c92 Mon Sep 17 00:00:00 2001 From: alan <652732310@qq.com> Date: Mon, 13 Jan 2025 23:04:33 +0800 Subject: [PATCH] clear some unused XXXScript --- op-deployer/pkg/deployer/opcm/dispute_game.go | 4 ---- op-deployer/pkg/deployer/opcm/mips.go | 4 ---- op-deployer/pkg/deployer/opcm/proxy.go | 4 ---- op-deployer/pkg/deployer/opcm/superchain.go | 4 ---- 4 files changed, 16 deletions(-) diff --git a/op-deployer/pkg/deployer/opcm/dispute_game.go b/op-deployer/pkg/deployer/opcm/dispute_game.go index 045091f760dc..8ab20a8dea68 100644 --- a/op-deployer/pkg/deployer/opcm/dispute_game.go +++ b/op-deployer/pkg/deployer/opcm/dispute_game.go @@ -36,10 +36,6 @@ func (output *DeployDisputeGameOutput) CheckOutput(input common.Address) error { return nil } -type DeployDisputeGameScript struct { - Run func(input, output common.Address) error -} - func DeployDisputeGame( host *script.Host, input DeployDisputeGameInput, diff --git a/op-deployer/pkg/deployer/opcm/mips.go b/op-deployer/pkg/deployer/opcm/mips.go index 520412aa102d..d9a25b90353a 100644 --- a/op-deployer/pkg/deployer/opcm/mips.go +++ b/op-deployer/pkg/deployer/opcm/mips.go @@ -15,10 +15,6 @@ type DeployMIPSOutput struct { MipsSingleton common.Address } -type DeployMIPSScript struct { - Run func(input, output common.Address) error -} - func DeployMIPS( host *script.Host, input DeployMIPSInput, diff --git a/op-deployer/pkg/deployer/opcm/proxy.go b/op-deployer/pkg/deployer/opcm/proxy.go index ce463b1c2d1f..1991cd4b73a6 100644 --- a/op-deployer/pkg/deployer/opcm/proxy.go +++ b/op-deployer/pkg/deployer/opcm/proxy.go @@ -18,10 +18,6 @@ type DeployProxyOutput struct { Proxy common.Address } -type DeployProxyScript struct { - Run func(input, output common.Address) error -} - func DeployProxy( host *script.Host, input DeployProxyInput, diff --git a/op-deployer/pkg/deployer/opcm/superchain.go b/op-deployer/pkg/deployer/opcm/superchain.go index 4bd918757ff9..35811bd69340 100644 --- a/op-deployer/pkg/deployer/opcm/superchain.go +++ b/op-deployer/pkg/deployer/opcm/superchain.go @@ -37,10 +37,6 @@ func (output *DeploySuperchainOutput) CheckOutput(input common.Address) error { return nil } -type DeploySuperchainScript struct { - Run func(in common.Address, out common.Address) error -} - type DeploySuperchainOpts struct { ChainID *big.Int ArtifactsFS foundry.StatDirFs