Skip to content

Commit

Permalink
Drop unused deps (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
capossele authored May 29, 2024
1 parent 247af3b commit 3fc620a
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 23 deletions.
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ risc0-forge-ffi = { version = "0.11.0-alpha.1", default-features = false, path =
risc0-build = { git = "https://github.com/risc0/risc0", branch = "main", default-features = false }
risc0-zkp = { git = "https://github.com/risc0/risc0", branch = "main", default-features = false }
risc0-zkvm = { git = "https://github.com/risc0/risc0", branch = "main", default-features = false }
bonsai-sdk = { git = "https://github.com/risc0/risc0", branch = "main", default-features = false }

alloy-primitives = { version = "0.7", features = ["serde", "rlp", "std"] }
alloy-rlp = { version = "0.3.4", default-features = false }
Expand Down
1 change: 0 additions & 1 deletion contracts/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ repository = { workspace = true }
anyhow = "1.0"

[dependencies]
alloy-primitives = { workspace = true }
alloy-sol-types = { workspace = true }
anyhow = { workspace = true }
ethers = { version = "2.0", features = ["rustls", "ws"] }
Expand Down
1 change: 0 additions & 1 deletion examples/erc20-counter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ risc0-steel = { path = "../../steel" }
risc0-build = { git = "https://github.com/risc0/risc0", branch = "main", features = ["docker"] }
risc0-zkvm = { git = "https://github.com/risc0/risc0", branch = "main", default-features = false }
risc0-zkp = { git = "https://github.com/risc0/risc0", branch = "main", default-features = false }
bonsai-sdk = { git = "https://github.com/risc0/risc0", branch = "main" }

alloy-primitives = { version = "0.7", default-features = false, features = ["rlp", "serde", "std"] }
alloy-sol-types = { version = "0.7" }
Expand Down
3 changes: 0 additions & 3 deletions examples/erc20-counter/apps/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,11 @@ alloy-primitives = { workspace = true }
alloy-sol-types = { workspace = true }
anyhow = { workspace = true }
clap = { version = "4.0", features = ["derive", "env"] }
env_logger = { version = "0.11" }
erc20-counter-methods = { workspace = true }
ethers = { workspace = true }
hex = { workspace = true }
log = { workspace = true }
risc0-ethereum-contracts = { workspace = true }
risc0-steel = { workspace = true, features = ["host"] }
risc0-zkvm = { workspace = true, features = ["client"] }
serde = { workspace = true }
tokio = { version = "1.35", features = ["full"] }
tracing-subscriber = { workspace = true }
10 changes: 3 additions & 7 deletions examples/erc20-counter/apps/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Publisher

The [`publisher` CLI][publisher], is an example application that sends an off-chain proof request to the [Bonsai] proving service, and publishes the received proofs to your deployed [Counter] contract.
The [`publisher` CLI][publisher], is an example application that sends an off-chain proof request to the RISC Zero zkVM, and publishes the received proofs to your deployed [Counter] contract.

### Usage

Expand Down Expand Up @@ -36,13 +36,9 @@ Options:

## Library

We provide a small rust [library] containing utility functions to help with sending off-chain proof requests to the Bonsai proving service and publish the received proofs directly to a deployed app contract on Ethereum.

As we continue to improve the [risc0-zkvm] and [bonsai-sdk] crates, we will absorb some functionality provided here into those crates.
We provide a small rust [library] containing utility functions to help with sending
transactions to a deployed app contract on Ethereum.

[publisher]: ./src/bin/publisher.rs
[Bonsai]: https://dev.bonsai.xyz/
[library]: ./src/lib.rs
[risc0-zkvm]: https://docs.rs/risc0-zkvm/latest/risc0_zkvm/
[bonsai-sdk]: https://docs.rs/bonsai-sdk/latest/bonsai_sdk/
[Counter]: ../contracts/Counter.sol
9 changes: 2 additions & 7 deletions examples/erc20-counter/apps/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// The following library provides utility functions to help with sending
// off-chain proof requests to the Bonsai proving service and publish the
// received proofs directly to a deployed app contract on Ethereum.
//
// Please note that both `risc0_zkvm` and `bonsai_sdk` crates are still
// under active development. As such, this library might change to adapt to
// the upstream changes.
// The following library provides utility functions to help with sending
// transactions to a deployed app contract on Ethereum.

use anyhow::Result;
use ethers::prelude::*;
Expand Down
3 changes: 0 additions & 3 deletions ffi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,8 @@ repository = { workspace = true }

[dependencies]
anyhow = { workspace = true }
bincode = { workspace = true }
bonsai-sdk = { workspace = true }
clap = { version = "4.5", features = ["derive", "env"] }
ethers = { version = "2.0" }
hex = { version = "0.4" }
log = { version = "0.4" }
risc0-ethereum-contracts = { workspace = true }
risc0-zkvm = { workspace = true, features = ["client"] }

0 comments on commit 3fc620a

Please sign in to comment.