Closed rvagg closed 1 month ago
I'd Like to work on this
I'd Like to work on this
Awesome, I will assign this ticket to you then @virajbhartiya. Let us know if you need additional pointers to where this should go in code, either here or in the #fil-lotus-dev channel in Slack.
Yes sure. Thanks a lot
Hey, @rjan90, so just to be clear, we have to implement a function eth_getBlockReceipts
that will allow clients to retrieve all transaction receipts from a specific block. So instead of querying for each transaction usingeth_getTransactionReceipt
, we query for the block, and it would return an array of all transaction receipts from that block?
@virajbhartiya yes, but please do a bit of research on the various forms of Ethereum documentation out there to confirm that eth_getBlockReceipts
is precisely that. That's my understanding from a brief bit of research but it would be good to confirm.
@rvagg @rjan90 I have submitted a PR, can you please give it a look
Hey @rvagg @rjan90 im having some trouble passing a few tests, could you please help me out with those
I think the output of this is the same as
eth_getTransactionReceipts
but you query for the block number instead of transaction hash and the result is just an array with all of theeth_getTransactionReceipts
results.This is an efficient way to get all details of a tipset rather than querying for all messages and constructing it yourself. Just need to be careful about doing proper de-duplication.