Skip to content

fix gas param fork test #386

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 25, 2025
Merged

fix gas param fork test #386

merged 3 commits into from
Apr 25, 2025

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
Member

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
Member

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
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
2 participants