Skip to content

Commit adf9b08

Browse files
authored
refactor: correct comment naming (#10816)
1 parent 25ab232 commit adf9b08

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

op-batcher/batcher/channel_builder.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ type ChannelBuilder struct {
8282
outputBytes int
8383
}
8484

85-
// newChannelBuilder creates a new channel builder or returns an error if the
85+
// NewChannelBuilder creates a new channel builder or returns an error if the
8686
// channel out could not be created.
8787
// it acts as a factory for either a span or singular channel out
8888
func NewChannelBuilder(cfg ChannelConfig, rollupCfg rollup.Config, latestL1OriginBlockNum uint64) (*ChannelBuilder, error) {

op-batcher/batcher/tx_data.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ func (td *txData) Len() (l int) {
6262
return l
6363
}
6464

65-
// Frame returns the single frame of this tx data.
65+
// Frames returns the single frame of this tx data.
6666
func (td *txData) Frames() []frameData {
6767
return td.frames
6868
}

op-chain-ops/clients/clients.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"github.com/urfave/cli/v2"
1111
)
1212

13-
// clients represents a set of initialized RPC clients
13+
// Clients represents a set of initialized RPC clients
1414
type Clients struct {
1515
L1Client *ethclient.Client
1616
L2Client *ethclient.Client

op-chain-ops/foundry/artifact.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ type DeployedBytecode struct {
6666
ImmutableReferences json.RawMessage `json:"immutableReferences,omitempty"`
6767
}
6868

69-
// DeployedBytecode represents the bytecode section of the solc compiler output.
69+
// Bytecode represents the bytecode section of the solc compiler output.
7070
type Bytecode struct {
7171
SourceMap string `json:"sourceMap"`
7272
Object hexutil.Bytes `json:"object"`

0 commit comments

Comments
 (0)