CodeChain-io / CodeChain-io/codechain

Extract utility functions of CodeChain class

Open
#1,714 0 comments 0 reactions 0 assignees View on GitHub
refactoring test
Dominant language
Rust
Stars
256
Forks
50
PR merge metrics
No merged PRs in 30d

Description

CodeChain is a heavy class. I would like to use some helper functions of the CodeChain class in other test code, but CodeChain has too many functionalities and it is hard to pass it as an argument to other functions.

Contributor guide

Open the contributing guide

Research direction

Locate the CodeChain class and identify the helper functions that other test code needs. Review which helpers depend on the class, then extract the reusable utilities without requiring a CodeChain instance. Done means the test code can use those utilities independently and existing tests still pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
blockchain, testing
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.