Skip to content

Add integration test for testing client recovery #500

Add integration test for testing client recovery

Add integration test for testing client recovery #500

GitHub Actions / clippy failed Apr 18, 2024 in 0s

clippy

3 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 3
Warning 0
Note 0
Help 0

Versions

  • rustc 1.77.2 (25ef9e3d8 2024-04-09)
  • cargo 1.77.2 (e52e36006 2024-03-26)
  • clippy 0.1.77 (25ef9e3 2024-04-09)

Annotations

Check failure on line 15 in basecoin/modules/src/gov/impls.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused imports: `UpgradeProposal`, `execute_upgrade_client_proposal`

error: unused imports: `UpgradeProposal`, `execute_upgrade_client_proposal`
  --> basecoin/modules/src/gov/impls.rs:15:5
   |
15 |     execute_upgrade_client_proposal, UpgradeProposal, UPGRADE_PROPOSAL_TYPE_URL,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^
   |
note: the lint level is defined here
  --> basecoin/modules/src/lib.rs:3:5
   |
3  |     warnings,
   |     ^^^^^^^^
   = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]`

Check failure on line 15 in basecoin/modules/src/gov/impls.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the name `UpgradeProposal` is defined multiple times

error[E0252]: the name `UpgradeProposal` is defined multiple times
  --> basecoin/modules/src/gov/impls.rs:15:38
   |
13 | use ibc::cosmos_host::upgrade_proposal::{execute_upgrade_client_proposal, UpgradeProposal};
   |                                                                           --------------- previous import of the type `UpgradeProposal` here
14 | use ibc::cosmos_host::upgrade_proposal::{
15 |     execute_upgrade_client_proposal, UpgradeProposal, UPGRADE_PROPOSAL_TYPE_URL,
   |                                      ^^^^^^^^^^^^^^^--
   |                                      |
   |                                      `UpgradeProposal` reimported here
   |                                      help: remove unnecessary import
   |
   = note: `UpgradeProposal` must be defined only once in the type namespace of this module

Check failure on line 15 in basecoin/modules/src/gov/impls.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the name `execute_upgrade_client_proposal` is defined multiple times

error[E0252]: the name `execute_upgrade_client_proposal` is defined multiple times
  --> basecoin/modules/src/gov/impls.rs:15:5
   |
13 | use ibc::cosmos_host::upgrade_proposal::{execute_upgrade_client_proposal, UpgradeProposal};
   |                                          ------------------------------- previous import of the value `execute_upgrade_client_proposal` here
14 | use ibc::cosmos_host::upgrade_proposal::{
15 |     execute_upgrade_client_proposal, UpgradeProposal, UPGRADE_PROPOSAL_TYPE_URL,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--
   |     |
   |     `execute_upgrade_client_proposal` reimported here
   |     help: remove unnecessary import
   |
   = note: `execute_upgrade_client_proposal` must be defined only once in the value namespace of this module