ApeWorX / ethpm-types

Implementation of EIP-2678
Apache License 2.0
14 stars 8 forks source link

feat!: `sourcemap` repr, str, docs and fixes #58

Closed antazoey closed 1 year ago

antazoey commented 1 year ago

What I did and How I Did It

My main goal here is trying to understand, so if you review this PR, please make help me do so!

So I noticed that __repr__ for SourceMap looked funny, so I starting poking in that. I found SourceMapItem and the parse() method so wanted to know more about how that worked because the docs were sort of missing.

fixes: APE-581

How to verify it

Checklist

antazoey commented 1 year ago

This diff will be better once this merges https://github.com/ApeWorX/ethpm-types/pull/59 ^ which contains all of the template updates