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

eth/catalyst: fix (*SimulatedBeacon).AdjustTime() conversion #30138

Merged
merged 2 commits into from
Jul 16, 2024

Conversation

jmank88
Copy link
Contributor

@jmank88 jmank88 commented Jul 10, 2024

This PR fixes a conversion in (*SimulatedBeacon).AdjustTime() which was adding a raw nanosecond duration to a unix timestamp value (seconds). The corresponding test TestAdjustTime was making the same mistake.

Copy link
Member

@rjl493456442 rjl493456442 left a comment

Choose a reason for hiding this comment

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

Thanks for catching it, sgtm

@fjl fjl added this to the 1.14.8 milestone Jul 15, 2024
@fjl fjl merged commit 0d38b0c into ethereum:master Jul 16, 2024
1 of 2 checks passed
leeren pushed a commit to storyprotocol/story-geth that referenced this pull request Aug 16, 2024
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