mirror of https://github.com/nucypher/nucypher.git
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. |
||
|---|---|---|
| .. | ||
| acceptance | ||
| data | ||
| integration | ||
| metrics | ||
| mock | ||
| unit | ||
| utils | ||
| __init__.py | ||
| conftest.py | ||
| constants.py | ||
| fixtures.py | ||
| run_tests.py | ||
| test_package.py | ||