Skip to content

Conversation

@taokayan
Copy link
Contributor

Resolves #372

time.sleep(1)
remainingChecks -= 1
assert remainingChecks >= 0, "prodnode0 does not producer block at %d after resolving the fork" % (blockNum0)
blockNum0 = prodNodes[0].getBlockNum()
Copy link

Choose a reason for hiding this comment

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

There is a prodNodes[0].waitForBlock(blockNum0) you could use instead. You can specify timeout, but the default is 60.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Please check again. thanks!

Copy link

Choose a reason for hiding this comment

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

LGTM

@taokayan taokayan requested a review from heifner April 24, 2025 08:07
@taokayan taokayan merged commit fbb8de4 into release/1.0 Apr 25, 2025
6 checks passed
@taokayan taokayan deleted the kayan_1.0_forktest_fix branch April 25, 2025 04:45
@arhag arhag changed the title fix gas param fork test [1.0] fix gas param fork test May 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make integration test more resilient to failure due to balance mismatch between Contract and Node

3 participants