MetaMask / MetaMask/metamask-extension
[Sentry] Error: block does not exist
- Dominant language
- TypeScript
- Stars
- 13.2k
- Forks
- 5.6k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 451
Description
Sentry Issue: [METAMASK-X9GK](https://metamask.sentry.io/issues/5107603445/?referrer=github_integration)
```
Error: block does not exist
at imports.wbg.__wbindgen_error_new (app/scripts/lib/ppom/ppom.js:443:21)
at None (/metamask/ppom_bg.wasm:wasm-function[32]:0x1fcda)
at None (/metamask/ppom_bg.wasm:wasm-function[1363]:0x1b0d36)
at None (/metamask/ppom_bg.wasm:wasm-function[5862]:0x255c7c)
at __wbg_adapter_20 (app/scripts/lib/ppom/ppom.js:212:9)
...
(1 additional frame(s) were not displayed)
```
Contributor guide
Research direction
Start with the stack trace in app/scripts/lib/ppom/ppom.js, especially __wbindgen_error_new and the calls into ppom_bg.wasm. Reproduce the Sentry error if possible, then trace where the PPOM code requests a block and determine why the block is unavailable. The issue is complete when the cause is identified and the resulting error is handled or fixed with appropriate coverage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, wasm
- Domain
- blockchain
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100