Skip to content

Commit

Permalink
fix: Expect error for creating RBDP
Browse files Browse the repository at this point in the history
  • Loading branch information
petarvujovic98 committed May 9, 2024
1 parent a4ab1e7 commit cb20cd6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion host/src/raiko.rs
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,8 @@ mod tests {

async fn prove_block(chain_spec: ChainSpec, proof_request: ProofRequest) {
let provider =
RpcBlockDataProvider::new(&proof_request.rpc.clone(), proof_request.block_number - 1);
RpcBlockDataProvider::new(&proof_request.rpc.clone(), proof_request.block_number - 1)
.expect("Could not create RpcBlockDataProvider");
let raiko = Raiko::new(chain_spec, proof_request.clone());
let mut input = raiko
.generate_input(provider)
Expand Down

0 comments on commit cb20cd6

Please sign in to comment.