Skip to content

Commit

Permalink
Merge pull request #822 from forta-network/caner/fix-trace-inspection
Browse files Browse the repository at this point in the history
Fix trace API inspection
  • Loading branch information
canercidam authored Oct 25, 2023
2 parents dc81e60 + d18d1cc commit 4e363cf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmd/scanner/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func initTxStream(ctx context.Context, ethClient, traceClient ethereum.Client, c
})

// subscribe to block feed to construct a timeline and estimate performance
blockTimeline := timeline.NewBlockTimeline(10, cfg.ChainID)
blockTimeline := timeline.NewBlockTimeline(cfg.ChainID, 5)
blockFeed.Subscribe(blockTimeline.HandleBlock)
estimator := estimation.NewEstimator(blockTimeline)

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ replace github.com/docker/docker => github.com/moby/moby v20.10.25+incompatible
require (
github.com/docker/docker v1.6.2
github.com/docker/go-connections v0.4.0
github.com/forta-network/forta-core-go v0.0.0-20231021103118-77776915d2de
github.com/forta-network/forta-core-go v0.0.0-20231025171710-31168711357f
github.com/prometheus/client_golang v1.14.0
github.com/prometheus/client_model v0.3.0
github.com/prometheus/common v0.39.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,8 @@ github.com/flynn/noise v0.0.0-20180327030543-2492fe189ae6/go.mod h1:1i71OnUq3iUe
github.com/flynn/noise v1.0.0 h1:DlTHqmzmvcEiKj+4RYo/imoswx/4r6iBlCMfVtrMXpQ=
github.com/flynn/noise v1.0.0/go.mod h1:xbMo+0i6+IGbYdJhF31t2eR1BIU0CYc12+BNAKwUTag=
github.com/fogleman/gg v1.2.1-0.20190220221249-0403632d5b90/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k=
github.com/forta-network/forta-core-go v0.0.0-20231021103118-77776915d2de h1:1tcQwQdZT4FpttrzHlujMB+RELgPMjzGyVTSm6H5VYY=
github.com/forta-network/forta-core-go v0.0.0-20231021103118-77776915d2de/go.mod h1:F4O7Yxhs0WSB9iFLiCVSYMPI1wOKuLMZIk8dbVg+J/Y=
github.com/forta-network/forta-core-go v0.0.0-20231025171710-31168711357f h1:F/aKPjIAAijk7pakzSkkBrKg5tUTkhBSZLrzTNc5I20=
github.com/forta-network/forta-core-go v0.0.0-20231025171710-31168711357f/go.mod h1:F4O7Yxhs0WSB9iFLiCVSYMPI1wOKuLMZIk8dbVg+J/Y=
github.com/forta-network/go-multicall v0.0.0-20230609185354-1436386c6707 h1:f6I7K43i2m6AwHSsDxh0Mf3qFzYt8BKnabSl/zGFmh0=
github.com/forta-network/go-multicall v0.0.0-20230609185354-1436386c6707/go.mod h1:nqTUF1REklpWLZ/M5HfzqhSHNz4dPVKzJvbLziqTZpw=
github.com/fortytw2/leaktest v1.3.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g=
Expand Down

0 comments on commit 4e363cf

Please sign in to comment.