Skip to content

Commit

Permalink
chore(ICP-Rosetta): move block range test (#2088)
Browse files Browse the repository at this point in the history
This MR introduces the following changes:

1. Remove the legacy test for the block range
2. Add a new test using pocket ic for fetching block range
  • Loading branch information
NikolasHaimerl authored Oct 18, 2024
1 parent 800b7d2 commit 28bb40f
Show file tree
Hide file tree
Showing 3 changed files with 224 additions and 177 deletions.
4 changes: 4 additions & 0 deletions rs/rosetta-api/icp/client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,10 @@ impl RosettaClient {
}])
}

pub async fn call(&self, req: CallRequest) -> anyhow::Result<CallResponse> {
self.call_endpoint("/call", &req).await
}

pub async fn build_set_dissolve_timestamp_operations(
signer_principal: Principal,
neuron_index: u64,
Expand Down
177 changes: 0 additions & 177 deletions rs/rosetta-api/icp/tests/basic_tests.rs

This file was deleted.

Loading

0 comments on commit 28bb40f

Please sign in to comment.