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(validate): compute slot / time conversion correctly #613

Open
scarmuega opened this issue Feb 27, 2025 · 1 comment
Open

fix(validate): compute slot / time conversion correctly #613

scarmuega opened this issue Feb 27, 2025 · 1 comment

Comments

@scarmuega
Copy link
Member

scarmuega commented Feb 27, 2025

To correctly execute time / slot conversions we need the whole history of the chain eras. Instead of simple values in the PParams struct, we need a new struct that represents the history, similar to what Dolos has here: https://github.com/txpipe/dolos/blob/main/src/ledger/pparams/summary.rs

Decide if maybe we just migrate Dolos' pparams module to Pallas.

@Quantumplation
Copy link
Collaborator

We just recently wrote something like that for Amaru:

pragma-org/amaru#39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants