Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
pschork committed Aug 15, 2024
1 parent 8aec2c8 commit caaf7a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions disperser/cmd/batcher/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ type Config struct {
BLSOperatorStateRetrieverAddr string
EigenDAServiceManagerAddr string

EnableMinibatch bool

EnableGnarkBundleEncoding bool
}

Expand Down
4 changes: 2 additions & 2 deletions disperser/cmd/batcher/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@ func RunBatcher(ctx *cli.Context) error {
return err
}

if config.EnableMinibatch && config.MinibatchStoreConfig.TableName == "" {
if config.BatcherConfig.EnableMinibatch && config.MinibatchStoreConfig.TableName == "" {
return errors.New("minibatch store table name required when minibatch is enabled")
}
logger.Info("Minibatch", "enabled", config.EnableMinibatch, "table", config.MinibatchStoreConfig.TableName)
logger.Info("Minibatcher", "enabled", config.BatcherConfig.EnableMinibatch, "batchstore", config.MinibatchStoreConfig.TableName)

bucketName := config.BlobstoreConfig.BucketName
s3Client, err := s3.NewClient(context.Background(), config.AwsClientConfig, logger)
Expand Down

0 comments on commit caaf7a1

Please sign in to comment.