diff --git a/kroma-bindings/bindings/registry.go b/kroma-bindings/bindings/registry.go index b0b413ea0b..f503a1dcff 100644 --- a/kroma-bindings/bindings/registry.go +++ b/kroma-bindings/bindings/registry.go @@ -11,7 +11,7 @@ import ( "github.com/ethereum-optimism/optimism/op-bindings/solc" ) -// layouts respresents the set of storage layouts. It is populated in an init function. +// layouts represents the set of storage layouts. It is populated in an init function. var layouts = make(map[string]*solc.StorageLayout) // deployedBytecodes represents the set of deployed bytecodes. It is populated diff --git a/kroma-validator/config.go b/kroma-validator/config.go index ab53ad5844..5a5f296c7e 100644 --- a/kroma-validator/config.go +++ b/kroma-validator/config.go @@ -281,7 +281,7 @@ func NewValidatorConfig(cfg CLIConfig, l log.Logger, m metrics.Metricer) (*Confi } witnessGenSpec, err := witnessGenerator.Spec(ctx) if err != nil { - return nil, fmt.Errorf("failed to reqeust spec of witness generator: %w", err) + return nil, fmt.Errorf("failed to request spec of witness generator: %w", err) } if proverSpec.SP1Version != witnessGenSpec.SP1Version { return nil, errors.New("SP1 version of zkVM prover and witness generator mismatched") diff --git a/packages/core-utils/src/kroma/deposit-transaction.ts b/packages/core-utils/src/kroma/deposit-transaction.ts index 33a117f657..12896d66f3 100644 --- a/packages/core-utils/src/kroma/deposit-transaction.ts +++ b/packages/core-utils/src/kroma/deposit-transaction.ts @@ -225,7 +225,7 @@ export class DepositTx { throw new Error('"to" undefined') } if (typeof event.args.version === 'undefined') { - throw new Error(`"verison" undefined`) + throw new Error(`"version" undefined`) } if (!event.args.version.eq(0)) { throw new Error(`Unsupported version ${event.args.version.toString()}`)