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

Change ExpectBlockNumber to require at least the specified block number #981

Merged
merged 6 commits into from
Feb 26, 2019

Conversation

ajsutton
Copy link
Contributor

PR description

Since the miner is constantly adding new blocks, it doesn't make any sense to wait for a specific block number as the chain height may have progressed beyond that by the time the check runs causing a failure. Instead we need to check that the chain is at least that height - higher is fine.

Also adds in a better error message when NettyP2PNetwork fails to start so we hopefully get a stack trace and can see why.

Copy link
Contributor

@macfarla macfarla 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 5138797 into PegaSysEng:master Feb 26, 2019
@ajsutton ajsutton deleted the fix-intermittency branch February 26, 2019 22:23
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