Closed pacrob closed 1 month ago
web3 generates accessLists with storageKeys of type HexBytes, but eth-account only allows them to be ints or 0x-prefixed strings.
web3
accessList
storageKeys
HexBytes
eth-account
int
Closes #286
Set validation to allow them to be bytes. Might make more sense to stay stricter only allow HexBytes
bytes
Wrong direction on this. web3's AccessListEntry uses only HexStr, not HexBytes, so it shouldn't be returning those in the storageKeys
AccessListEntry
HexStr
What was wrong?
web3
generatesaccessList
s withstorageKeys
of typeHexBytes
, buteth-account
only allows them to beint
s or 0x-prefixed strings.Closes #286
How was it fixed?
Set validation to allow them to be
bytes
. Might make more sense to stay stricter only allowHexBytes
Todo:
Cute Animal Picture