api3dao / airseeker

A service powering the dAPIs
MIT License
3 stars 5 forks source link

Only scale gas price when the transaction is a retry #284

Closed Siegrift closed 6 months ago

Siegrift commented 6 months ago

I've noticed that we always scale the gas price (even when the transaction is the original). This is because we set the pending timestamp before making the transaction (so during update Airseeker already sees the transaction as a retry).

This code needs to be revisited.