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

Fix sanchonet sync tip #168

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

klarkc
Copy link
Contributor

@klarkc klarkc commented Mar 27, 2024

  • Valid build plan
  • Valid build
  • Bump cardano-node to 8.10.1
  • Bump ogmios to 83065a
  • In sync with sanchonet (no decoding errors)
  • Passing tests

Fix #164

@KtorZ
Copy link
Member

KtorZ commented Mar 27, 2024

Nice @klarkc. Note that I think 8.9.0 is an easy reach. I've recently integrated that one on Ogmios and apart from some changes in the local state query protocol (which Kupo doesn't use), there wasn't much.

So ideally, we can just bump to that one directly.

@klarkc
Copy link
Contributor Author

klarkc commented Apr 9, 2024

@KtorZ, it seems we've reached the sancho tip (slot 25834774 at the moment). I'll return to this to bump cardano-node if I encounter any blocking issues here. I couldn't get the CI test to pass. It appears there is a mismatch between the repository source files and the tested source files (maybe due to some weird caching behavior?).

@klarkc klarkc marked this pull request as ready for review April 9, 2024 00:56
@klarkc

This comment was marked as off-topic.

@klarkc

This comment was marked as resolved.

<|>
-- TODO: This is probably redundant (now with decodeAddr and/or decodeAddrLenient
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We must use decodeAddrLenient here. decodeAddr is just broken and doesn't work on historical data :)

Comment on lines +91 to +95
-- TODO Remove unneeded unsafe upgrade from AlonzoEra to ConwayEra
-- I could not find any evidence that we should upgrade
-- from AlonzoEra to ConwayEra but to avoid introducing
-- breaking changes I'm keeping current design through
-- this unsafe function
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ConwayEra's script are a superset of AlonzoEra's scripts, like most types on the ledger; which is why Kupo has this approach of "upgrading" data into the most recent type. There's nothing unsafe about it in principle.

Co-authored-by: Matthias Benkort <5680256+KtorZ@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error parsing transactions in SanchoNet
2 participants