-
Notifications
You must be signed in to change notification settings - Fork 20.4k
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 eth_getReceipt method to the RPC #1042
Comments
During block processing we need to keep track of additional information:
This requires:
|
@zsfelfoldi is this already implemented according to the specs above? @obscuren people would love to have the created contract address in here too, as at this point it should be clear. |
@frozeman Can you add this method to the JSON RPC wiki? |
I would do this after its implemented and tested. |
* Added GetReceiptsFromBlock, GetReceipt, PutReceipts * Added ContractAddress to receipt. See ethereum#1042
Linked PR current status below. Logs are not being set, but all other fields should be accurate
|
I think logs should always be an array (so even an empty array), so that it is the same behaviour as |
But looks good so far 👍 |
Are event filters not going to work for frontier launch?? |
That is fixed and should be closed. And Event filters work since a very long while already ;) |
### Description Out README is currently out of date and does not include much information about getting started. This PR includes more pointers to the docs along with updated information.
merge develop
…thereum#1042) * feat(tx pool): fast reject transactions that cannot fit into a block * add a TestValidateTxBlockSize unit test * chore: auto version bump [bot] --------- Co-authored-by: colinlyguo <colinlyguo@users.noreply.github.com>
We need a way to retrieve receipts. Jeff and i came up with the following solution:
Method:
eth_getReceipt
Param 1: Tx hash, e.g.
['0x12345..']
Result:
Internally we have to calculate the
gasUsed
through subtracting the previouscumulativeGasUsed
with the one of the current receipt, e.g.receipts[1].cumulativeGasUsed - receipts[0].cumulativeGasUsed
The text was updated successfully, but these errors were encountered: