Skip to content

Commit

Permalink
Update emulated-light client and rename to cw-guest (#487)
Browse files Browse the repository at this point in the history
* update emulated-light-client

* rename cf-guest-cw
  • Loading branch information
mina86 authored Mar 28, 2024
1 parent 30789ef commit 0e3152a
Show file tree
Hide file tree
Showing 24 changed files with 61 additions and 80 deletions.
121 changes: 51 additions & 70 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
Expand Up @@ -28,7 +28,7 @@ members = [
"light-clients/ics07-tendermint",
"light-clients/ics07-tendermint-cw",
"light-clients/cf-guest",
"light-clients/ics07-guest-cw",
"light-clients/cf-guest-cw",
"light-clients/ics08-wasm",
"light-clients/ics10-grandpa",
"light-clients/ics10-grandpa-cw",
Expand Down Expand Up @@ -230,4 +230,4 @@ substrate-state-trie-migration-rpc = { git = "https://github.com/paritytech//sub
substrate-wasm-builder = { git = "https://github.com/paritytech//substrate.git", branch = "polkadot-v0.9.43" }

[profile.release]
overflow-checks = true
overflow-checks = true
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "ics07-guest-cw"
name = "cf-guest-cw"
version = "0.1.0"
authors = ["Composable, Strangelove Developers"]
edition = "2021"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions light-clients/cf-guest/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ ed25519-consensus = { version = "2", default-features = false }
serde = { version = "1.0", default-features = false, features = ["derive"] }

# New IBC
ibc-core-client-types = { git = "https://github.com/cosmos/ibc-rs", rev = "6dd3c6465e594d4c177f21724dd896a15e8f3634", default-features = false }
ibc-core-handler-types = { git = "https://github.com/cosmos/ibc-rs", rev = "6dd3c6465e594d4c177f21724dd896a15e8f3634", default-features = false }
ibc-core-host-types = { git = "https://github.com/cosmos/ibc-rs", rev = "6dd3c6465e594d4c177f21724dd896a15e8f3634", default-features = false, features = ["borsh", "serde"]}
ibc-core-client-types = { git = "https://github.com/dhruvja/ibc-rs", rev = "6bb51e2d02c016d572974ec8f47633c1f85b6ba8", default-features = false }
ibc-core-handler-types = { git = "https://github.com/dhruvja/ibc-rs", rev = "6bb51e2d02c016d572974ec8f47633c1f85b6ba8", default-features = false }
ibc-core-host-types = { git = "https://github.com/dhruvja/ibc-rs", rev = "6bb51e2d02c016d572974ec8f47633c1f85b6ba8", default-features = false }

# Old IBC
ibc = { path = "../../ibc/modules", default-features = false }
Expand Down
8 changes: 4 additions & 4 deletions light-clients/cf-guest/src/proof.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,11 @@ pub enum VerifyError {
/// Proof verification failed.
VerificationFailed,

/// Signature is malformed
MalformedSignature,
/// Signature is malformed
MalformedSignature,

/// Public key is malformed
MalformedPublicKey,
/// Public key is malformed
MalformedPublicKey,
}

impl From<borsh::maybestd::io::Error> for VerifyError {
Expand Down

0 comments on commit 0e3152a

Please sign in to comment.