find_lighter_session_bypasses

Documentation for eth_defi.lighter.testing.find_lighter_session_bypasses function.

find_lighter_session_bypasses(paths)

Find Lighter calls that skip the retrying sessions.

The official SDK’s clients have no backoff, and neither does the native signer behind check_client() or behind a transaction method called with api_key_index but no nonce. Downstream repositories run this in a test, so a new caller fails CI rather than a deployment. It reads the syntax tree, so docstrings do not match and a call’s line layout does not matter.

Parameters

paths (list[pathlib.Path]) – Python files to inspect.

Returns

One path:line: reason entry per bypass.

Return type

list[str]