ethereum 0.3.50 → 0.3.51

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: ff034ba8084a39b7005db15b28fe10b3897f1b53
4
- data.tar.gz: 305305a60910eb69350dbbc0f6707f1036c0b45c
3
+ metadata.gz: 0df371ccbd446a91c3611ad41457a748a09decf6
4
+ data.tar.gz: 15c535ac0052c1ec2ba9117821ea27088726e3e4
5
5
  SHA512:
6
- metadata.gz: 492214d7ac38b5271abcbdf048f5caa362ffeb40262fc1dae77fda66e3e520791f572140c51fed474381258565a1ae336ec5882da649ee1ace0faa8ee471fa60
7
- data.tar.gz: 892c88496a0538676852c8cab45864769502b7bb341e673f4b7af5fcc55c7a4d55a38528beb81a430c9d18966136a87837c3530ce5774eed3e1c0b905846b0df
6
+ metadata.gz: 64b556b00a089a4275a306793459b689ca674750e25612184082652e3ee76c76321eb9127da55098608784b35c872a6b979e1bf2631b09efeb3f91472f58b77f
7
+ data.tar.gz: 24330886788203c870c9bc16b5b32c2066b3145e80921676a1374c5c232ec56079e899064853da567aa062b69f946631c2bb9e887319507a983e01aa368ad89c
@@ -31,10 +31,10 @@ module Ethereum
31
31
  @valid_deployment = @connection.get_code(@contract_address)["result"] != "0x"
32
32
  end
33
33
 
34
- def wait_for_deployment(timeout = 60.seconds)
34
+ def wait_for_deployment(timeout = 1500.seconds)
35
35
  start_time = Time.now
36
36
  while self.deployed? == false
37
- raise Timeout::Error if ((Time.now - start_time) > timeout)
37
+ raise "Transaction #{@id} timed out." if ((Time.now - start_time) > timeout)
38
38
  sleep 5
39
39
  return true if self.deployed?
40
40
  end
@@ -14,7 +14,7 @@ module Ethereum
14
14
  @mined = @connection.get_transaction_by_hash(@id)["result"]["blockNumber"].present?
15
15
  end
16
16
 
17
- def wait_for_miner(timeout = 60.seconds)
17
+ def wait_for_miner(timeout = 1500.seconds)
18
18
  start_time = Time.now
19
19
  while self.mined? == false
20
20
  raise Timeout::Error if ((Time.now - start_time) > timeout)
@@ -1,3 +1,3 @@
1
1
  module Ethereum
2
- VERSION = "0.3.50"
2
+ VERSION = "0.3.51"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ethereum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.50
4
+ version: 0.3.51
5
5
  platform: ruby
6
6
  authors:
7
7
  - DigixGlobal Pte Ltd (https://dgx.io)