-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Add GenesisUnixTime
and EpcohDurationInSeconds
to StateGetNetworkParams
#12872
Comments
This should be fairly straightforward and I think would be a nice usability improvement over what we to do now outside of lotus. Marking as
curl -s https://api.node.glif.io/rpc/v1 -X POST -H "Content-Type": "application/json" --data '{"method":"Filecoin.ChainGetGenesis", "params":[], "id":1,"jsonrpc":"2.0"}' | jq '.result.Blocks[0].Timestamp'
1598306400 But it's also trivial to look up so could easily go in
|
I'd like to take this up! |
Hey @keval215! Feel free to take this on, I have assigned you to the issue ticket |
Hey @keval215! What is the status on this ticket? Are you still up for taking this on? |
Hey @rjan90 running a bit late, i am up for it , i'll get it done by this week |
@keval215 Were you able to take a look at this ticket? Was there anything unclear that we can clarify for you? No worries if you don't have the bandwidth to take it up; I just want to understand if I should still keep this ticket assigned to you. |
Checklist
Ideas
.Lotus component
What is the motivation behind this feature request? Is your feature request related to a problem? Please describe.
These would be useful to have in
StateGetNetworkParams
to help tie epochs to IRL dates (for UX/DX)Reference:
https://filecoinproject.slack.com/archives/CP50PPW2X/p1718780294027079?thread_ts=1714814756.768149&cid=CP50PPW2X
Describe the solution you'd like
Re-filing #12114 because it was a good idea...
Add these 2 fields to StateGetNetworkParams:
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: