-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Allow querying for genesis transactions on height 0 #3867
Comments
Why can't you get block 1? |
It's not the genesis block isn't it? So I wouldn't see the genesis transactions. |
we can query the genesis txs using the |
Great! Can we close this issue then? |
we could do something like |
I think the biggest case is genesis transactions. So I change the title. |
@fedekunze why not make |
That's what he is suggesting I think ;) |
@colin-axner want to take on this one when you have time? The scope would be:
For the next iteration, we could add events for each of the genesis txs to make them queryable |
@fedekunze yea I can take this on |
What is the reasoning for not just adding a new endpoint as suggested above, |
👍 let’s go for that one instead |
I don't think |
@faboweb lets do the cleaner API then, I think I can make |
Great! |
Pausing work on this until #4751 is resolved and genutils is updated |
Summary
It would be nice to be able to query the genesis block as height 0.
Problem Definition
We can query blocks, validatorsets, transactions and others by block height. For the block 0 (genesis block) we can't.
Proposal
It would be nice to unify this experience by indexing the block, transactions and others as height 0 even if they miss some properties.
For Admin Use
The text was updated successfully, but these errors were encountered: