dawsbot / dawsbot/essential-eth
Support more encoding/decoding types
- Dominant language
- TypeScript
- Stars
- 310
- Forks
- 34
- PR merge metrics
- No merged PRs in 30d
Description
[There are several encoding + decoding types that are not yet working](https://github.com/dawsbot/essential-eth/blob/6705a3bd13e3a1ccaacbc91f12c0b07a643d9499/src/classes/utils/encode-decode-transaction.ts#L132).
Enabling signing will be dangerous until most or all encoding/decoding types are working with `essential-eth`.
To start, we should find production smart-contracts which have unique and difficult types then add support via jest tests like was done with [the CRV smart-contract tests](https://github.com/dawsbot/essential-eth/issues/130). [The readme outlines types that are already covered properly](https://github.com/dawsbot/essential-eth#contract). Assume all others will error and this issue is to track adding support.
Contributor guide
Research direction
Start in src/classes/utils/encode-decode-transaction.ts around line 132, then review the README’s list of covered contract types. Use the CRV smart-contract tests linked from issue #130 as the testing reference, and identify production contracts with unsupported types. Done means the selected additional encoding and decoding types work under Jest tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- blockchain
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100