Skip to content

Commit 4650c0a

Browse files
feat: stabilize address batch pipeline
1 parent d0e4697 commit 4650c0a

5 files changed

Lines changed: 18 additions & 13 deletions

File tree

Cargo.lock

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

prover/client/src/constants.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
pub const SERVER_ADDRESS: &str = "http://localhost:3001";
1+
pub const SERVER_ADDRESS: &str = "http://127.0.0.1:3001";
22
pub const HEALTH_CHECK: &str = "/health";
33
pub const PROVE_PATH: &str = "/prove";
44

prover/client/src/prover.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@ pub async fn spawn_prover() {
5151
}
5252

5353
pub async fn health_check(retries: usize, timeout: usize) -> bool {
54-
let client = reqwest::Client::new();
54+
let client = match reqwest::Client::builder().no_proxy().build() {
55+
Ok(client) => client,
56+
Err(_) => return false,
57+
};
5558
let mut result = false;
5659
for _ in 0..retries {
5760
match client

sdk-libs/program-test/src/indexer/test_indexer.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,9 @@ impl Indexer for TestIndexer {
726726
initial_root: address_tree_bundle.root(),
727727
leaves_hash_chains: Vec::new(),
728728
subtrees: address_tree_bundle.get_subtrees(),
729-
start_index: start as u64,
729+
// Consumers use start_index as the sparse tree's next insertion index,
730+
// not the pagination offset used for queue slicing.
731+
start_index: address_tree_bundle.right_most_index() as u64,
730732
root_seq: address_tree_bundle.sequence_number(),
731733
})
732734
} else {

sdk-tests/csdk-anchor-full-derived-test/tests/integration_tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3863,7 +3863,7 @@ async fn test_d9_edge_many_literals() {
38633863
#[tokio::test]
38643864
async fn test_d9_edge_mixed() {
38653865
use csdk_anchor_full_derived_test::d9_seeds::{
3866-
edge_cases::{_UNDERSCORE_CONST, AB, SEED_123},
3866+
edge_cases::{AB, SEED_123, _UNDERSCORE_CONST},
38673867
D9EdgeMixedParams,
38683868
};
38693869

0 commit comments

Comments
 (0)