smartcontractkit / smartcontractkit/chainlink-starknet

Test ocr2 ReportCodec.MedianFromReport on illegal reports

Open
#171 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.