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

Chain index stop syncing after slot 62510369, maybe related with new Babbage era #602

Closed
manupadillaph opened this issue Jul 17, 2022 · 6 comments
Labels
bug Something isn't working

Comments

@manupadillaph
Copy link

Summary

Chain index is not syncing in tesnet after Slot: 62510369, BlockId: d931221f9bc4cae34de422d9f4281a2b0344e86aac6b31eb54e2ee90f44a09b9

I converted to POSIX TIME and is: Friday, 22 July 2022 8:19:45.999 AM, related with the time frame of the new babbage era.

I download and built the latest plutus apps (commit 139c042) and syncing from zero again with no success. Im using with cardano-node-1.35.0-linux which is syncing 100%.

There was similar issues with cardano-db-sync and they said they fix the issue there. IntersectMBO/cardano-db-sync#1181 IntersectMBO/cardano-db-sync#1182

Here also, some report about the chain index rolling back slots after this slot: #557

Any idea?

Thank you

Steps to reproduce the behavior

Install Cardano Node 1.35
Build Latest Plutus-Apps
Run Chain Index

Actual Result

Stop syncint and stayt with this message:

[chain-index:Info:33] [2022-07-16 23:01:46.14 UTC] Syncing (98.22%). Processed 0 blocks, 1 rollbacks in the last 13s. Current tip is Point(Slot 62510369, BlockId d931221f9bc4cae34de422d9f4281a2b0344e86aac6b31eb54e2ee90f44a09b9)

Expected Result

Continue Syncing until 100%

Describe the approach you would take to fix this

Something similar to what has been made in cardano-db-sync?

I fount they used eras/babbage/impl in cardano-ledger in the latest cabal file.
I culdnét make this work inside the cabal file of plutus app

source-repository-package
type: git
location: https://github.com/input-output-hk/cardano-ledger
tag: 3be8a19083fc13d9261b1640e27dd389b51bb08e
--sha256: 0dvm9l43mp1i34bcywmznd0660hhcfxwgawypk9q1hjkml1i41z3
subdir:
eras/alonzo/impl
-- eras/alonzo/test-suite
eras/babbage/impl

System info

WSL2
Ubuntu

@manupadillaph manupadillaph added the bug Something isn't working label Jul 17, 2022
@ghost ghost self-assigned this Jul 20, 2022
@manupadillaph
Copy link
Author

There is any schedule for the new release of plutus app and chain index working with baggage era?

@ghost
Copy link

ghost commented Jul 27, 2022

Yes, please check the next-node branch and don't forget to set a different chain-index.db path.

@manupadillaph
Copy link
Author

manupadillaph commented Aug 3, 2022

great, Im trying now. So, it need to sync in a new database?
The cardano-node, witch version should I use? 1.35.0? 1.35.1?

@koslambrou
Copy link
Contributor

I would suggest using the cardano-node builded with the Nix shell of plutus-apps. Currently, it's using the 1.35.2 version.

@manupadillaph
Copy link
Author

Ok. Thank you so much.
Im trying building the node with nix as indicated here: https://github.com/input-output-hk/cardano-node/blob/master/doc/getting-started/building-the-node-using-nix.md/
What do you mean with Nix shell of plutus-apps?
Im doing the build inside the nix shell

@koslambrou
Copy link
Contributor

That's work as well. But cardano-node is already built with plutus-apps. Following the instructions in the README of plutus-apps. Install Nix, setup the Nix cache, then do nix-shell. From there, you'll have access to the cardano-node executable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants