Skip to content

cardano-db-tool: are create-migration and validate-address-balance intended to stay unimplemented after the Hasql rewrite? #2165

Description

@ArturWieczorek

[QUESTION] cardano-db-tool: are create-migration and validate-address-balance intended to stay unimplemented after the Hasql rewrite?

Type: Question / clarification (not filed as a bug - likely known WIP).

Affected: cardano-db-tool 13.7.2.1 (verified at HEAD).

Two subcommands are live no-op stubs after the Persistent -> Hasql rewrite:

create-migration

Warning: createMigration not implemented for Hasql. Manual migration creation required.
No migration needed.
  • cardano-db/src/Cardano/Db/Migration.hs:221, called from cardano-db-tool/app/cardano-db-tool.hs:74

validate-address-balance

Found N snapshots. Ledger validation not yet reimplemented for consensus snapshot format.
  • cardano-db-tool/src/Cardano/DbTool/Validate/Ledger.hs:41

Questions

  1. Are these planned to be reimplemented, or intentionally retired on the Hasql line?
  2. If retired, should they be removed from the CLI (rather than printing a stub) and/or documented as unavailable?
  3. create-migration is a dev-only helper; is manual migration authoring now the expected workflow (worth a doc note if so)?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions