File tree Expand file tree Collapse file tree 5 files changed +6
-4
lines changed Expand file tree Collapse file tree 5 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1717 sudo apt install -y protobuf-compiler
1818 - uses : actions-rs/toolchain@v1
1919 with :
20- toolchain : 1.79
20+ toolchain : 1.81
2121 components : rustfmt, clippy
2222 default : true
2323 - uses : actions-rs/cargo@v1
3636 name : clippy
3737 with :
3838 token : ${{ secrets.GITHUB_TOKEN }}
39- args : --all-targets -- -D warnings
39+ args : --all-targets -- -D warnings --allow clippy::mutable_key_type --allow clippy::result_unit_err
Original file line number Diff line number Diff line change 1+ #![ allow( unexpected_cfgs) ]
12#![ cfg( benchmarks) ]
23#![ feature( test) ]
34
Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ fn debugger_to_wire() {
158158 "v1/rpc/get-transition-knowledge" ,
159159 "v1/rpc/get-ancestry" ,
160160 ] {
161- for_all_with_path ( & PathBuf :: from ( d) . join ( "response" ) , |encoded, path| {
161+ for_all_with_path ( PathBuf :: from ( d) . join ( "response" ) , |encoded, path| {
162162 let mut p = & encoded[ 1 ..] ;
163163 let tag = BinprotTag :: binprot_read ( & mut p) . unwrap ( ) . to_string_lossy ( ) ;
164164 let ver = Ver :: binprot_read ( & mut p) . unwrap ( ) ;
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ impl OcamlNode {
106106
107107 cmd. arg ( "daemon" ) ;
108108 cmd. arg ( "--config-dir" ) . arg ( & config_dir) ;
109- cmd. arg ( "--libp2p-keypair" ) . arg ( & Self :: privkey_path ( dir) ) ;
109+ cmd. arg ( "--libp2p-keypair" ) . arg ( Self :: privkey_path ( dir) ) ;
110110 cmd. args ( [ "--external-ip" , "127.0.0.1" ] )
111111 . args ( [ "--external-port" , & config. libp2p_port . to_string ( ) ] )
112112 . args ( [ "--client-port" , & config. client_port . to_string ( ) ] )
Original file line number Diff line number Diff line change 22//! Initial Joining:
33//! * Ensure new nodes can discover peers and establish initial connections.
44//! * Test how nodes handle scenarios when they are overwhelmed with too many connections or data requests.
5+ //!
56//! TODO(vlad9486):
67//! Reconnection: Validate that nodes can reconnect after both intentional and unintentional disconnections.
78//! Handling Latency: Nodes should remain connected and synchronize even under high latency conditions.
You can’t perform that action at this time.
0 commit comments