MetaMask / MetaMask/metamask-mobile

Reduced frequent Infura calls on Wallet View

Open
#7,885 1 comment 0 reactions 0 assignees View on GitHub
technical research
Dominant language
TypeScript
Stars
3k
Forks
1.7k
Avg merge
1d 14h
Merged PRs (30d)
669

Description

### What is this about?

During research of the mobile client traffic it was discovered that the client was calling Infura an excessive amount (> 1000/5min) while the application was open and idle on the Wallet View.

### Scenario

_No response_

### Design

_No response_

### Technical Details

- Review the root trigger for why these infra calls are so frequent
- Assess if the frequency is needed
- Reduce frequency and ideally cut down infura calls by x2

### Threat Modeling Framework

_No response_

### Acceptance Criteria

_No response_

### References

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by tracing the Wallet View's Infura requests while the mobile client is open and idle, then identify the root trigger and measure the request frequency. Assess whether the current frequency is necessary and verify that the change reduces Infura calls, ideally by half.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
mobile-dev, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.