Skip to content

extractor improvements #22

@moul

Description

@moul
  • The system needs to create, update, and delete items. In other words, the folder's output should exactly match the chain state. Then, git will handle the history and related tasks.
  • We should find a way to avoid using :BLOCKNUMBER in the folder names. Can someone propose a solution?
  • The job should be standalone and open a PR. Ideally, it should have a fixed branch name that is reused each time the CI runs. This way, we can choose to merge or wait.
  • The script must be runnable locally.
  • The extractor can create a new file with metadata in each folder, such as extractor.json. This file will contain transaction information, including the .jsonl filepath and line number, so we can easily understand what we are looking at.
  • Bonus: One commit per addpkg, with transaction details in the commit message. Edit: I believe it's better to only have the extractor.json file.

With these improvements, the goal is to simulate a history patch locally (manual JSONL patching), run the extractor locally, and have a way to check the impact of changes, such as disappearing contracts, patched contracts, new contracts, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions