Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaikocha committed Jan 4, 2025
1 parent 20a62e5 commit 797f43c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ require (
github.com/google/uuid v1.6.0
github.com/gorilla/websocket v1.5.3
github.com/joho/godotenv v1.5.1
github.com/labstack/echo-jwt/v4 v4.3.0
github.com/labstack/echo-contrib v0.17.2
github.com/labstack/echo-jwt/v4 v4.3.0
github.com/labstack/echo/v4 v4.13.3
github.com/labstack/gommon v0.4.2
github.com/modern-go/reflect2 v1.0.2
Expand Down
24 changes: 12 additions & 12 deletions packages/taiko-client/driver/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ import (
// Config contains the configurations to initialize a Taiko driver.
type Config struct {
*rpc.ClientConfig
P2PSync bool
P2PSyncTimeout time.Duration
RetryInterval time.Duration
MaxExponent uint64
BlobServerEndpoint *url.URL
SocialScanEndpoint *url.URL
P2PSync bool
P2PSyncTimeout time.Duration
RetryInterval time.Duration
MaxExponent uint64
BlobServerEndpoint *url.URL
SocialScanEndpoint *url.URL
SoftBlockServerPort uint64
SoftBlockServerJWTSecret []byte
SoftBlockServerCORSOrigins string
Expand Down Expand Up @@ -95,12 +95,12 @@ func NewConfigFromCliContext(c *cli.Context) (*Config, error) {
JwtSecret: string(jwtSecret),
Timeout: timeout,
},
RetryInterval: c.Duration(flags.BackOffRetryInterval.Name),
P2PSync: p2pSync,
P2PSyncTimeout: c.Duration(flags.P2PSyncTimeout.Name),
MaxExponent: c.Uint64(flags.MaxExponent.Name),
BlobServerEndpoint: blobServerEndpoint,
SocialScanEndpoint: socialScanEndpoint,
RetryInterval: c.Duration(flags.BackOffRetryInterval.Name),
P2PSync: p2pSync,
P2PSyncTimeout: c.Duration(flags.P2PSyncTimeout.Name),
MaxExponent: c.Uint64(flags.MaxExponent.Name),
BlobServerEndpoint: blobServerEndpoint,
SocialScanEndpoint: socialScanEndpoint,
SoftBlockServerPort: c.Uint64(flags.SoftBlockServerPort.Name),
SoftBlockServerJWTSecret: softBlockServerJWTSecret,
SoftBlockServerCORSOrigins: c.String(flags.SoftBlockServerCORSOrigins.Name),
Expand Down

0 comments on commit 797f43c

Please sign in to comment.