amanusk / amanusk/snbeat

Add integration tests for Pathfinder code paths

オープン
#1 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
code quality L pf-query snbeat
主要言語
Rust
スター
6
フォーク
1
平均マージ
7分
マージ済み PR(30日)
1

説明

## Context

Flagged during review of PR #12 (pf-query-on-master).

The Pathfinder integration in `src/network/mod.rs` adds new branching behaviour:
- PF sender-txs path (primary)
- PF nonce-history + RPC batch fallback
- Class-history fetch

None of these paths are covered by tests. The repo already has integration tests (see `tests/`), so the infrastructure exists.

## What to add

- Test the PF sender-txs happy path (mock pf-query responses)
- Test fallback to nonce-history when sender-txs is unavailable
- Test class-history fetch
- Test `pf_gaps_filled` logic with stub entries

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。