f-o-a-m / purescript-web3

a purescript library for the web3 api
Apache License 2.0
127 stars 24 forks source link

double check the difference between 0x0, 0x and 0x00 #93

Closed martyall closed 6 years ago

martyall commented 6 years ago

I don't have any reason to believe we're doing something wrong, but I came across something the other day that led me to believe that sometimes 0x0 is expected or returned for either BigNumber or HexString. If we need to deal with this as a HexString, we will fail because HexString parsers enforce that the number of characters must be even.

martyall commented 6 years ago

this is more of an issue for ps-eth-core, but posting here because this is where we might detect it