Skip to content

Commit

Permalink
ci: test older ci group
Browse files Browse the repository at this point in the history
  • Loading branch information
dndll committed Feb 16, 2024
1 parent 78e3d06 commit acd5a51
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 27 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/on_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
test-beefy-proofs:
name: "Test Beefy Proofs"
runs-on:
group: beefygroup
group: ubuntu-22.04-16core
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -53,7 +53,7 @@ jobs:
test-solidity-contracts:
name: "Test Solidity Contracts"
runs-on:
group: beefygroup
group: ubuntu-22.04-16core
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
20 changes: 0 additions & 20 deletions crates/rpc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -320,25 +320,5 @@ mod tests {
}

std::fs::write("ids.json", serde_json::to_string(&ids).unwrap()).unwrap();

// .and_then(|b| async {
// Ok(b.chunks
// .iter()
// .map(|c| fetch_chunk(&client, &c.chunk_hash))
// .map(Box::pin)
// .collect_vec())
// })
// .await;
// For each in 0..10
//
// get parent block
// get all chunks by chunk hash
// get all receipts
// get all txs
}

#[test]
fn test_rpc() {
todo!()
}
}
6 changes: 1 addition & 5 deletions nearx/src/test_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,7 @@ pub fn builder_suite<F, WriteInputs, Assertions>(
_ => None,
};
if let Some(req) = proof_req {
fs::write(
"../../build/input.json",
serde_json::to_string(&req).unwrap(),
)
.unwrap();
fs::write("../build/input.json", serde_json::to_string(&req).unwrap()).unwrap();
}

let (proof, output) = circuit.prove(&inputs);
Expand Down

0 comments on commit acd5a51

Please sign in to comment.