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
9b27fb91
Commit
9b27fb91
authored
Jun 04, 2015
by
obscuren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd/geth, common/natspec: updating tests (still failing?)
parent
36c0db2a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
js_test.go
cmd/geth/js_test.go
+1
-1
natspec_e2e_test.go
common/natspec/natspec_e2e_test.go
+1
-1
No files found.
cmd/geth/js_test.go
View file @
9b27fb91
...
@@ -68,7 +68,7 @@ func testJEthRE(t *testing.T) (string, *testjethre, *eth.Ethereum) {
...
@@ -68,7 +68,7 @@ func testJEthRE(t *testing.T) (string, *testjethre, *eth.Ethereum) {
}
}
// set up mock genesis with balance on the testAddress
// set up mock genesis with balance on the testAddress
core
.
Genesis
Data
=
[]
byte
(
testGenesis
)
core
.
Genesis
Accounts
=
[]
byte
(
testGenesis
)
ks
:=
crypto
.
NewKeyStorePlain
(
filepath
.
Join
(
tmp
,
"keystore"
))
ks
:=
crypto
.
NewKeyStorePlain
(
filepath
.
Join
(
tmp
,
"keystore"
))
am
:=
accounts
.
NewManager
(
ks
)
am
:=
accounts
.
NewManager
(
ks
)
...
...
common/natspec/natspec_e2e_test.go
View file @
9b27fb91
...
@@ -119,7 +119,7 @@ func testEth(t *testing.T) (ethereum *eth.Ethereum, err error) {
...
@@ -119,7 +119,7 @@ func testEth(t *testing.T) (ethereum *eth.Ethereum, err error) {
testAddress
:=
strings
.
TrimPrefix
(
testAccount
.
Address
.
Hex
(),
"0x"
)
testAddress
:=
strings
.
TrimPrefix
(
testAccount
.
Address
.
Hex
(),
"0x"
)
// set up mock genesis with balance on the testAddress
// set up mock genesis with balance on the testAddress
core
.
Genesis
Data
=
[]
byte
(
`{
core
.
Genesis
Accounts
=
[]
byte
(
`{
"`
+
testAddress
+
`": {"balance": "`
+
testBalance
+
`"}
"`
+
testAddress
+
`": {"balance": "`
+
testBalance
+
`"}
}`
)
}`
)
...
...
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