massalabs / massalabs/DeWeb

cli add command to update indexer data

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

Nobody has claimed this yet.

DeWeb enhancement
Dominant language
TypeScript
Stars
11
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Currently, call to updateWebsite function of Indexer smart contract is only performed during deployment workflow.
If the owner of a smart contract registered in the indexer is different from the real owner, we have currently no mean via the cli to update the indexer with the real owner
It would be great to add a new command to call updateWebsite function of the indexer.

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

Start by tracing the existing CLI commands and the deployment workflow where the Indexer smart contract's updateWebsite function is called. Add a CLI entry point that invokes updateWebsite for the registered website and real owner, then verify that the indexer data changes as intended.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
blockchain, cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.