web3-eth 0.2.30 → 0.2.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/web3/eth/abi/type.rb +2 -1
- data/lib/web3/eth/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5a96b2c928d43e0b8d5f864a5fb3e3eaab4326b7
|
|
4
|
+
data.tar.gz: e321e093d3bba6ea0da9efb17cabc732c48c0973
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: eecc45107cd03e153b1f0ca2c7b3396d9d6f037600ea74c6a4b5fbf90de3e303aa65832fe5adf1ef0db742aa6f8700e4efbbef16e2d71e72948d7d608aadbe9e
|
|
7
|
+
data.tar.gz: cd7c69d5da88f740406a5a95360747d6e232000db7a9f2e509ba640f100c5ad8adb0fc2fc8f80d6a4cd9438da58d4d6c42b692f988c981f1ed5c9adb2cbd296a
|
data/lib/web3/eth/abi/type.rb
CHANGED
|
@@ -42,7 +42,8 @@ module Web3::Eth::Abi
|
|
|
42
42
|
total = high + low
|
|
43
43
|
|
|
44
44
|
raise ParseError, "Fixed size out of bounds (max 32 bytes)" unless total >= 8 && total <= 256
|
|
45
|
-
raise ParseError, "Fixed high
|
|
45
|
+
raise ParseError, "Fixed high size must be multiple of 8" unless high % 8 == 0
|
|
46
|
+
raise ParseError, "Low sizes must be 0 to 80" unless low>0 && low<=80
|
|
46
47
|
when 'hash'
|
|
47
48
|
raise ParseError, "Hash type must have numerical suffix" unless sub =~ /\A[0-9]+\z/
|
|
48
49
|
when 'address'
|
data/lib/web3/eth/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: web3-eth
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.31
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- studnev
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-09-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rlp
|