Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(voyager): add plugin to periodically update clients for liveliness #3401

Merged
merged 1 commit into from
Dec 24, 2024

feat(voyager): add plugin to periodically update clients for liveliness

0e12db4
Select commit
Loading
Failed to load commit list.
Merged

feat(voyager): add plugin to periodically update clients for liveliness #3401

feat(voyager): add plugin to periodically update clients for liveliness
0e12db4
Select commit
Loading
Failed to load commit list.
Garnix CI / check clippy [x86_64-linux] succeeded Dec 23, 2024 in 8m 54s

Run results

Build succeeded

Details

Last 100 lines of logs:

    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
    = note: `#[warn(clippy::clone_on_copy)]` on by default

warning: using `clone` on type `u32` which implements the `Copy` trait
   --> voyager/plugins/event-source/movement/src/main.rs:205:17
    |
205 |                 self_connection_state.client_id.clone(),
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `self_connection_state.client_id`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy

warning: using `clone` on type `u32` which implements the `Copy` trait
   --> voyager/plugins/event-source/movement/src/main.rs:225:25
    |
225 |             channel_id: self_channel_id.clone(),
    |                         ^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `self_channel_id`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy

warning: `voyager-transaction-plugin-ethereum` (bin "voyager-transaction-plugin-ethereum" test) generated 1 warning (run `cargo clippy --fix --bin "voyager-transaction-plugin-ethereum" --tests` to apply 1 suggestion)
warning: using `clone` on type `u32` which implements the `Copy` trait
   --> voyager/plugins/event-source/movement/src/main.rs:552:41
    |
552 |                         let client_id = connection.client_id.clone();
    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `connection.client_id`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy

warning: using `clone` on type `u32` which implements the `Copy` trait
   --> voyager/plugins/event-source/movement/src/main.rs:621:41
    |
621 |                         let client_id = destination_channel.connection.client_id.clone();
    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `destination_channel.connection.client_id`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy

warning: using `clone` on type `u32` which implements the `Copy` trait
   --> voyager/plugins/event-source/movement/src/main.rs:652:41
    |
652 |                         let client_id = destination_channel.connection.client_id.clone();
    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `destination_channel.connection.client_id`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy

warning: using `clone` on type `u32` which implements the `Copy` trait
   --> voyager/plugins/event-source/movement/src/main.rs:683:41
    |
683 |                         let client_id = source_channel.connection.client_id.clone();
    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `source_channel.connection.client_id`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy

warning: using `clone` on type `u32` which implements the `Copy` trait
   --> voyager/plugins/event-source/movement/src/main.rs:713:41
    |
713 |                         let client_id = source_channel.connection.client_id.clone();
    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `source_channel.connection.client_id`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy

warning: using `clone` on type `u32` which implements the `Copy` trait
   --> voyager/plugins/event-source/movement/src/main.rs:736:69
    |
736 |                     .client_info::<IbcUnion>(self.chain_id.clone(), client_id.clone())
    |                                                                     ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `client_id`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy

warning: using `clone` on type `u32` which implements the `Copy` trait
   --> voyager/plugins/event-source/movement/src/main.rs:743:25
    |
743 |                         client_id.clone(),
    |                         ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `client_id`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy

warning: `voyager-state-module-movement` (bin "voyager-state-module-movement" test) generated 2 warnings (run `cargo clippy --fix --bin "voyager-state-module-movement" --tests` to apply 1 suggestion)
warning: `voyager-event-source-plugin-movement` (bin "voyager-event-source-plugin-movement" test) generated 10 warnings (run `cargo clippy --fix --bin "voyager-event-source-plugin-movement" --tests` to apply 10 suggestions)
warning: using `clone` on type `u32` which implements the `Copy` trait
   --> voyager/modules/consensus/movement/src/main.rs:162:27
    |
162 |             l1_client_id: self.l1_client_id.clone(),
    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `self.l1_client_id`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
    = note: `#[warn(clippy::clone_on_copy)]` on by default

warning: `voyager-consensus-module-movement` (bin "voyager-consensus-module-movement" test) generated 1 warning (run `cargo clippy --fix --bin "voyager-consensus-module-movement" --tests` to apply 1 suggestion)
    Finished `release` profile [optimized] target(s) in 1m 09s
buildPhase completed in 1 minutes 10 seconds
Running phase: installPhase
@nix {"action":"setPhase","phase":"installPhase"}
linking previous artifacts /nix/store/zqvq0phc9jg5ips0v60szrc9w95y6cgy-workspace-cargo-clippy-deps-0.0.0/target.tar.zst to /nix/store/0hrf3lhzzj8v21vnf5r4wig06vy30l7w-workspace-cargo-clippy-clippy-0.0.0/target.tar.zst
/*stdin*\            : 31.14%   (   803 MiB =>    250 MiB, /nix/store/0hrf3lhzzj8v21vnf5r4wig06vy30l7w-workspace-cargo-clippy-clippy-0.0.0/target.tar.zst) 
Running phase: fixupPhase
@nix {"action":"setPhase","phase":"fixupPhase"}
shrinking RPATHs of ELF executables and libraries in /nix/store/0hrf3lhzzj8v21vnf5r4wig06vy30l7w-workspace-cargo-clippy-clippy-0.0.0
checking for references to /build/ in /nix/store/0hrf3lhzzj8v21vnf5r4wig06vy30l7w-workspace-cargo-clippy-clippy-0.0.0...
patching script interpreter paths in /nix/store/0hrf3lhzzj8v21vnf5r4wig06vy30l7w-workspace-cargo-clippy-clippy-0.0.0