CodeChain-io / CodeChain-io/codechain-indexer
Invalidate addressFilter if an address is not given
Open
- Dominant language
- TypeScript
- Stars
- 21
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
In src/routers/transactions.ts and src/routers/validator.ts,
addressFilter can be truthy even if address is falsy.
The addressFilter field should be restricted by the address field.
Contributor guide
No contributing guide indexed for this repository
Research direction
Read the addressFilter handling in src/routers/transactions.ts and src/routers/validator.ts, focusing on how it relates to the address field. Confirm the intended behavior when address is falsy but addressFilter is truthy, then verify both routers consistently restrict addressFilter according to address.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend, blockchain
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100