Skip to content

Commit

Permalink
bump fat client and bootstrap cargo versions
Browse files Browse the repository at this point in the history
  • Loading branch information
sh3ll3x3c committed Sep 24, 2024
1 parent d5a3c88 commit fce8a5e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bootstrap/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "avail-light-bootstrap"
version = "0.2.1"
version = "0.3.0"
edition = "2021"
description = "Avail network Bootstrap Node for p2p Light Client"

Expand Down
6 changes: 3 additions & 3 deletions bootstrap/src/p2p/event_loop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ impl EventLoop {
},
connection_id: _,
})) => {
trace!("Identity Received from: {peer_id:?} on listen address: {listen_addrs:?}.");
debug!("Identity Received from: {peer_id:?} on listen address: {listen_addrs:?}.");
let incoming_peer_agent_version = match AgentVersion::from_str(&agent_version) {
Ok(agent) => agent,
Err(e) => {
Expand All @@ -167,7 +167,7 @@ impl EventLoop {
}

if protocols.contains(&self.swarm.behaviour_mut().kademlia.protocol_names()[0]) {
trace!("Adding peer {peer_id} to routing table.");
debug!("Adding peer {peer_id} to routing table.");
for addr in listen_addrs {
self.swarm
.behaviour_mut()
Expand All @@ -176,7 +176,7 @@ impl EventLoop {
}
} else {
// Block and remove non-Avail peers
debug!("Removing and blocking non-avail peer from routing table. Peer: {peer_id}. Agent: {agent_version}. Protocol: {protocol_version}");
debug!("Removing and blocking peer from routing table. Peer: {peer_id}. Agent: {agent_version}. Protocol: {protocol_version}");
self.swarm.behaviour_mut().kademlia.remove_peer(&peer_id);
}
},
Expand Down
2 changes: 1 addition & 1 deletion fat/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "avail-light-fat"
version = "0.1.0"
version = "1.12.0"
authors.workspace = true
edition = "2021"
repository.workspace = true
Expand Down

0 comments on commit fce8a5e

Please sign in to comment.