Skip to content
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

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

cristaloleg
Copy link
Contributor

No description provided.

@cristaloleg cristaloleg added the kind:feat Attached to feature PRs label Dec 6, 2024
@cristaloleg cristaloleg self-assigned this Dec 6, 2024
@@ -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)
Copy link
Contributor Author

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
Copy link
Contributor Author

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
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:feat Attached to feature PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant