Skip to content

Commit

Permalink
refactor: correct comment naming (ethereum-optimism#10816)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoanguyenkh authored Jun 13, 2024
1 parent 25ab232 commit adf9b08
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion op-batcher/batcher/channel_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ type ChannelBuilder struct {
outputBytes int
}

// newChannelBuilder creates a new channel builder or returns an error if the
// NewChannelBuilder creates a new channel builder or returns an error if the
// channel out could not be created.
// it acts as a factory for either a span or singular channel out
func NewChannelBuilder(cfg ChannelConfig, rollupCfg rollup.Config, latestL1OriginBlockNum uint64) (*ChannelBuilder, error) {
Expand Down
2 changes: 1 addition & 1 deletion op-batcher/batcher/tx_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func (td *txData) Len() (l int) {
return l
}

// Frame returns the single frame of this tx data.
// Frames returns the single frame of this tx data.
func (td *txData) Frames() []frameData {
return td.frames
}
Expand Down
2 changes: 1 addition & 1 deletion op-chain-ops/clients/clients.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/urfave/cli/v2"
)

// clients represents a set of initialized RPC clients
// Clients represents a set of initialized RPC clients
type Clients struct {
L1Client *ethclient.Client
L2Client *ethclient.Client
Expand Down
2 changes: 1 addition & 1 deletion op-chain-ops/foundry/artifact.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ type DeployedBytecode struct {
ImmutableReferences json.RawMessage `json:"immutableReferences,omitempty"`
}

// DeployedBytecode represents the bytecode section of the solc compiler output.
// Bytecode represents the bytecode section of the solc compiler output.
type Bytecode struct {
SourceMap string `json:"sourceMap"`
Object hexutil.Bytes `json:"object"`
Expand Down

0 comments on commit adf9b08

Please sign in to comment.