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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e4e0b7b5433f6001a958483b6262e0d00b28fbbc
4
- data.tar.gz: 21c31a855a176c97c31ae53c15f8829e4560276c
3
+ metadata.gz: 5a96b2c928d43e0b8d5f864a5fb3e3eaab4326b7
4
+ data.tar.gz: e321e093d3bba6ea0da9efb17cabc732c48c0973
5
5
  SHA512:
6
- metadata.gz: 8704d182643dd3a4c6abd5ee2e148f2c1a942ff2b82b73cab6ae092672143226b8ad55799d88ecb30eba29ecc01d0dcf0422fac705f2f2d18c2b12828f4e2ab6
7
- data.tar.gz: 59e0442acd7b58a856986ba5ff881d9af7649f31a2dc92dcac51ca80638e5827333a3a5aef5bbe8f19a1caa68123c7e0d6d7c8825638201978a50c000b0fd539
6
+ metadata.gz: eecc45107cd03e153b1f0ca2c7b3396d9d6f037600ea74c6a4b5fbf90de3e303aa65832fe5adf1ef0db742aa6f8700e4efbbef16e2d71e72948d7d608aadbe9e
7
+ data.tar.gz: cd7c69d5da88f740406a5a95360747d6e232000db7a9f2e509ba640f100c5ad8adb0fc2fc8f80d6a4cd9438da58d4d6c42b692f988c981f1ed5c9adb2cbd296a
@@ -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/low sizes must be multiples of 8" unless high % 8 == 0 && low % 8 == 0
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'
@@ -1,5 +1,5 @@
1
1
  module Web3
2
2
  module Eth
3
- VERSION = "0.2.30"
3
+ VERSION = "0.2.31"
4
4
  end
5
5
  end
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.30
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-08-28 00:00:00.000000000 Z
11
+ date: 2019-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rlp