MetaMask / MetaMask/core

Transaction type 0x03 is not implemented (EIP-4844, EIP-7594)

Open
#8,331 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
413
Forks
308
Avg merge
1d 4h
Merged PRs (30d)
253

Description

@matthewwalsh0

```
MetaMask - RPC Error: Invalid transaction envelope type: "0x3". Must be one of: 0x0, 0x1, 0x2, 0x4
```

We use EIP-7594 transactions to upload WASM files to Ethereum and then execute them in our network. It would be great to support this in the client for better UX.

https://eips.ethereum.org/EIPS/eip-7594

https://github.com/MetaMask/core/blob/main/packages/transaction-controller/src/utils/validation.ts
https://github.com/MetaMask/core/blob/054432d35eac17704fca9cf708387aab21e3bebc/packages/transaction-controller/src/types.ts#L1294

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading packages/transaction-controller/src/utils/validation.ts and the transaction type definition around packages/transaction-controller/src/types.ts#L1294. Use EIP-7594 and EIP-4844 to understand the transaction envelope, then trace where supported types are validated. Done means the client accepts type 0x03 transactions used for WASM uploads instead of reporting an invalid envelope type.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.