Skip to content

Commit a5f235c

Browse files
committed
up
1 parent d56ec52 commit a5f235c

File tree

5 files changed

+14
-15
lines changed

5 files changed

+14
-15
lines changed

abiparser/Rakefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ Hoe.spec 'abiparser' do
2222
['cocos'],
2323
['bytes'],
2424
['digest-lite'],
25-
['abicoder'],
2625
]
2726

2827
self.licenses = ['Public Domain']

abiparser/lib/abiparser.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ def sig( bin )
3636
end
3737

3838

39-
require 'abicoder'
4039

4140

4241
## our own code

abiparser/lib/abiparser/constructor.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ def self.parse( o )
4747
end
4848

4949

50-
attr_reader :inputs, :input_types
50+
attr_reader :inputs
51+
## :input_types
5152

5253
def initialize( inputs: [],
5354
payable: false )
@@ -57,7 +58,7 @@ def initialize( inputs: [],
5758
## parse inputs into types
5859
## note: use "calculated" sig(nature) and NOT the type
5960
## (differs for tuples, that is, types with components !!!)
60-
@input_types = @inputs.map {|param| Type.parse( param.sig ) }
61+
## @input_types = @inputs.map {|param| Type.parse( param.sig ) }
6162
end
6263

6364

abiparser/lib/abiparser/function.rb

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ def self.parse( o )
5454

5555

5656
attr_reader :name,
57-
:inputs, :outputs,
58-
:input_types, :output_types
57+
:inputs, :outputs
58+
## :input_types, :output_types
5959

6060
def initialize( name,
6161
inputs: [],
@@ -73,14 +73,14 @@ def initialize( name,
7373
## parse inputs & outputs into types
7474
## note: use "calculated" sig(nature) and NOT the type
7575
## (differs for tuples, that is, types with components !!!)
76-
@input_types = @inputs.map do |param|
77-
Type.parse( param.sig )
78-
end
79-
@output_types = @outputs.map do |param|
80-
## pp param
81-
## puts "sig: #{param.sig}"
82-
Type.parse( param.sig )
83-
end
76+
## @input_types = @inputs.map do |param|
77+
## Type.parse( param.sig )
78+
## end
79+
## @output_types = @outputs.map do |param|
80+
## ## pp param
81+
## ## puts "sig: #{param.sig}"
82+
## Type.parse( param.sig )
83+
## end
8484
end
8585

8686

abiparser/lib/abiparser/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
module ABIParser
33
MAJOR = 0
44
MINOR = 1
5-
PATCH = 1
5+
PATCH = 2
66
VERSION = [MAJOR,MINOR,PATCH].join('.')
77

88
def self.version

0 commit comments

Comments
 (0)