Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

Commit

Permalink
Fix Nix build
Browse files Browse the repository at this point in the history
  • Loading branch information
soareschen committed Jun 21, 2024
1 parent 2ce7d2a commit 4f3211e
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 46 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ exclude = [
version = "0.1.0"
license = "MIT OR Apache-2.0"
edition = "2021"
rust-version = "1.79"
rust-version = "1.77"
publish = false
authors = [ "Informal Systems <[email protected]>" ]
repository = "https://github.com/informalsystems/sovereign-ibc"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use hermes_relayer_components::chain::traits::types::message::HasMessageType;
per transaction. In particular, it is very challenging to recover from
faiures, in case only some of the transactions succeed. There are all kinds
of corner cases and race conditions that we would have to deal with, to ensure
that subsequent transactions do not conflict with the supposingly failed
that subsequent transactions do not conflict with the supposedly failed
transaction, which could in fact succeeded later without the relayer knowing.
Because of this, we are deferring in handling such complexity, and opt for the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pub fn public_key_to_hash_bytes(public_key: &VerifyingKey) -> [u8; 32] {
The encoding is based on the `to_address` function at
<https://github.com/Sovereign-Labs/sovereign-sdk/blob/c9f56b479c6ea17893e282099fcb8ab804c2feb1/module-system/sov-modules-api/src/default_context.rs#L107>.
Essentiall, we hash the public key raw bytes, and then convert the raw hash bytes
Essentially, we hash the public key raw bytes, and then convert the raw hash bytes
using bech32.
*/
pub fn public_key_to_sovereign_address(
Expand Down
52 changes: 9 additions & 43 deletions flake.lock

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

3 changes: 3 additions & 0 deletions nix/sov-celestia-cw.nix
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ let
"rockbound-1.0.0" = "sha256-aDrNegRfsSwiNw4XLsE4rpUYDZn2N59UJbGZ6mpY180=";
"tendermint-0.32.0" = "sha256-FtY7a+hBvQryATrs3mykCWFRe8ABTT6cuf5oh9IBElQ=";
"cosmos-sdk-proto-0.22.0-pre" = "sha256-nRfcAbjFcvAqool+6heYK8joiU5YaSWITnO6S5MRM1E=";
"cgp-async-0.1.0" = "sha256-we0ABBhDJZiB6+6mguZlqn1aflzrMxiY0S62m55VV4I=";
"hermes-async-runtime-components-0.1.0" = "sha256-LS93S4p9IwdTx4cL7ZqcfnIA6l4kk5B9dOQ2+dtJuDs=";
"ibc-relayer-0.27.3" = "sha256-iVyZEgcMC5ZL5gmA8lW3MzLz4DDPVroi0f8r98aQo9s=";
};
};

Expand Down

0 comments on commit 4f3211e

Please sign in to comment.