Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
3451f260
Commit
3451f260
authored
Nov 12, 2014
by
Marek Kotewicz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changes to make everything work
parent
05290d55
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
9 deletions
+14
-9
ethereum.js
dist/ethereum.js
+2
-2
ethereum.js.map
dist/ethereum.js.map
+2
-2
ethereum.min.js
dist/ethereum.min.js
+1
-1
abi.js
lib/abi.js
+4
-2
main.js
lib/main.js
+5
-2
No files found.
dist/ethereum.js
View file @
3451f260
This diff is collapsed.
Click to expand it.
dist/ethereum.js.map
View file @
3451f260
This diff is collapsed.
Click to expand it.
dist/ethereum.min.js
View file @
3451f260
This diff is collapsed.
Click to expand it.
lib/abi.js
View file @
3451f260
...
...
@@ -9,7 +9,7 @@ var findIndex = function (array, callback) {
};
var
padLeft
=
function
(
number
,
n
)
{
return
(
new
Array
(
n
-
number
.
toString
.
length
+
1
)).
join
(
"0"
)
+
number
;
return
(
new
Array
(
n
*
2
-
number
.
toString
()
.
length
+
1
)).
join
(
"0"
)
+
number
;
};
var
setupTypes
=
function
()
{
...
...
@@ -55,7 +55,9 @@ var toBytes = function (json, methodName, params) {
return
;
}
bytes
=
bytes
+
index
+
'x'
;
// it needs to be checked in WebThreeStubServer
// something wrong might be with this additional zero
bytes
=
bytes
+
index
+
'x'
+
'0'
;
var
method
=
json
[
index
];
for
(
var
i
=
0
;
i
<
method
.
inputs
.
length
;
i
++
)
{
...
...
lib/main.js
View file @
3451f260
...
...
@@ -84,8 +84,11 @@ var ethMethods = function () {
{
name
:
'block'
,
call
:
blockCall
},
{
name
:
'transaction'
,
call
:
transactionCall
},
{
name
:
'uncle'
,
call
:
uncleCall
},
{
name
:
'compile'
,
call
:
'eth_compile'
},
{
name
:
'lll'
,
call
:
'eth_lll'
}
{
name
:
'compilers'
,
call
:
'eth_compilers'
},
{
name
:
'lll'
,
call
:
'eth_lll'
},
{
name
:
'solidity'
,
call
:
'eth_solidity'
},
{
name
:
'contractCreate'
,
call
:
'eth_contractCreate'
},
{
name
:
'contractCall'
,
call
:
'eth_contractCall'
}
];
return
methods
;
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment