Skip to content
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

fix _gasPrice e2e test and simplify getReservedParameterValue #1616

Merged
merged 3 commits into from
Jan 23, 2023

Conversation

dcroote
Copy link
Contributor

@dcroote dcroote commented Jan 22, 2023

find wasn't working as expected with the async callback. This PR corrects that deficiency and improves the robustness of the test by returning the transcation that used the expected gasPrice, confirming there was only one such transaction, and re-confirming the gasPrice.

The second commit simplifies the return logic of getReservedParameterValue

@dcroote dcroote self-assigned this Jan 22, 2023
@dcroote dcroote added this to the 0.10.0 milestone Jan 22, 2023
Copy link
Contributor

@amarthadan amarthadan left a comment

Choose a reason for hiding this comment

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

Just a minor nits, otherwise LGTM.

@dcroote dcroote merged commit 4e59968 into master Jan 23, 2023
@dcroote dcroote deleted the dcroote/fix-gasprice-test branch January 23, 2023 08:18
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.

2 participants