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

Require block numbers for debug_traceBlockByNumber to be in hex #1326

Merged
merged 3 commits into from
Apr 24, 2019

Conversation

ajsutton
Copy link
Contributor

PR description

Convert DebugTraceBlockByNumber to use AbstractBlockParameterMethod. It now requires hex numbers as input instead of decimal and supports shortcuts like 'latest' consistent with other methods like EthGetBlockByNumber.

Fixed Issue(s)

https://pegasys1.atlassian.net/browse/PAN-2578

 It now requires hex numbers as input instead of decimal and supports shortcuts like 'latest' consistent with other methods like EthGetBlockByNumber.
Copy link
Contributor

@AbdelStark AbdelStark left a comment

Choose a reason for hiding this comment

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

LGTM

@ajsutton ajsutton merged commit ea2879d into PegaSysEng:master Apr 24, 2019
@ajsutton ajsutton deleted the traceBlockByNumber_hexNumbers branch April 24, 2019 07:12
notlesh pushed a commit to notlesh/pantheon that referenced this pull request Apr 24, 2019
…SysEng#1326)

DebugTraceBlockByNumber now requires hex numbers as input instead of decimal and supports shortcuts like 'latest' consistent with other methods like EthGetBlockByNumber.
notlesh pushed a commit to notlesh/pantheon that referenced this pull request May 4, 2019
…SysEng#1326)

DebugTraceBlockByNumber now requires hex numbers as input instead of decimal and supports shortcuts like 'latest' consistent with other methods like EthGetBlockByNumber.
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