diff --git a/op-chain-ops/cmd/check-ecotone/main.go b/op-chain-ops/cmd/check-ecotone/main.go index 711a090aa04f..dcdc4c3a29fb 100644 --- a/op-chain-ops/cmd/check-ecotone/main.go +++ b/op-chain-ops/cmd/check-ecotone/main.go @@ -667,7 +667,7 @@ func checkUpgradeTxs(ctx context.Context, env *actionEnv) error { if err != nil { return fmt.Errorf("failed to create eth client") } - activBlock, txs, err := l2EthCl.InfoAndTxsByNumber(ctx, activationBlockNum) + activeBlock, txs, err := l2EthCl.InfoAndTxsByNumber(ctx, activationBlockNum) if err != nil { return fmt.Errorf("failed to get activation block: %w", err) } @@ -679,7 +679,7 @@ func checkUpgradeTxs(ctx context.Context, env *actionEnv) error { return fmt.Errorf("unexpected non-deposit tx in activation block, index %d, hash %s", i, tx.Hash()) } } - _, receipts, err := l2EthCl.FetchReceipts(ctx, activBlock.Hash()) + _, receipts, err := l2EthCl.FetchReceipts(ctx, activeBlock.Hash()) if err != nil { return fmt.Errorf("failed to fetch receipts of activation block: %w", err) } @@ -725,11 +725,11 @@ func checkGPO(ctx context.Context, env *actionEnv) error { } _, err = cl.Overhead(nil) if err == nil || !strings.Contains(err.Error(), "revert") { - return fmt.Errorf("expected revert on legacy overhead attribute acccess, but got %w", err) + return fmt.Errorf("expected revert on legacy overhead attribute access, but got %w", err) } _, err = cl.Scalar(nil) if err == nil || !strings.Contains(err.Error(), "revert") { - return fmt.Errorf("expected revert on legacy scalar attribute acccess, but got %w", err) + return fmt.Errorf("expected revert on legacy scalar attribute access, but got %w", err) } isEcotone, err := cl.IsEcotone(nil) if err != nil { diff --git a/op-chain-ops/genesis/config.go b/op-chain-ops/genesis/config.go index 6568b4eb8eba..eb4aef48b927 100644 --- a/op-chain-ops/genesis/config.go +++ b/op-chain-ops/genesis/config.go @@ -444,7 +444,7 @@ func (d *DeployConfig) Check() error { return fmt.Errorf("%w: DAResolveWindow cannot be 0 when using alt-da mode", ErrInvalidDeployConfig) } if !(d.DACommitmentType == plasma.KeccakCommitmentString || d.DACommitmentType == plasma.GenericCommitmentString) { - return fmt.Errorf("%w: DACommitmentType must be either KeccakCommtiment or GenericCommitment", ErrInvalidDeployConfig) + return fmt.Errorf("%w: DACommitmentType must be either KeccakCommitment or GenericCommitment", ErrInvalidDeployConfig) } } if d.UseCustomGasToken { diff --git a/op-chain-ops/genesis/testdata/test-deploy-config-full.json b/op-chain-ops/genesis/testdata/test-deploy-config-full.json index c0aefac625ff..39c9ff505238 100644 --- a/op-chain-ops/genesis/testdata/test-deploy-config-full.json +++ b/op-chain-ops/genesis/testdata/test-deploy-config-full.json @@ -88,7 +88,7 @@ "useFaultProofs": false, "usePlasma": false, "daBondSize": 0, - "daCommitmentType": "KeccakCommtiment", + "daCommitmentType": "KeccakCommitment", "daChallengeProxy": "0x0000000000000000000000000000000000000000", "daChallengeWindow": 0, "daResolveWindow": 0,