Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

add to and from fields to transaction receipts and tests #212

Merged
merged 5 commits into from Nov 6, 2018

Conversation

eshaben
Copy link
Contributor

@eshaben eshaben commented Oct 31, 2018

getTransactionReceipt was not previously returning a to and from address field. This PR adds those fields to the transaction receipt.

test/requests.js Outdated
{
jsonrpc: "2.0",
method: "eth_getTransactionReceipt",
params: [ "0xe0be65aa192f931857f9e42d3a8d772522fd0196d72981566bd1c8367ae12eb8" ],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of copying the hash from a previous test let's just run our own transaction within this test and get the receipt for it here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I made those changes 👌plus a couple others that Nick had pointed out.

Copy link
Member

@davidmurdoch davidmurdoch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@davidmurdoch davidmurdoch merged commit 4d3c606 into develop Nov 6, 2018
@eshaben eshaben deleted the add-from-address-to-receipt branch November 6, 2018 21:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants