smartcontractkit / smartcontractkit/chainlink-cosmos

Move (contain) contracts under './contracts'

Open
#4 0 comments 0 reactions 0 assignees View on GitHub

@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

We did this for Solana where all contract project files were moved from root to ./contracts. One of the benefits is that we separate the yarn.lock for contracts from the root one (monorepo), and it's a cleaner setup in general.

The programs themselves were moved under ./contracts/programs as they have the domain name of programs on Solana. Here we could move it under ./contracts/contracts, ./contracts/cw or similar.

Contributor guide

No contributing guide indexed for this repository

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

Inspect the repository root and identify the contract project files and current yarn.lock locations. Compare the suggested layouts under ./contracts, including ./contracts/contracts and ./contracts/cw, and determine which structure fits this repository. Done means the contract files and their lockfile are contained under ./contracts without breaking the monorepo.

Written by the indexing model from the issue text.

Assessment

Domain
blockchain
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.