Skip to content

Commit

Permalink
refactor host into CLI and core crate (#14)
Browse files Browse the repository at this point in the history
* refactor host into CLI and core crate

* re-add sol types for test
  • Loading branch information
austinabell authored Jul 12, 2024
1 parent 10241fd commit 0c705b5
Show file tree
Hide file tree
Showing 28 changed files with 491 additions and 694 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- uses: risc0/foundry-toolchain@2fe7e70b520f62368a0e3c464f997df07ede420f
- run: cargo fmt --all --check
- run: cargo sort --workspace --check
- run: cargo clippy -p risc0-tm-core
- run: cargo clippy -p blobstream0-primitives
- run: forge fmt --check
working-directory: contracts
- uses: actions/setup-python@v4
Expand Down
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
"rust-analyzer.linkedProjects": [
"./light-client-guest/guest/Cargo.toml",
"./batch-guest/guest/Cargo.toml",
"./host/Cargo.toml",
"./cli/Cargo.toml",
"./core/Cargo.toml",
"./primitives/Cargo.toml",
"./service/Cargo.toml"
],
"rust-analyzer.check.extraEnv": {
Expand Down
102 changes: 58 additions & 44 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
@@ -1,7 +1,7 @@
[workspace]
resolver = "2"
members = ["core", "host", "service"]
default-members = ["host"]
members = ["cli", "core", "primitives", "service"]
default-members = ["service"]

[workspace.dependencies]
tendermint-rpc = "0.37.0"
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ cargo test
Run the CLI to generate proofs or post those proofs on an Eth based network:

```console
cargo run -p host -- --help
cargo run -p blobstream0-cli -- --help
```

> Note: This CLI as well as other APIs will change in the short term. If you need anything specific from this, [open an issue](https://github.com/risc0/blobstream0/issues/new)!
For docs on running the Blobstream service, see [usage-guide.md](./usage-guide.md).

For more docs on running the Blobstream service, see [usage-guide.md](./usage-guide.md).
> Note: This CLI as well as other APIs will change in the short term. If you need anything specific from this, [open an issue](https://github.com/risc0/blobstream0/issues/new)!
2 changes: 1 addition & 1 deletion batch-guest/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"

[build-dependencies]
risc0-build = { version = "1.0.1" }
risc0-build = { version = "=1.0.1" }
risc0-build-ethereum = { git = "https://github.com/risc0/risc0-ethereum", tag = "v1.0.0" }

# Currently just used to format built artifact
Expand Down
Loading

0 comments on commit 0c705b5

Please sign in to comment.