IntersectMBO / cardano-node

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

[BUG] - InvalidBlock error on Cardano node v8.10.1 (sanchonet environment) #5877

Open ironmask285 opened 3 months ago

ironmask285 commented 3 months ago

I encountered an issue while running my Cardano node on version 8.10.1 in the sanchonet environment. I observed the following error messages in the logs: Jun 07 14:24:37 sanchonet cnode[91772]: [sanchone:cardano.node.InboundGovernor:Info:65] [2024-06-07 07:24:37.97 UTC] TrMuxErrored (ConnectionId {localAddress = 172.16.61.1:6001, remoteAddress = 52.214.43.185:3001}) (InvalidBlock (At (Block {blockPointSlot = SlotNo 29444064, blockPointHash = f85269d4bbba996a78bcde2e9a5f900223ef53d792028bcd25772484d3becfdb})) afb86d842f84e842ca2ba7e464851d55b7ee21534b94b8c5882398c4b160a666 (ValidationError (ExtValidationErrorLedger (HardForkLedgerErrorFromEra S (S (S (S (S (S (Z (WrapLedgerErr {unwrapLedgerErr = BBodyError (BlockTransitionError (ShelleyInAlonzoBbodyPredFailure (LedgersFailure (LedgerFailure (ConwayUtxowFailure (AlonzoInBabbageUtxowPredFailure (PPViewHashesDontMatch (SJust (SafeHash "7d56dc4ea6d6cb67f6eebdc3cc1be10b19c7f7b8e8458945917696d5ef55a226")) (SJust (SafeHash "a5a26d9fcdb51a295b28a457108a2cdcccec2c71c80c3665b2e8782e164ae9c7"))))))) :| [ShelleyInAlonzoBbodyPredFailure (LedgersFailure (LedgerFailure (ConwayUtxowFailure (UtxoFailure (AlonzoInBabbageUtxoPredFailure (UtxosFailure (CollectErrors [NoCostModel PlutusV3])))))))]))}))))))))))) Jun 07 14:24:37 sanchonet cnode[91772]: [sanchone:cardano.node.PeerSelectionActions:Info:4624] [2024-06-07 07:24:37.97 UTC] PeerStatusChanged (HotToCooling (ConnectionId {localAddress = 172.16.61.1:6001, remoteAddress = 52.214.43.185:3001})) Jun 07 14:24:37 sanchonet cnode[91772]: [sanchone:cardano.node.ConnectionManager:Info:4621] [2024-06-07 07:24:37.97 UTC] TrConnectionHandler (ConnectionId {localAddress = 172.16.61.1:6001, remoteAddress = 52.214.43.185:3001}) (TrConnectionHandlerError OutboundError (InvalidBlock (At (Block {blockPointSlot = SlotNo 29444064, blockPointHash = f85269d4bbba996a78bcde2e9a5f900223ef53d792028bcd25772484d3becfdb})) afb86d842f84e842ca2ba7e464851d55b7ee21534b94b8c5882398c4b160a666 (ValidationError (ExtValidationErrorLedger (HardForkLedgerErrorFromEra S (S (S (S (S (S (Z (WrapLedgerErr {unwrapLedgerErr = BBodyError (BlockTransitionError (ShelleyInAlonzoBbodyPredFailure (LedgersFailure (LedgerFailure (ConwayUtxowFailure (AlonzoInBabbageUtxowPredFailure (PPViewHashesDontMatch (SJust (SafeHash "7d56dc4ea6d6cb67f6eebdc3cc1be10b19c7f7b8e8458945917696d5ef55a226")) (SJust (SafeHash "a5a26d9fcdb51a295b28a457108a2cdcccec2c71c80c3665b2e8782e164ae9c7"))))))) :| [ShelleyInAlonzoBbodyPredFailure (LedgersFailure (LedgerFailure (ConwayUtxowFailure (UtxoFailure (AlonzoInBabbageUtxoPredFailure (UtxosFailure (CollectErrors [NoCostModel PlutusV3])))))))]))}))))))))))) ShutdownPeer) Jun 07 14:24:37 sanchonet cnode[91772]: [sanchone:cardano.node.ConnectionManager:Info:4621] [2024-06-07 07:24:37.97 UTC] TrConnectionManagerCounters (ConnectionManagerCounters {fullDuplexConns = 0, duplexConns = 0, unidirectionalConns = 0, inboundConns = 0, outboundConns = 2}) Steps to reproduce: Start the Cardano node on version 8.10.1 in the sanchonet environment. Monitor the logs for any error messages.

Expected behavior: The Cardano node should run without encountering any errors.

Actual behavior: The node encounters an InvalidBlock error, as shown in the provided logs.

This issue seems to be impacting the node's functionality, and I believe it needs investigation and resolution.

smelc commented 3 months ago

@ironmask285> can you share here the conway genesis file you are using? It probably has conway and genesis in its name, in your node directory; and its extension is .json.

ironmask285 commented 3 months ago

sure, hrere's my conway-genesis.json
conway-genesis.json please help me @smelc

smelc commented 2 months ago

@ironmask285> your conway genesis looks fine (I was looking if the Plutus V3 cost models were present, since your error message indicates that they are missing).

Can you try a version of the node more recent than 8.10.1? (see https://github.com/IntersectMBO/cardano-node/releases)

github-actions[bot] commented 1 month ago

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.