You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.
Platform
The output of uname -a (UNIX), or version and 32 or 64-bit (Windows)
Linux XXXXXXXX 6.2.9-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 30 Mar 2023 14:51:14 +0000 x86_64
Description
I was trying to read data from a json that consists of a number of U256s and kept getting unexpected results (the numbers were getting deserialized incorrectly). It appears related to #1507. See a simplified code sample below:
It seems similar to #1507 because HEX(750000000000000000) -> 2158269056624017539072. I took a look at what I think are the relevant lines of code and I'm not sure why it's landing on else if s.starts_with("0x") -- It could be me doing something dumb but the behaviour seemed unexpected.
The text was updated successfully, but these errors were encountered:
Version
List the versions of all
ethers-rs
crates you are using. The easiest way to get this information is usingcargo-tree
.Platform
The output of
uname -a
(UNIX), or version and 32 or 64-bit (Windows)Description
I was trying to read data from a json that consists of a number of
U256
s and kept getting unexpected results (the numbers were getting deserialized incorrectly). It appears related to #1507. See a simplified code sample below:The output of this is:
It seems similar to #1507 because
HEX(750000000000000000) -> 2158269056624017539072
. I took a look at what I think are the relevant lines of code and I'm not sure why it's landing onelse if s.starts_with("0x")
-- It could be me doing something dumb but the behaviour seemed unexpected.The text was updated successfully, but these errors were encountered: