web3-eth 0.2.23 → 0.2.24
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/web3/eth/abi/abi_coder.rb +3 -1
- data/lib/web3/eth/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 349ba2e58a5171bb47c408e03e48ae0bb412d9df
|
4
|
+
data.tar.gz: edd6d4cb343b3b9a6fa2517f8b2c3e22c2f2699c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 122feca9cb6d36847433c515955535662b0d0906818d12c158fa3d7e15cbfb45e8cd6b59d9a87d8311a9d6f65f42797c4bc661f9166607d924c2efbfae4f5f06
|
7
|
+
data.tar.gz: d4bff9d38361237b2b64ef7dabac296edad63badb7197c2a59a3648c73bc37a1b9a356dd5374f0ded4dbc22c1558cf68c1c5bdbad99ffa55e8f5323033b848fd
|
@@ -235,7 +235,9 @@ module Web3::Eth::Abi
|
|
235
235
|
parsed_types.each_with_index do |t, i|
|
236
236
|
if t.dynamic?
|
237
237
|
offset, next_offset = start_positions[i, 2]
|
238
|
-
|
238
|
+
if offset<=data.size && next_offset<=data.size
|
239
|
+
outputs[i] = data[offset...next_offset]
|
240
|
+
end
|
239
241
|
end
|
240
242
|
end
|
241
243
|
|
data/lib/web3/eth/version.rb
CHANGED