mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-19 12:56:12 +00:00
Remove beta tag from gossipsub 1.2 (#6344)
* Remove the beta tag from gossipsub v1.2 * fix clippy * Merge branch 'unstable' into remove-beta-tag
This commit is contained in:
@@ -5259,7 +5259,7 @@ fn sends_idontwant() {
|
||||
.to_subscribe(true)
|
||||
.gs_config(Config::default())
|
||||
.explicit(1)
|
||||
.peer_kind(PeerKind::Gossipsubv1_2_beta)
|
||||
.peer_kind(PeerKind::Gossipsubv1_2)
|
||||
.create_network();
|
||||
|
||||
let local_id = PeerId::random();
|
||||
@@ -5344,7 +5344,7 @@ fn doesnt_forward_idontwant() {
|
||||
.to_subscribe(true)
|
||||
.gs_config(Config::default())
|
||||
.explicit(1)
|
||||
.peer_kind(PeerKind::Gossipsubv1_2_beta)
|
||||
.peer_kind(PeerKind::Gossipsubv1_2)
|
||||
.create_network();
|
||||
|
||||
let local_id = PeerId::random();
|
||||
@@ -5393,7 +5393,7 @@ fn parses_idontwant() {
|
||||
.to_subscribe(true)
|
||||
.gs_config(Config::default())
|
||||
.explicit(1)
|
||||
.peer_kind(PeerKind::Gossipsubv1_2_beta)
|
||||
.peer_kind(PeerKind::Gossipsubv1_2)
|
||||
.create_network();
|
||||
|
||||
let message_id = MessageId::new(&[0, 1, 2, 3]);
|
||||
@@ -5425,7 +5425,7 @@ fn clear_stale_idontwant() {
|
||||
.to_subscribe(true)
|
||||
.gs_config(Config::default())
|
||||
.explicit(1)
|
||||
.peer_kind(PeerKind::Gossipsubv1_2_beta)
|
||||
.peer_kind(PeerKind::Gossipsubv1_2)
|
||||
.create_network();
|
||||
|
||||
let peer = gs.connected_peers.get_mut(&peers[2]).unwrap();
|
||||
|
||||
Reference in New Issue
Block a user