Skip to content

Conversation

@Evalir
Copy link
Member

@Evalir Evalir commented Jul 11, 2025

Right now, this timestamp isn't divisible by 12. After fixing the bug we had on blob extraction on the node (https://github.com/init4tech/signet-node/pull/557/files#diff-c630b8329efc76498eaf78bdf3073dcdaefaacb9325e5731b7d1d8cae855d791R262), we now don't conform to an invariant that the calculator has when using slot_ending_at: The timestamp must be a slot boundary. We know if it's a slot boundary if it's divisible by 12 in the context of the start timestamp. For tests, this is 0, so any timestamp divisible by 12 will do.

…iant

Right now, this timestamp isn't divisible by 12. After fixing the bug we had on blob extraction on the node (https://github.com/init4tech/signet-node/pull/557/files#diff-c630b8329efc76498eaf78bdf3073dcdaefaacb9325e5731b7d1d8cae855d791R262), we now don't conform to an invariant that the calculator has when using `slot_ending_at`: The timestamp must be a slot boundary. We know if it's a slot boundary if it's divisible by 12 in the context of the start timestamp. For tests, this is 0, so any timestamp divisible by 12 will do.
@Evalir Evalir requested a review from a team as a code owner July 11, 2025 10:28
Copy link
Member Author

Evalir commented Jul 11, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@Evalir Evalir requested a review from prestwich July 11, 2025 10:33
Copy link
Member

@prestwich prestwich left a comment

Choose a reason for hiding this comment

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

no need to make a release for this as all dependents rely on via github. This package is not published anyway, right?

@Evalir Evalir requested a review from prestwich July 11, 2025 10:35
@Evalir
Copy link
Member Author

Evalir commented Jul 11, 2025

Node depends on the released versions, but we can switch to github if we want 🤷

@prestwich
Copy link
Member

no, the node depends on a github commit identified by a tag. signet-test-utils is not published

@Evalir
Copy link
Member Author

Evalir commented Jul 11, 2025

in any case, i already removed the version bump

@Evalir Evalir enabled auto-merge (squash) July 11, 2025 10:43
@Evalir Evalir merged commit f988fa6 into main Jul 11, 2025
7 checks passed
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.

3 participants