Skip to content

Commit fe1d9aa

Browse files
Jaime CastilloJaime Castillo
Jaime Castillo
authored and
Jaime Castillo
committed
updating datatype size
1 parent 608b1d4 commit fe1d9aa

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

Manifest.toml

+13-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
julia_version = "1.8.5"
44
manifest_format = "2.0"
5-
project_hash = "92b950846f3fe4e29eb83380fc0960b784070e6b"
5+
project_hash = "2fb6c2b8fb303acc9da988cafd5862b39438b03e"
66

77
[[deps.Artifacts]]
88
uuid = "56f22d72-fd6d-98f1-02f0-08ddc0907c33"
@@ -150,6 +150,12 @@ version = "1.1.0"
150150
[[deps.Sockets]]
151151
uuid = "6462fe0b-24de-5631-8697-dd941f90decc"
152152

153+
[[deps.Suppressor]]
154+
deps = ["Logging"]
155+
git-tree-sha1 = "37d1976ca8368f6adbe1d65a4deeeda6ee7faa31"
156+
uuid = "fd094767-a336-5f1f-9728-57cf17d0bbfb"
157+
version = "0.2.4"
158+
153159
[[deps.TOML]]
154160
deps = ["Dates"]
155161
uuid = "fa267f1f-6049-4f14-aa54-33bafae1ed76"
@@ -177,6 +183,12 @@ uuid = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"
177183
[[deps.Unicode]]
178184
uuid = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5"
179185

186+
[[deps.UpdateJulia]]
187+
deps = ["JSON", "Suppressor"]
188+
git-tree-sha1 = "acb98be84aeb1553fd3e8335e2d58a960bd0a47e"
189+
uuid = "770da0de-323d-4d28-9202-0e205c1e0aff"
190+
version = "0.4.2"
191+
180192
[[deps.Zlib_jll]]
181193
deps = ["Libdl"]
182194
uuid = "83775a58-1f1d-513f-b197-d71354ab007a"

Project.toml

+1
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ version = "0.2.4"
66
[deps]
77
HTTP = "cd3eb016-35fb-5094-929b-558a96fad6f3"
88
JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
9+
UpdateJulia = "770da0de-323d-4d28-9202-0e205c1e0aff"

src/Web3.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -492,8 +492,8 @@ end
492492
# DECODING
493493
############
494494

495-
const signedTypes = Dict([t.size => t for t in (Int8, Int16, Int32, Int64, Int128)])
496-
const unsignedTypes = Dict([t.size => t for t in (UInt8, UInt16, UInt32, UInt64, UInt128)])
495+
const signedTypes = Dict([sizeof(t) => t for t in (Int8, Int16, Int32, Int64, Int128)])
496+
const unsignedTypes = Dict([sizeof(t) => t for t in (UInt8, UInt16, UInt32, UInt64, UInt128)])
497497

498498
function readint(io::IO)
499499
big = read(io, Int128)

0 commit comments

Comments
 (0)