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

Tracks ibc-rs changes up to v0.49.1 #147

Merged
merged 12 commits into from
Jan 4, 2024
Prev Previous commit
Next Next commit
chore: update ibc to v0.49.1
Farhad-Shabani committed Jan 4, 2024
commit beec26960c1c38c3caa70f5fd63505b218215e1b
78 changes: 52 additions & 26 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -12,8 +12,8 @@ base64 = { version = "0.21", default-features = false, features = ["alloc"] }
displaydoc = { version = "0.2", default-features = false }
derive_more = { version = "0.99.17", default-features = false, features = ["from", "into", "display"] }
ed25519 = { version = "2.1.0", default-features = false }
ibc = { git = "https://github.com/cosmos/ibc-rs", rev = "c9dd706", default-features = false }
ibc-query = { git = "https://github.com/cosmos/ibc-rs", rev = "c9dd706", default-features = false }
ibc = { version = "0.49.1", default-features = false }
ibc-query = { version = "0.49.1", default-features = false }
ibc-proto = { version = "0.39.1", default-features = false }
ics23 = { version = "0.11", default-features = false }
prost = { version = "0.12", default-features = false }

Unchanged files with check annotations Beta

type Identifier = StoreIdentifier;
fn identifier(&self) -> Self::Identifier {
"bank".to_owned().try_into().unwrap()

Check failure on line 105 in crates/app/src/modules/context.rs

GitHub Actions / clippy

use of a fallible conversion when an infallible one could be used

error: use of a fallible conversion when an infallible one could be used --> crates/app/src/modules/context.rs:105:31 | 105 | "bank".to_owned().try_into().unwrap() | ^^^^^^^^^^^^^^^^^^^ help: use: `into()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fallible_conversions = note: `#[deny(clippy::unnecessary_fallible_conversions)]` implied by `#[deny(warnings)]`

Check failure on line 105 in crates/app/src/modules/context.rs

GitHub Actions / clippy

use of a fallible conversion when an infallible one could be used

error: use of a fallible conversion when an infallible one could be used --> crates/app/src/modules/context.rs:105:31 | 105 | "bank".to_owned().try_into().unwrap() | ^^^^^^^^^^^^^^^^^^^ help: use: `into()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fallible_conversions = note: `#[deny(clippy::unnecessary_fallible_conversions)]` implied by `#[deny(warnings)]`
}
}
type Identifier = StoreIdentifier;
fn identifier(&self) -> Self::Identifier {
"ibc".to_owned().try_into().unwrap()

Check failure on line 117 in crates/app/src/modules/context.rs

GitHub Actions / clippy

use of a fallible conversion when an infallible one could be used

error: use of a fallible conversion when an infallible one could be used --> crates/app/src/modules/context.rs:117:30 | 117 | "ibc".to_owned().try_into().unwrap() | ^^^^^^^^^^^^^^^^^^^ help: use: `into()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fallible_conversions

Check failure on line 117 in crates/app/src/modules/context.rs

GitHub Actions / clippy

use of a fallible conversion when an infallible one could be used

error: use of a fallible conversion when an infallible one could be used --> crates/app/src/modules/context.rs:117:30 | 117 | "ibc".to_owned().try_into().unwrap() | ^^^^^^^^^^^^^^^^^^^ help: use: `into()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fallible_conversions
}
}
type Identifier = StoreIdentifier;
fn identifier(&self) -> Self::Identifier {
"auth".to_owned().try_into().unwrap()

Check failure on line 129 in crates/app/src/modules/context.rs

GitHub Actions / clippy

use of a fallible conversion when an infallible one could be used

error: use of a fallible conversion when an infallible one could be used --> crates/app/src/modules/context.rs:129:31 | 129 | "auth".to_owned().try_into().unwrap() | ^^^^^^^^^^^^^^^^^^^ help: use: `into()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fallible_conversions

Check failure on line 129 in crates/app/src/modules/context.rs

GitHub Actions / clippy

use of a fallible conversion when an infallible one could be used

error: use of a fallible conversion when an infallible one could be used --> crates/app/src/modules/context.rs:129:31 | 129 | "auth".to_owned().try_into().unwrap() | ^^^^^^^^^^^^^^^^^^^ help: use: `into()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fallible_conversions
}
}
type Identifier = StoreIdentifier;
fn identifier(&self) -> Self::Identifier {
"gov".to_owned().try_into().unwrap()

Check failure on line 141 in crates/app/src/modules/context.rs

GitHub Actions / clippy

use of a fallible conversion when an infallible one could be used

error: use of a fallible conversion when an infallible one could be used --> crates/app/src/modules/context.rs:141:30 | 141 | "gov".to_owned().try_into().unwrap() | ^^^^^^^^^^^^^^^^^^^ help: use: `into()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fallible_conversions

Check failure on line 141 in crates/app/src/modules/context.rs

GitHub Actions / clippy

use of a fallible conversion when an infallible one could be used

error: use of a fallible conversion when an infallible one could be used --> crates/app/src/modules/context.rs:141:30 | 141 | "gov".to_owned().try_into().unwrap() | ^^^^^^^^^^^^^^^^^^^ help: use: `into()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fallible_conversions
}
}
type Identifier = StoreIdentifier;
fn identifier(&self) -> Self::Identifier {
"staking".to_owned().try_into().unwrap()

Check failure on line 153 in crates/app/src/modules/context.rs

GitHub Actions / clippy

use of a fallible conversion when an infallible one could be used

error: use of a fallible conversion when an infallible one could be used --> crates/app/src/modules/context.rs:153:34 | 153 | "staking".to_owned().try_into().unwrap() | ^^^^^^^^^^^^^^^^^^^ help: use: `into()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fallible_conversions

Check failure on line 153 in crates/app/src/modules/context.rs

GitHub Actions / clippy

use of a fallible conversion when an infallible one could be used

error: use of a fallible conversion when an infallible one could be used --> crates/app/src/modules/context.rs:153:34 | 153 | "staking".to_owned().try_into().unwrap() | ^^^^^^^^^^^^^^^^^^^ help: use: `into()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fallible_conversions
}
}
type Identifier = StoreIdentifier;
fn identifier(&self) -> Self::Identifier {
"upgrade".to_owned().try_into().unwrap()

Check failure on line 165 in crates/app/src/modules/context.rs

GitHub Actions / clippy

use of a fallible conversion when an infallible one could be used

error: use of a fallible conversion when an infallible one could be used --> crates/app/src/modules/context.rs:165:34 | 165 | "upgrade".to_owned().try_into().unwrap() | ^^^^^^^^^^^^^^^^^^^ help: use: `into()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fallible_conversions

Check failure on line 165 in crates/app/src/modules/context.rs

GitHub Actions / clippy

use of a fallible conversion when an infallible one could be used

error: use of a fallible conversion when an infallible one could be used --> crates/app/src/modules/context.rs:165:34 | 165 | "upgrade".to_owned().try_into().unwrap() | ^^^^^^^^^^^^^^^^^^^ help: use: `into()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fallible_conversions
}
}
}
mod router;
mod transfer;
pub use client_contexts::*;

