Skip to content

Commit

Permalink
chore: flake/readme/cids updates
Browse files Browse the repository at this point in the history
  • Loading branch information
zeeshanlakhani committed Mar 27, 2024
1 parent c14efac commit 9023719
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 12 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ represents the `Homestar` runtime. We recommend diving into each package's own
You can find the spec for translating between IPLD and WIT runtime values
based on WIT types [here](./homestar-wasm/README.md#interpreting-between-ipld-and-wit).

*Note*: This library also includes a [WIT `world`][wa.dev-homestar-host] for
bindings implemented on the host runtime.

- [homestar-workflow](./homestar-workflow)

The *workflow* library implements workflow-centric [Ipvm features][ipvm-spec]
Expand All @@ -157,6 +160,8 @@ represents the `Homestar` runtime. We recommend diving into each package's own
writing and compiling [Wasm component][wasm-component] modules using
[wit-bindgen][wit-bindgen].

You can find our component packages on [wa.dev][wa.dev-homestar].

- [homestar-schemas](./homestar-schemas)

`homestar-schemas` is a crate for generating OpenRPC docs and JSON Schemas that document the [homestar-runtime](./homestar-runtime) JSON-RPC API, workflows, and receipts.
Expand Down Expand Up @@ -272,6 +277,8 @@ conditions.
[research]: https://github.com/ipvm-wg/research
[seamless-services]: https://youtu.be/Kr3B3sXh_VA
[ucan-invocation]: https://github.com/ucan-wg/invocation
[wa.dev-homestar]: https://wa.dev/homestar
[wa.dev-homestar-host]: https://wa.dev/homestar:host
[wasm-component]: https://github.com/WebAssembly/component-model
[wasmtime]: https://github.com/bytecodealliance/wasmtime
[wit]: https://github.com/WebAssembly/component-model/blob/main/design/mvp/WIT.md
Expand Down
6 changes: 3 additions & 3 deletions flake.lock

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

12 changes: 6 additions & 6 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
file-toolchain = fenix.packages.${system}.fromToolchainFile {
file = ./rust-toolchain.toml;
# sha256 = pkgs.lib.fakeSha256;
sha256 = "sha256-e4mlaJehWBymYxJGgnbuCObVlqMlQSilZ8FljG9zPHY=";
sha256 = "sha256-+syqAd2kX8KVa8/U2gz3blIQTTsYYt3U63xBWaGOSc8=";
};

default-toolchain = fenix.packages.${system}.complete.withComponents [
Expand All @@ -72,8 +72,8 @@
nightly-rustfmt =
(fenix.packages.${system}.toolchainOf {
channel = "nightly";
date = "2024-02-13";
sha256 = "sha256-QeiJ8YNVpYhoxxOrrQKOwnfoYo4c8PTlcjEOn/NCmSI=";
date = "2024-03-26";
sha256 = "sha256-kHuQWRjPWmulZWG7tka+rX+VjZOnP7pZ2xF2qxV8784=";
# sha256 = pkgs.lib.fakeSha256;
})
.rustfmt;
Expand Down Expand Up @@ -364,16 +364,16 @@

packages.irust = rustPlatform.buildRustPackage rec {
pname = "IRust";
version = "1.71.2";
version = "1.71.20";
src = pkgs.fetchFromGitHub {
owner = "sigmaSd";
repo = pname;
rev = "v${version}";
sha256 = "sha256-6qxkz7Pf8XGORo6O4eIwTcqBt+8WBp2INY81YUCxJts=";
sha256 = "sha256-PokyKNHiZqOo1DXLQ2NAkuax4BXayNko9nQMighuh4Q=";
};

doCheck = false;
cargoSha256 = "sha256-VZXxz3E8I/8T2H7KHa2IADjqsG2XHBNhwq/OBsq3vHs=";
cargoSha256 = "sha256-0CMrA6k4OEXM9MJ9Iyk0yMuulvhT2pXty4OIU5Z6a9U=";
};

packages.default =
Expand Down
4 changes: 2 additions & 2 deletions homestar-runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ console-subscriber = { version = "0.2", default-features = false, features = [
const_format = { workspace = true }
crossbeam = "0.8"
dagga = "0.2"
ed25519-compact = "2.1"
ed25519-dalek = { version = "2.1", features = ["pem"] }
dashmap = "5.5"
derive-getters = "0.3"
derive_builder = "0.13"
Expand All @@ -68,6 +66,8 @@ diesel-derive-enum = { version = "2.1", features = ["sqlite"] }
diesel_migrations = "2.1"
dotenvy = "0.15"
dyn-clone = "1.0"
ed25519-compact = "2.1"
ed25519-dalek = { version = "2.1", features = ["pem"] }
enum-assoc = { workspace = true }
faststr = { workspace = true }
flume = { version = "0.11", default-features = false, features = ["async"] }
Expand Down
2 changes: 1 addition & 1 deletion homestar-runtime/tests/network/dht.rs
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@ fn test_libp2p_dht_workflow_info_provider_integration() -> Result<()> {
// DHT, so we give node one time to put add workflow info to the DHT.
tokio::time::sleep(Duration::from_secs(1)).await;

let expected_workflow_cid = "bafyrmidbhanzivykbzxfichwvpvywhkthd6wycmwlaha46z3lk5v3ilo5q";
let expected_workflow_cid = "bafyrmialnbzgwscjrq7sa3kdnw2roqdrdzp7xh2tvmo37qmgvarwrhcgre";

// Run the same workflow run on node two.
// Node two should be request workflow info from
Expand Down

0 comments on commit 9023719

Please sign in to comment.