Skip to content

Use fetchWithCache for retrieving basic gas estimates #10081

@darkwing

Description

@darkwing

When looking at our fetchBasicGasEstimates function, I found that we are manually managing cache time:

https://github.com/MetaMask/metamask-extension/blob/develop/ui/app/ducks/gas/gas.duck.js#L110-L134

Our fetchWithCache resource can do this, so we should move to fetchWithCache to make fetchBasicGasEstimates much more simple.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions