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

PAN-2715 - return block not found reasons in error #1485

Merged
merged 5 commits into from
May 24, 2019

Conversation

shemnon
Copy link
Contributor

@shemnon shemnon commented May 22, 2019

PR description

When looking for a specific block and failing we should explain why
in the error message.
Also, clean up test names and grouping

Fixed Issue(s)

PAN-2715

When looking for a specific block and failing we should explain why
in the error message.
Also, clean up test names and grouping
Copy link
Contributor

@NicolasMassart NicolasMassart left a comment

Choose a reason for hiding this comment

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

It's ok for me, I had just one question but nothing that should block the merge.

@@ -0,0 +1,25 @@
{
"request": "{block (number: \"0x03\", hash : \"0xc8df1f061abb4d0c107b2b1a794ade8780b3120e681f723fe55a7be586d95ba6\") {number transactions{hash} timestamp difficulty totalDifficulty gasUsed gasLimit hash nonce ommerCount logsBloom mixHash ommerHash extraData stateRoot receiptsRoot transactionCount transactionsRoot}} ",
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't know how you can add a comment in there but I wonder what the invalid param is exactly in this specific request.
Also would there be a way to indicate it in the error message ?

@shemnon shemnon merged commit 8f75bcf into PegaSysEng:master May 24, 2019
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.

2 participants