Skip to content

Commit 3ab5752

Browse files
fix: some normative recommendations (#1547)
Co-authored-by: 0xmountaintop <[email protected]>
1 parent c4ba0f9 commit 3ab5752

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

common/testcontainers/testcontainers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ func (t *TestcontainerApps) GetL2GethEndPoint() (string, error) {
195195
return endpoint, nil
196196
}
197197

198-
// GetL2GethEndPoint returns the endpoint of the running L2Geth container
198+
// GetWeb3SignerEndpoint returns the endpoint of the running L2Geth container
199199
func (t *TestcontainerApps) GetWeb3SignerEndpoint() (string, error) {
200200
if t.web3SignerContainer == nil || !t.web3SignerContainer.IsRunning() {
201201
return "", errors.New("web3signer is not running")

coordinator/internal/types/prover.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ const (
3030
)
3131

3232
// MakeProverType make ProverType from ProofType
33-
func MakeProverType(proof_type message.ProofType) ProverType {
34-
switch proof_type {
33+
func MakeProverType(proofType message.ProofType) ProverType {
34+
switch proofType {
3535
case message.ProofTypeChunk:
3636
return ProverTypeChunk
3737
case message.ProofTypeBatch, message.ProofTypeBundle:

rollup/internal/controller/sender/sender.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const (
3838
)
3939

4040
var (
41-
// ErrTooManyPendingBlobTxs
41+
// ErrTooManyPendingBlobTxs error for too many pending blob txs
4242
ErrTooManyPendingBlobTxs = errors.New("the limit of pending blob-carrying transactions has been exceeded")
4343
)
4444

rollup/internal/controller/sender/transaction_signer.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ import (
1717
)
1818

1919
const (
20-
// PrivateKeySignerType
20+
// PrivateKeySignerType is the type of signer that uses a private key to sign transactions
2121
PrivateKeySignerType = "PrivateKey"
2222

23-
// RemoteSignerType
23+
// RemoteSignerType is the type of signer that uses a remote signer to sign transactions
2424
RemoteSignerType = "RemoteSigner"
2525
)
2626

0 commit comments

Comments
 (0)