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

[PIE-1805] Create stub trace_replayBlockTransactions json-rpc method #1873

Merged
merged 11 commits into from
Aug 22, 2019

Conversation

mbaxter
Copy link
Contributor

@mbaxter mbaxter commented Aug 21, 2019

PR description

This PR lays the groundwork for implementing the new JSON-RPC method trace_replayBlockTransactions:

  • Create a stub JSON-RPC method that will be expanded as functionality is added
  • Create a testing framework for the new method
    • Move BlockchainSetupUtil to a more accessible package in order to deduplicate blockchain setup logic
    • Rework the testing base classes to deduplicate logic and make test customization easier
    • Organize test resources into subfolders
  • Add some basic tests

@mbaxter mbaxter marked this pull request as ready for review August 22, 2019 01:40
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.

Looks good to me.


final URL genesisJsonUrl = BlockTestUtil.getTestGenesisUrl();
PROTOCOL_SCHEDULE = MainnetProtocolSchedule.create();
ChainResources chainResources = getChainResources();
Copy link
Contributor

Choose a reason for hiding this comment

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

(Suggestion) make chainResources final

@mbaxter mbaxter merged commit 592b89e into PegaSysEng:master Aug 22, 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