-
Notifications
You must be signed in to change notification settings - Fork 956
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: bump go-header with bifurcation #3982
base: main
Are you sure you want to change the base?
Conversation
@@ -121,9 +121,9 @@ func TestConstructModule_ExchangeParams(t *testing.T) { | |||
) | |||
require.NoError(t, app.Err()) | |||
require.Equal(t, exchange.Params.MaxHeadersPerRangeRequest, cfg.Client.MaxHeadersPerRangeRequest) | |||
require.Equal(t, exchange.Params.RangeRequestTimeout, cfg.Client.RangeRequestTimeout) | |||
require.Equal(t, exchange.Params.RequestTimeout, cfg.Client.RequestTimeout) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We changed name of the field in celestiaorg/go-header#194
@@ -200,6 +200,9 @@ func (s *Swamp) DefaultTestConfig(tp node.Type) *nodebuilder.Config { | |||
|
|||
cfg.Core.IP = ip | |||
cfg.Core.GRPCPort = port | |||
|
|||
// trigger flushes more often in tests. | |||
cfg.Header.Store.WriteBatchSize = 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of adding more logic & timeouts in tests it is simpler to force flushes more often.
@@ -9,7 +9,7 @@ require ( | |||
github.com/benbjohnson/clock v1.3.5 | |||
github.com/celestiaorg/celestia-app/v3 v3.0.2 | |||
github.com/celestiaorg/go-fraud v0.2.1 | |||
github.com/celestiaorg/go-header v0.6.3 | |||
github.com/celestiaorg/go-header v0.6.3-0.20241205160207-ef9365bd2c70 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be changed after celestiaorg/go-header#219 merge
No description provided.