smartcontractkit / smartcontractkit/chainlink-cosmos
Deduplicate 'pub mod bignum' declaration
@archseer is already working on this.
Since Dec 29, 2021.
- Dominant language
- Go
- Stars
- 23
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
Both contracts/ocr2/src/state.rs and contracts/deviation-flagging-validator/src/msg.rs contain the identical pub mod bignum {...} declaration we should consider deduplicating.
Contributor guide
No contributing guide indexed for this repository
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
Compare the declarations in contracts/ocr2/src/state.rs and contracts/deviation-flagging-validator/src/msg.rs, then inspect the surrounding module layout for an existing shared-module convention. Run the relevant contract checks or builds and consider the work done when the duplicated declaration has a single clear home and both contracts still compile.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- blockchain
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100