Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

ABI encoding is out of date

Open
#134 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
typescript
Domain
blockchain

Research direction

Start by locating the library's uses of ethereumjs-abi and its ABI encoding and decoding entry points. Check the ABI_V2 behavior for bytes and string parameters, then evaluate the suggested ethers migration. Done means newer ABI_V2 messages encode and decode correctly, with tests covering those parameter types.

Written by the indexing model from the issue text.

Description

enhancement

This library is using ethereumjs-abi, which does not support the newer ABI_V2 spec and has been deprecated as a result: https://github.com/ethereumjs/ethereumjs-abi/issues/86

ABI_V2 changed the way bytes and string params are encoded and I know from personal experience that ethereumjs-abi does not decode newer messages properly. I don't know if the encoding side will work or not, but I would suggest considering a move to ethers if this repo is still in development.

Dominant language
TypeScript
Stars
584
Forks
230
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from MetaMask/eth-sig-util

All issues in MetaMask/eth-sig-util

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.