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
6a575eda
Unverified
Commit
6a575eda
authored
Sep 08, 2022
by
rjl493456442
Committed by
GitHub
Sep 08, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eth/tracer: fix broken test (#25715)
parent
b1f6dccf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
api_test.go
eth/tracers/api_test.go
+8
-5
No files found.
eth/tracers/api_test.go
View file @
6a575eda
...
@@ -638,11 +638,14 @@ func newStates(keys []common.Hash, vals []common.Hash) *map[common.Hash]common.H
...
@@ -638,11 +638,14 @@ func newStates(keys []common.Hash, vals []common.Hash) *map[common.Hash]common.H
func
TestTraceChain
(
t
*
testing
.
T
)
{
func
TestTraceChain
(
t
*
testing
.
T
)
{
// Initialize test accounts
// Initialize test accounts
accounts
:=
newAccounts
(
3
)
accounts
:=
newAccounts
(
3
)
genesis
:=
&
core
.
Genesis
{
Alloc
:
core
.
GenesisAlloc
{
genesis
:=
&
core
.
Genesis
{
accounts
[
0
]
.
addr
:
{
Balance
:
big
.
NewInt
(
params
.
Ether
)},
Config
:
params
.
TestChainConfig
,
accounts
[
1
]
.
addr
:
{
Balance
:
big
.
NewInt
(
params
.
Ether
)},
Alloc
:
core
.
GenesisAlloc
{
accounts
[
2
]
.
addr
:
{
Balance
:
big
.
NewInt
(
params
.
Ether
)},
accounts
[
0
]
.
addr
:
{
Balance
:
big
.
NewInt
(
params
.
Ether
)},
}}
accounts
[
1
]
.
addr
:
{
Balance
:
big
.
NewInt
(
params
.
Ether
)},
accounts
[
2
]
.
addr
:
{
Balance
:
big
.
NewInt
(
params
.
Ether
)},
},
}
genBlocks
:=
50
genBlocks
:=
50
signer
:=
types
.
HomesteadSigner
{}
signer
:=
types
.
HomesteadSigner
{}
...
...
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