Joystream / Joystream/joystream

Content directory smart contracts: Migration logic tests

Open
#1,688 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

smart-contract-content-directory
Dominant language
Rust
Stars
1.4k
Forks
116
PR merge metrics
No merged PRs in 30d

Description

Tests related to migration logic, ie.:

  • migrate method of logic contract (transferring of ownerships etc.)
  • data initialization in new storage contracts (batchInsert)
  • access control during and post initialization stage

Tests to include:

TBD.

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

Locate the content directory logic contract's migrate method and the new storage contracts' batchInsert path. Trace ownership transfers, data initialization, and access-control behavior during and after initialization. Done means migration tests cover each listed behavior, with the specific test cases defined before implementation.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.