etherlite 0.1.8 → 0.2.0

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: c69db28d5eaaf5cb965fedd9cbe71f1aec362d7b
4
- data.tar.gz: 9cf45824a5b10fa8462ac11580111f69e7c9d18d
3
+ metadata.gz: d8da5b22ad0f7b8dd87c4513e7bc4e8ea71462e2
4
+ data.tar.gz: 053ecfcd4d1233cb41ec6883ad7f24ea5fa962b0
5
5
  SHA512:
6
- metadata.gz: f53a236a303da24b8fa4871b375ad84f2f70f44ad9b0aa14a9cf893159a218ac75ab38ef5299a2a6affa85ac1ee1b02b1bc8f7d0dd89e2bdf1ffe6d9acd1c1f1
7
- data.tar.gz: bc975a810c245c95f7eabbb9e671556d4ffd6a085b45afc48a2b7516f11b92a7bc8bff71e75b78079f7d99bc8840a1d1d5cf3db8a8d153cfa7dedc0c979fd511
6
+ metadata.gz: d3911d293c3a523876cbd5afc799e90f4c635c0f2ca186ccd8ce637f735a1643ba3204e0d106fef06d345f42157b4afb956957a4a07f4f2efee634f44adba7b0
7
+ data.tar.gz: 366a51cfe7e7ef58400e837a61ef222c340e44f60d2dfe7050051a99018ff5adf38d3632b9b4c8b7e6f940c76f6bc21a23be9424ba91a418b398f5bb9b627bb4
@@ -35,10 +35,7 @@ module Etherlite::Contract
35
35
  tx_data = binary
36
36
  tx_data += constructor.encode(_args) unless constructor.nil?
37
37
 
38
- tx = as.send_transaction({ data: tx_data }.merge(options))
39
- if tx.wait_for_block(timeout: options.fetch(:timeout, 120))
40
- at tx.contract_address, as: as
41
- end
38
+ as.send_transaction({ data: tx_data }.merge(options))
42
39
  end
43
40
 
44
41
  def self.at(_address, client: nil, as: nil)
@@ -1,3 +1,3 @@
1
1
  module Etherlite
2
- VERSION = "0.1.8"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: etherlite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ignacio Baixas
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-01-05 00:00:00.000000000 Z
11
+ date: 2018-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: digest-sha3