Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style(op-batcher,op-chain-ops): correct comment naming #10816

Merged
merged 1 commit into from
Jun 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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