MetaMask / metamask-mobile

Mobile web browser providing access to websites that use the Ethereum blockchain
https://metamask.io
Other
2.15k stars 1.11k forks source link

[Sentry] Object captured as exception with keys: code, message, name, rpc, stack #10864

Open sentry-io[bot] opened 1 month ago

sentry-io[bot] commented 1 month ago

Sentry Issue: METAMASK-MOBILE-2PC4

Error: Object captured as exception with keys: code, message, name, rpc, stack
dbrans commented 1 month ago

Hi Confirmations team!

I've sent this ticket back to you for your gas and tx expertise. Any thoughts on the root cause or at least where it should be routed? Please add any context that would help make this more actionable. Feel free to kick it back to the transactions team or the mobile team and assign to @Daniel-Cross

Here are my first thoughts:

According to the sentry breadcrumbs, the wallet makes a series of json-rpc requests. I'm not familiar with the pattern of requests.

On the attached error:

"max fee per gas less than block base fee" – is a geth presubmit check failure that is applied before eth_call or eth_sendRawTransaction. This precheck can fail if the block base fee increases from one block to the next to exceed the max fee per gas. But that doesn't explain why we would first see it Aug 26th.