Skip to content

Commit

Permalink
refactor: test indexer (#1468)
Browse files Browse the repository at this point in the history
* forester batch ops refactored

* refactor batch processing workflows

* add conversion utilities and refactor indexer code

* - spl with conversions
- impl Default for sdk::CompressedProof

* - removed `TokenDataWithMerkleContext` from the client/indexer module a
- updated `e2e_test_env.rs` accordingly

* refactor program-test/utils*

* Add `TestIndexerExtensions` methods and update type constraints

Introduces `get_address_merkle_tree` and `add_compressed_accounts_with_token_data` methods to `TestIndexerExtensions`. Removes redundant method definitions from `TestIndexer`. Adjusts type constraints in utility functions to depend on the updated `TestIndexerExtensions` trait.

* program-tests/* refactor to include TestIndexerExtensions
  • Loading branch information
sergeytimoshin authored Jan 13, 2025
1 parent bbacdba commit fd21574
Show file tree
Hide file tree
Showing 74 changed files with 2,961 additions and 2,629 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
{
echo "Testing group: ${{ matrix.group.name }}"
echo "Packages: ${{ matrix.group.packages }}"
echo "Rust version: $(rustc --version)"
echo "Rust version: $(rustc --version)"
} >> "$GITHUB_STEP_SUMMARY"
# Function to format time duration
Expand Down
Loading

0 comments on commit fd21574

Please sign in to comment.