smartcontractkit / smartcontractkit/chainlink-starknet
Test ocr2 ReportCodec.MedianFromReport on illegal reports
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 60
- Forks
- 31
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 2
Description
Extra points: try to generalize this kind of behaviour test - build an illegal report smart fuzzer based on declared report dimensions.
Originally posted by @aalu1418 in https://github.com/smartcontractkit/chainlink-starknet/pull/169#discussion_r997308113
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the OCR2 ReportCodec.MedianFromReport implementation and its existing tests. Review how report dimensions are declared and determine the expected handling of illegal reports; this issue is complete only when those cases are covered and, if feasible, the behavior test is generalized into a dimension-aware fuzzer.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100