Skip to content
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

[ETCM-126] add eth_pendingTransactions #726

Merged
merged 14 commits into from
Oct 15, 2020
Merged

Conversation

lemastero
Copy link
Contributor

Description

Add support for Ethereum JSON-RPC endpoint eth_pendingTransactions

Proposed Solution

Important Changes Introduced

Testing

@lemastero lemastero changed the title add eth_pendingTransactions WIP [ETCM-126] add eth_pendingTransactions Oct 7, 2020
@mmrozek
Copy link
Contributor

mmrozek commented Oct 7, 2020

I think it works the same as qa_getPendingTransactions. So probably we could remove the old method

@lemastero lemastero force-pushed the ETCM-126-pendingTrx branch from 23e77bc to 5f00f21 Compare October 9, 2020 11:44
Signed-off-by: lemastero <piotr.paradzinski@iohk.io>
@lemastero lemastero marked this pull request as ready for review October 12, 2020 16:16
@lemastero lemastero changed the title WIP [ETCM-126] add eth_pendingTransactions [ETCM-126] add eth_pendingTransactions Oct 12, 2020
…ctions

Signed-off-by: lemastero <piotr.paradzinski@iohk.io>
@lemastero lemastero force-pushed the ETCM-126-pendingTrx branch from fea3bd8 to 7d47ca3 Compare October 12, 2020 16:20
response should haveResult(JArray(List()))
}

it should "mempool is empty" in new TestSetup {
Copy link
Contributor

Choose a reason for hiding this comment

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

Mempool has transactions 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.

Good catch, thank you it gave me some good hint on why tests failed after porting from qa scope to eth 👍

@lemastero lemastero marked this pull request as draft October 13, 2020 18:54
@lemastero lemastero force-pushed the ETCM-126-pendingTrx branch from 65c8b04 to 712a173 Compare October 14, 2020 12:06
@lemastero lemastero marked this pull request as ready for review October 14, 2020 16:36
@lemastero
Copy link
Contributor Author

I think it works the same as qa_getPendingTransactions. So probably we could remove the old method

Done.

@@ -961,6 +961,43 @@
"settingFollowRedirects": "global",
"_type": "request"
},
{
Copy link
Contributor

Choose a reason for hiding this comment

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

Please remove qa_getPendingTransactions from insomnia also

Copy link
Contributor

Choose a reason for hiding this comment

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

And remember to notify QA once this gets merged :)

build.sbt Show resolved Hide resolved
@lemastero lemastero force-pushed the ETCM-126-pendingTrx branch from 5b14e23 to 2d8c97e Compare October 15, 2020 12:00
Copy link
Contributor

@mmrozek mmrozek left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Contributor

@kapke kapke left a comment

Choose a reason for hiding this comment

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

LGTM!

@lemastero lemastero merged commit 5fb0b41 into develop Oct 15, 2020
@mirkoAlic mirkoAlic added the BREAKS API Affects services that interacts with APIs label Oct 15, 2020
@lemastero lemastero deleted the ETCM-126-pendingTrx branch October 16, 2020 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BREAKS API Affects services that interacts with APIs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants