ApeWorX / ape

The smart contract development tool for Pythonistas, Data Scientists, and Security Professionals
https://apeworx.io
Apache License 2.0
897 stars 133 forks source link

fix: use str type with bytes validator #2340

Closed antazoey closed 1 month ago

antazoey commented 1 month ago

What I did

Allow bytes in TransactionTrace hash

fixes: #2339

How I did it

Use HexStr pydantic type

How to verify it

Checklist

antazoey commented 1 month ago

Wait to merge until this comment is addressed: https://github.com/ApeWorX/ape/pull/2333#issuecomment-2436050272 If we decided to punt the help to 0.9, I want to revert the last merged commit (and merge it into the help PR) first before proceeding with anything else.