Skip to content

Commit

Permalink
Update prover default features (#46)
Browse files Browse the repository at this point in the history
* Update Cargo.toml

Remove test-only from default features.

* Fix Literal(proof)

* Fix Clippy

---------

Co-authored-by: Linda Guiga <[email protected]>
  • Loading branch information
Nashtare and LindaGuiga authored Mar 28, 2024
1 parent 3d23565 commit 72df63e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion zero_bin/prover/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ futures = { workspace = true }
ops = { path = "../ops" }

[features]
default = ["test_only"]
default = []
test_only = ["ops/test_only"]
3 changes: 2 additions & 1 deletion zero_bin/prover/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
use anyhow::Result;
use ethereum_types::U256;
#[cfg(feature = "test_only")]
use futures::stream::TryStreamExt;
use ops::TxProof;
use paladin::{
Expand Down Expand Up @@ -56,7 +57,7 @@ impl ProverInput {
intern: p,
});

let block_proof = paladin::Literal(proof)
let block_proof = paladin::directive::Literal(proof)
.map(&ops::BlockProof { prev })
.run(runtime)
.await?;
Expand Down

0 comments on commit 72df63e

Please sign in to comment.