ethereum 0.4.80 → 0.4.81
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ethereum/contract.rb +2 -2
- data/lib/ethereum/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: 46f82eba59b47457c257b6d8a837d385210dba99
|
4
|
+
data.tar.gz: 5d88e95fef051aba54a29b504f4c53ebff2760a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c033697ecb57112bd6470d769a50566448e7c2f47134e7702eb25bdd9b9ac08ef7f4e40ba70c0fdb486c673f18b7bb7de5838305144f73d9bf083808412e8bc
|
7
|
+
data.tar.gz: 4ffd30ede8606a0adb54aa277e43d875a061d7412e1b4b1b2c8f5a382b0357cf31e9038ecc2514d44e0ec2be7f3d5fa76c3fb634947bece6025a2dd05ca49695
|
data/lib/ethereum/contract.rb
CHANGED
@@ -42,7 +42,7 @@ module Ethereum
|
|
42
42
|
end
|
43
43
|
end
|
44
44
|
deploy_payload = deploy_code + deploy_arguments
|
45
|
-
deploytx = connection.send_transaction({from: self.sender, gas:
|
45
|
+
deploytx = connection.send_transaction({from: self.sender, gas: self.gas, gasPrice: self.gas_price, data: deploy_payload})["result"]
|
46
46
|
instance_variable_set("@deployment", Ethereum::Deployment.new(deploytx, connection))
|
47
47
|
end
|
48
48
|
|
@@ -85,7 +85,7 @@ module Ethereum
|
|
85
85
|
end
|
86
86
|
|
87
87
|
define_method :gas do
|
88
|
-
instance_variable_get("@gas") ||
|
88
|
+
instance_variable_get("@gas") || 3000000
|
89
89
|
end
|
90
90
|
|
91
91
|
functions.each do |fun|
|
data/lib/ethereum/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ethereum
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.81
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- DigixGlobal Pte Ltd (https://dgx.io)
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|