diff --git a/RELEASES.md b/RELEASES.md index 8a8b007eff3..a660d8462eb 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,5 +1,17 @@ # Release Notes +## [v1.11.1](https://github.com/ava-labs/avalanchego/releases/tag/v1.11.1) + +This version is backwards compatible to [v1.10.0](https://github.com/ava-labs/avalanchego/releases/tag/v1.10.0). It is optional, but encouraged. + +The plugin version is unchanged at `33` and is compatible with version `v1.11.0`. + +### Fixes + +- Suspended transaction re-push gossip in the p2p SDK + +**Full Changelog**: https://github.com/ava-labs/avalanchego/compare/v1.11.0...v1.11.1 + ## [v1.11.0](https://github.com/ava-labs/avalanchego/releases/tag/v1.11.0) This upgrade consists of the following Avalanche Community Proposals (ACPs): diff --git a/network/p2p/gossip/gossip_test.go b/network/p2p/gossip/gossip_test.go index 5d6fe9914d4..154b9131b8a 100644 --- a/network/p2p/gossip/gossip_test.go +++ b/network/p2p/gossip/gossip_test.go @@ -355,6 +355,8 @@ func TestPushGossiper(t *testing.T) { // Tests that gossip to a peer should forward the gossip if it was not // previously known func TestPushGossipE2E(t *testing.T) { + t.SkipNow() + require := require.New(t) // tx known by both the sender and the receiver which should not be diff --git a/network/p2p/gossip/handler.go b/network/p2p/gossip/handler.go index 38e88392636..4df99bd135d 100644 --- a/network/p2p/gossip/handler.go +++ b/network/p2p/gossip/handler.go @@ -97,7 +97,7 @@ func (h Handler[T]) AppRequest(_ context.Context, _ ids.NodeID, _ time.Time, req return MarshalAppResponse(gossipBytes) } -func (h Handler[_]) AppGossip(ctx context.Context, nodeID ids.NodeID, gossipBytes []byte) { +func (h Handler[_]) AppGossip(_ context.Context, nodeID ids.NodeID, gossipBytes []byte) { gossip, err := ParseAppGossip(gossipBytes) if err != nil { h.log.Debug("failed to unmarshal gossip", zap.Error(err)) @@ -123,16 +123,7 @@ func (h Handler[_]) AppGossip(ctx context.Context, nodeID ids.NodeID, gossipByte zap.Stringer("id", gossipable.GossipID()), zap.Error(err), ) - continue } - - // continue gossiping messages we have not seen to other peers - h.accumulator.Add(gossipable) - } - - if err := h.accumulator.Gossip(ctx); err != nil { - h.log.Error("failed to forward gossip", zap.Error(err)) - return } receivedCountMetric, err := h.metrics.receivedCount.GetMetricWith(pushLabels) diff --git a/version/compatibility.json b/version/compatibility.json index 756a6a98139..9d0ffe78cd8 100644 --- a/version/compatibility.json +++ b/version/compatibility.json @@ -1,6 +1,7 @@ { "33": [ - "v1.11.0" + "v1.11.0", + "v1.11.1" ], "31": [ "v1.10.18", diff --git a/version/constants.go b/version/constants.go index 87226ff7086..ee5353800cf 100644 --- a/version/constants.go +++ b/version/constants.go @@ -26,7 +26,7 @@ var ( Current = &Semantic{ Major: 1, Minor: 11, - Patch: 0, + Patch: 1, } CurrentApp = &Application{ Name: Client,