Skip to content

Commit

Permalink
chore: fix some typos in comment (#414)
Browse files Browse the repository at this point in the history
Signed-off-by: dashangcun <[email protected]>
  • Loading branch information
dashangcun authored Jan 13, 2025
1 parent b2a9b2c commit 92259f5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion kroma-bindings/bindings/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion kroma-validator/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion packages/core-utils/src/kroma/deposit-transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()}`)
Expand Down

0 comments on commit 92259f5

Please sign in to comment.