IntersectMBO / cardano-node

The core component that is used to participate in a Cardano decentralised blockchain.
https://cardano.org
Apache License 2.0
3.06k stars 720 forks source link

[BUG] - vasil-testnet-v1 - CLI queries "kes-period-info", "protocol-state" and "leadership-schedule" are broken #3883

Closed mkoura closed 2 years ago

mkoura commented 2 years ago

Internal

Area Other Any other topic (Delegation, Ranking, ...).

Summary In Alonzo era, with the vasil-testnet-v1 tag, the CLI queries kes-period-info, protocol-state and leadership-schedule fail with

FatalError {fatalErrorMessage = ... currentlyBroken ...

E.g.

$ cardano-cli query kes-period-info --op-cert-file pool2_invalid_opcert_file.opcert --testnet-magic 42 --cardano-mode
cardano-cli: FatalError {fatalErrorMessage = "runQueryKesPeriodInfo: currentlyBroken - opCertOnDiskAndStateCounters ptclState opCert"}

$ cardano-cli query protocol-state --testnet-magic 42 --cardano-mode
cardano-cli: FatalError {fatalErrorMessage = "currentlyBroken: runQueryProtocolState writeProtocolState mOutFile result"}

$ cardano-cli query leadership-schedule --genesis ...
cardano-cli: FatalError {fatalErrorMessage = "runQueryLeadershipSchedule: currently broken"}'

System info (please complete the following information):

TASKS:

Jimbo4350 commented 2 years ago

A solution was merged by the consensus team: https://github.com/input-output-hk/ouroboros-network/pull/3758#issuecomment-1133037072 I'll link my PR here when it's ready

newhoggy commented 2 years ago

There is a separate issue tracking the leadership-schedule command.

CarlosLopezDeLara commented 2 years ago

Resolved in https://github.com/input-output-hk/cardano-node/pull/4106