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

chifra when 0-latest:montly fails #3946

Open
tjayrush opened this issue Feb 2, 2025 · 1 comment
Open

chifra when 0-latest:montly fails #3946

tjayrush opened this issue Feb 2, 2025 · 1 comment

Comments

@tjayrush
Copy link
Member

tjayrush commented Feb 2, 2025

chifra when 0-latest:monthly

icorrectly returns "timestamp in the future"

@tjayrush
Copy link
Member Author

tjayrush commented Feb 2, 2025

chifra state --call --calldata 'manifestHashMap(0xf503017d7baf7fbc0fff7492b751025c6a78179b,"mainnet")' unchainedindex.eth 1000000-latest:daily

When I remove daily it works.

When I use daily (or monthly or annually) it fails with "block number in the future."

Clearly we need to clamp the calc at latest when period is not empty

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

No branches or pull requests

1 participant