bigchaindb / bigchaindb/cryptoconditions
KeyError on calculate_smallest_valid_fulfillment_set
Open
- Dominant language
- Python
- Stars
- 73
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
`ThresholdSha256Fulfillment.calculate_smallest_valid_fulfillment_set(self.threshold, subfulfillments)['set']` might not always include `set` in its keys
Contributor guide
Research direction
Start by locating ThresholdSha256Fulfillment.calculate_smallest_valid_fulfillment_set and tracing the result returned for subfulfillments that do not produce a set key. Reproduce the KeyError, then determine the expected result for that case and add coverage showing the issue no longer raises unexpectedly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cryptography
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100