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

Get epoch info of specified epoch #11231

Merged
merged 5 commits into from
Oct 7, 2024

Conversation

soloseng
Copy link
Contributor

@soloseng soloseng commented Oct 2, 2024

Description

Added a function that allows users to get the epoch info of a specified epoch number

Other changes

Made some private state variables internal instead, to allow use by mock contracts

Tested

added a unit test

@soloseng soloseng requested a review from a team as a code owner October 2, 2024 20:07
@soloseng soloseng self-assigned this Oct 2, 2024
Copy link

openzeppelin-code bot commented Oct 2, 2024

Get epoch info of specified epoch

Generated at commit: fca97c10be04ed5058cf0e743a37e877d817c138

🚨 Report Summary

Severity Level Results
Contracts Critical
High
Medium
Low
Note
Total
3
2
0
14
43
62
Dependencies Critical
High
Medium
Low
Note
Total
0
0
0
0
0
0

For more details view the full report in OpenZeppelin Code Inspector

@martinvol martinvol merged commit 38723bc into release/core-contracts/12 Oct 7, 2024
42 checks passed
@martinvol martinvol deleted the soloseng/epoch-of-block branch October 7, 2024 10:50
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