Skip to content

Commit

Permalink
fix poller flag
Browse files Browse the repository at this point in the history
  • Loading branch information
sduchesneau committed Dec 17, 2024
1 parent bd86bfa commit 797b6e4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). See [MAINTAINERS.md](./MAINTAINERS.md)
for instructions to keep up to date.

## v2.8.3

* Fix broken `tools poller` command in v2.8.2

## v2.8.2

> [!WARNING]
> Do NOT use this version with `tools poller`, a flag issue prevents the poller from starting up. Recommended that you upgrade to v2.8.3 ASAP
* Bump firehose-core to [v1.6.8](https://github.com/streamingfast/firehose-core/releases/tag/v1.6.8)
* Substreams: add `--substreams-tier1-enforce-compression` to reject connections from clients that do not support GZIP compression
* Substreams performance: reduced the number of mallocs (patching some third-party libraries)
Expand Down
2 changes: 2 additions & 0 deletions cmd/fireeth/poller.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ func newOptimismPollerCmd(logger *zap.Logger, tracer logging.Tracer) *cobra.Comm
RunE: pollerRunE(logger, tracer),
}
cmd.Flags().Duration("interval-between-fetch", 0, "interval between fetch")
cmd.Flags().Duration("max-block-fetch-duration", 5*time.Second, "maximum delay before retrying a block fetch")

return cmd
}
Expand All @@ -50,6 +51,7 @@ func newArbOnePollerCmd(logger *zap.Logger, tracer logging.Tracer) *cobra.Comman
RunE: pollerRunE(logger, tracer),
}
cmd.Flags().Duration("interval-between-fetch", 0, "interval between fetch")
cmd.Flags().Duration("max-block-fetch-duration", 5*time.Second, "maximum delay before retrying a block fetch")

return cmd
}
Expand Down

0 comments on commit 797b6e4

Please sign in to comment.