Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] - cardano-cli compatibility command #926

Open
Jimbo4350 opened this issue Oct 7, 2024 · 1 comment · Fixed by #929 or #931
Open

[FEATURE] - cardano-cli compatibility command #926

Jimbo4350 opened this issue Oct 7, 2024 · 1 comment · Fixed by #929 or #931
Assignees
Labels

Comments

@Jimbo4350
Copy link
Contributor

Jimbo4350 commented Oct 7, 2024

In an effort to unnecessarily maintain support for prior eras (outside of testing) we are introducing a new command to cardano-cli that will replace the top level era commands (shelley, allegra, alonzo, babbage):

cabal run cardano-cli -- compatible                                                                                                      

Resolving dependencies...
Usage: cardano-cli compatible 
                                ( shelley
                                | allegra
                                | mary
                                | alonzo
                                | babbage
                                | conway
                                )

  Limited backward compatible commands for testing only.

Available options:
  -h,--help                Show this help text

Available commands:
  shelley                  Shelley era commands
  allegra                  Allegra era commands
  mary                     Mary era commands
  alonzo                   Alonzo era commands
  babbage                  Babbage era commands
  conway                   Conway era commands

Users are only interested in mainnet's era and the potential upcoming era. However our QA team has a test that hardforks from Byron to the latest era. Therefore there is some backwards compatibility we must maintain. The compatible command is intended to maintain those commands as required by our QA team. For all other use cases, users are advised to use preexisting commands.

This is the list of commands that QA uses (given by @mkoura )

  • query tip
  • byron genesis genesis
  • genesis create
  • byron genesis print-genesis-hash
  • genesis hash
  • node key-gen-KES
  • node issue-op-cert
  • byron key keygen
  • byron key signing-key-address
  • byron transaction issue-genesis-utxo-expenditure
  • key convert-byron-key
  • key verification-key
  • address build
  • address key-gen
  • stake-address key-gen
  • address build
  • stake-address build
  • stake-address registration-certificate
  • node key-gen
  • stake-address delegation-certificate
  • node issue-op-cert
  • stake-pool metadata-hash
  • stake-pool registration-certificate
  • byron transaction submit-tx
  • governance create-update-proposal
  • query protocol-parameters
  • query utxo
  • transaction build-raw
  • transaction sign
  • transaction submit

I will periodically cross off commands that have been integrated into the compatibility command in cardano-cli or have been moved to the top level as they are truly era agnostic. The byron command group can remain where it is for now.

Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days.

@github-actions github-actions bot added the Stale label Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant