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

Relayer returning estimates with 0 Gwei | Sokol #60

Closed
RyRy79261 opened this issue Aug 13, 2019 · 2 comments
Closed

Relayer returning estimates with 0 Gwei | Sokol #60

RyRy79261 opened this issue Aug 13, 2019 · 2 comments

Comments

@RyRy79261
Copy link

Description

2 previous issues, (#56, #52) we closed despite the errors not being addressed.

The relayer will go through phases of sending back estimates that were calculated with a gas price of 0 repeatedly, I have recreated both issues in version 1.0.0 & 1.1.0 on the playground.

@RyRy79261
Copy link
Author

RyRy79261 commented Aug 13, 2019

The pseudocode for the repair is as follows:

if(networkId == 77 || networkId == 100){
   estimate.gasPrice = anyToBN(1000000000);
}

@stanislaw-glogowski Please apply this to the function that generates estimates in the relayer

@stanislaw-glogowski
Copy link
Contributor

@RyRy79261 Thanks for fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants