Skip to content

Keep parsers up-to-date #108

@sonicfromnewyoke

Description

@sonicfromnewyoke

Problem

there is an often case when program updates their functionality (adds some fields to the structs or new instructions, etc) and Vixen Team can be informed about it only when someone will run into the issue and report it.

Proposed Solution

add cron-job (maybe github action) which will check IDLs once a day, downloads them and in case of diff with the previous version - generate parsers, or at least inform the team that something was changed here

Steps to Achieve

  1. Create a script which will regenerate all the parsers from the stored IDLs. Can be taken in use as soon as will be written, because this is handy to actualize all the parsers just after the codama-renderers-vixen refactoring, improvements, new features, etc
  2. create a script or maybe even a subprogram which will be responsible for finding the IDL and download it in the project. Some IDLs can be fetched from the official github repos, other from the chain, and subset of most "hidden" can be guessed with IDLGuesser
  3. Check the diff of the stored IDL with the freshly downloaded. For the cases when IDL was guessed with IDLGuesser we have to store guessed idl in a couple with the human-readible one, for diff comparrison

cc @fernandodeluret

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