Chris Wawer

Results 26 comments of Chris Wawer

when I checked length validator I received `must have a length of at least 2` string instead of `must have a length of at least %{count}`

What if you have different lenght in different places like `min: 2`, `min: 4` or you change 2 to 3 for example, then you need to fill new translation key....

Bug found, solution: In line https://github.com/q9f/eth.rb/blob/main/lib/eth/abi/decoder.rb#L109 ``` i = u >= 2 ** (type.sub_type.to_i - 1) ? (u - 2 ** type.sub_type.to_i) : u ``` gem removes `111..111` mask of...

@q9f please provide snippet, how to use it

I have prepared this fix: https://github.com/q9f/eth.rb/pull/268. It isn't as easy as yours, but my approach allows us to use `eth_call.` We should probably support a custom block number for more...

@homakov in one hand it is vulnerabilty in other hand it isn't. As you see some people need it.