nucypher/tests
James Campbell 5733c3069b
feat(signing): Add unified subIndices for ABI parameter validation
Replace separate index_within_tuple and index_within_array fields with
a single subIndices list that handles arbitrary nesting of arrays and
tuples. This resolves the ambiguity of operation ordering when both
array and tuple indexing are needed (e.g., tuple containing arrays vs
array of tuples).

The subIndices approach:
- Interprets each index based on the current ABI type at that position
- Arrays (type[]) consume an index and strip the []
- Tuples ((a,b,c)) consume an index and extract the field type
- Supports any depth of nesting

Backward compatibility for indexWithinTuple was intentionally removed
since AbiParameterValidation has not been officially released (only in
pending v7.7.x branch) and the sole user (Collab.Land) will need new
conditions for their fee collection work anyway.
2026-01-29 14:00:42 +00:00
..
acceptance TREASURY_ROLE is no longer used in Coordinator contract. 2025-11-19 09:10:47 -05:00
data Update lingo test file based on current schema and add test for all entries in the file. 2025-02-05 12:00:02 -05:00
integration Update tests for node start up funding checks given that ETH funding is now also required (for signing ritual txs). 2025-12-10 11:53:52 -05:00
metrics update scripts usage of taco domains; conventionally use str() on domains usages 2023-10-31 14:30:15 +01:00
mock Update timeout value used by MockCoordinatorAgent to be dkg_timeout. 2025-08-08 08:22:07 -04:00
unit feat(signing): Add unified subIndices for ABI parameter validation 2026-01-29 14:00:42 +00:00
utils Appease linter. 2025-11-06 14:54:31 -05:00
__init__.py linting (darker) 2025-09-25 14:57:11 -04:00
conftest.py Remove condition chain validation from Operator and update test infrastructure 2024-12-10 11:47:58 +01:00
constants.py Fix inputs to cli runner tests. 2025-09-23 14:51:00 -04:00
fixtures.py Add auto-use fixture to limit maximum post signature delay for signing rituals during tests. 2025-12-16 08:42:14 -05:00
run_tests.py repairs a p2p validity test that implements /ping. Linting. 2024-01-23 19:21:26 +01:00
test_package.py repairs a p2p validity test that implements /ping. Linting. 2024-01-23 19:21:26 +01:00