MetaMask / MetaMask/abi-utils

Add test vectors for individual parsers

Open
#18 0 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
24
Forks
8
PR merge metrics
No merged PRs in 30d

Description

Right now we have test vectors for testing encoding as a whole, but we should also have test vectors for individual parsers, using both the normal and packed mode.

The test vectors can be extracted from the general test vectors, and verified using Solidity.

- [ ] address
- [ ] array
- [ ] bool
- [ ] bytes
- [ ] fixed-bytes
- [ ] function
- [ ] number
- [ ] string
- [ ] tuple

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the existing general test vectors and the individual parser entry points. Extract vectors for address, array, bool, bytes, fixed-bytes, function, number, string, and tuple in both normal and packed modes, then verify them using Solidity; done means all checklist entries are covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
solidity, typescript
Domain
compilers, testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.