Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Adjust E2E test prover&verifier resource reqs #150

Merged
merged 1 commit into from
Mar 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion crates/tests/e2e-tests/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ use clap::Parser;
use gevulot_node::{
rpc_client::RpcClient,
types::{
program::ResourceRequest,
transaction::{Payload, ProgramData, ProgramMetadata, Workflow, WorkflowStep},
Hash, Transaction,
},
Expand Down Expand Up @@ -160,7 +161,11 @@ fn from_img_file_to_metadata(img_file: &Path, img_file_url: &str) -> ProgramMeta
image_file_name: file_name,
image_file_url: img_file_url.to_string(),
image_file_checksum: checksum.to_string(),
resource_requirements: None,
resource_requirements: Some(ResourceRequest {
cpus: 1,
mem: 128,
gpus: 0,
}),
};

program.update_hash();
Expand Down
Loading