From 0b9e8da3c421598f83d29de57333128d2e6342a8 Mon Sep 17 00:00:00 2001 From: akrem-chabchoub Date: Wed, 2 Sep 2026 14:43:19 +0200 Subject: [PATCH 1/2] docs(batch): clarify Immutable field description in Batch struct --- pkg/postage/batch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/postage/batch.go b/pkg/postage/batch.go index c252fcd9dc5..2438d167808 100644 --- a/pkg/postage/batch.go +++ b/pkg/postage/batch.go @@ -17,7 +17,7 @@ type Batch struct { Owner []byte // owner's ethereum address Depth uint8 // batch depth, i.e., size = 2^{depth} BucketDepth uint8 // the depth of neighbourhoods t - Immutable bool // if the batch allows adding new capacity (dilution) + Immutable bool // if true, chunks cannot be overwritten when buckets are full } // MarshalBinary implements BinaryMarshaller. It will attempt to serialize the From 38aa7e6dcdfa8adfc9040acb89288e387ec6ca65 Mon Sep 17 00:00:00 2001 From: akrem-chabchoub Date: Wed, 2 Sep 2026 14:44:17 +0200 Subject: [PATCH 2/2] fix: lint --- pkg/p2p/libp2p/stream_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/p2p/libp2p/stream_test.go b/pkg/p2p/libp2p/stream_test.go index 467d239b172..9aab9c1f3a3 100644 --- a/pkg/p2p/libp2p/stream_test.go +++ b/pkg/p2p/libp2p/stream_test.go @@ -79,6 +79,7 @@ func TestStreamVersion(t *testing.T) { if v == nil { t.Fatal("expected version to be non-nil") + return } expected := semver.Version{Major: tc.wantMajor, Minor: tc.wantMinor}