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: update approx. round length to 20 minutes #53

Merged
merged 1 commit into from
Feb 6, 2024
Merged

Conversation

bajtos
Copy link
Member

@bajtos bajtos commented Feb 1, 2024

This is a follow-up for the change we made recently that reduced Spark Meridian round length to 20 minutes:

It would be nice if Spark could read this value from the Meridian state in the future, but considering how infrequently we are changing this value, the current manual process is IMO good enough for now.

Note: once we deploy this change, the Spark network will perform 3x more retrievals, thus increasing the load on IPNI and SPs.

Signed-off-by: Miroslav Bajtoš <oss@bajtos.net>
Copy link
Member

@juliangruber juliangruber left a comment

Choose a reason for hiding this comment

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

To read this from the smart contract we'll need

  • fetch
  • glif token or chain.link configured
  • parse hex string into big int

@bajtos bajtos merged commit 4571103 into main Feb 6, 2024
1 check passed
@bajtos bajtos deleted the fix-round-length branch February 6, 2024 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ done
Development

Successfully merging this pull request may close these issues.

2 participants