Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

test(middleware): fix flapping gas oracle #514

Merged
merged 2 commits into from
Oct 16, 2021

Conversation

shekhirin
Copy link
Contributor

@shekhirin shekhirin commented Oct 16, 2021

Motivation

CI tests are flapping because gas price changes between retrieving from Gas Station as expected and using it in middleware.

Solution

Implement fake gas price oracle, so we can be sure price doesn't change during the test.

PR Checklist

  • Implement FakeGasOracle

@shekhirin shekhirin force-pushed the fix/flapping-gas-oracle-test branch from 0f8133d to c1af73b Compare October 16, 2021 15:26
@gakonst gakonst merged commit 956a87a into gakonst:master Oct 16, 2021
@gakonst
Copy link
Owner

gakonst commented Oct 16, 2021

Nice one! Thank you.

meetmangukiya pushed a commit to meetmangukiya/ethers-rs that referenced this pull request Mar 21, 2022
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