Check failure on line 7 in crates/app/src/modules/ibc/mod.rs

GitHub Actions / clippy

unused import: `client_contexts::*`

error: unused import: `client_contexts::*` --> crates/app/src/modules/ibc/mod.rs:7:9 | 7 | pub use client_contexts::*; | ^^^^^^^^^^^^^^^^^^ | note: the lint level is defined here --> crates/app/src/lib.rs:3:5 | 3 | warnings, | ^^^^^^^^ = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]`

Check failure on line 7 in crates/app/src/modules/ibc/mod.rs

GitHub Actions / clippy

unused import: `client_contexts::*`

error: unused import: `client_contexts::*` --> crates/app/src/modules/ibc/mod.rs:7:9 | 7 | pub use client_contexts::*; | ^^^^^^^^^^^^^^^^^^ | note: the lint level is defined here --> crates/app/src/lib.rs:3:5 | 3 | warnings, | ^^^^^^^^ = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]`

Check failure on line 7 in crates/app/src/modules/ibc/mod.rs

GitHub Actions / test

unused import: `client_contexts::*`

Check failure on line 7 in crates/app/src/modules/ibc/mod.rs

GitHub Actions / cargo-doc

unused import: `client_contexts::*`
pub use error::*;
pub use impls::*;
pub use router::*;