You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add exclude_function_args parameter to reduce transaction response sizes (#2312)
* feat: implement exclude_function_args parameter for transaction endpoints
- Add ExcludeFunctionArgsParamSchema to params.ts
- Update parseContractCallMetadata to conditionally exclude function_args
- Thread excludeFunctionArgs parameter through all parsing functions
- Add parameter to transaction list, single tx, multiple tx, and mempool endpoints
- Add parameter to address transaction endpoints
- Add comprehensive unit tests following the testing strategy
- Maintain 100% backward compatibility (defaults to false)
- All lint and build checks pass
Implements FEAT-FunctionArgsExclusion.md specification.
* fix: parseContractCallMetadata function argument processing
* feat: complete exclude_function_args implementation with all tests passing
* feat: add exclude_function_args param to reduce response size
* test: add parseContractCallMetadata missing function test
* test: cover missing ABI function branch in parseContractCallMetadata
* test: add focused test for missing ABI function coverage
* chore: remove stray documentation files
* chore: remove workplan file from PR
* docs: update changelog for exclude_function_args feature
* fix: conform test builders to DB constraints
Default token_transfer_memo builders now default to '0x' (valid bytea hex).
Set smartContract.clarity_version to null when undefined.
Fixes bytea and UNDEFINED_VALUE errors in exclude_function_args tests.
* feat: require excludeFunctionArgs param & drop 8.11.0 changelog
- Param now mandatory; all call sites pass false
- Restore CHANGELOG, remove 8.11.0 block only
- Shorten schema description
- Delete obsolete parse-contract-call-metadata test
* chore: remove CHANGELOG.md from repository
* feat: make excludeFunctionArgs required and update call sites
- Restore CHANGELOG.md (auto-generated by semantic-release)
- Make excludeFunctionArgs required in GetTxArgs and GetTxsArgs interfaces
- Shorten description text in ExcludeFunctionArgsParamSchema
- Pass excludeFunctionArgs: false at existing internal call sites and tests (per review guidance)
* chore: fix prettier line length in tx tests (CI lint)
---------
Co-authored-by: Alexander Huth <[email protected]>
Co-authored-by: Developer <[email protected]>
Co-authored-by: alexthuth <[email protected]>
0 commit comments