MetaMask / MetaMask/metamask-extension

Make block polling dynamic to the current network

Open
#9,556 0 comments 1 reaction 0 assignees View on GitHub
type-enhancement
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

Different EVM networks have different block-times. Currently we use the same fixed polling interval for all custom networks.

Instead, it would be better if we even did a very brief rolling average of recent block times to derive a reasonable polling interval.

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by locating the fixed polling interval used for custom EVM networks and inspect how recent block times can be sampled; done means polling adapts to a brief rolling average for each network.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
blockchain
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.