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
0bdb21f0
Unverified
Commit
0bdb21f0
authored
Mar 10, 2020
by
meowsbits
Committed by
GitHub
Mar 10, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: update tests/testdata@develop, include EIP2384 config (#20746)
Includes difficulty tests for EIP2384 aka MuirGlacier.
parent
556888c4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
difficulty_test.go
tests/difficulty_test.go
+3
-0
testdata
tests/testdata
+1
-1
No files found.
tests/difficulty_test.go
View file @
0bdb21f0
...
...
@@ -73,6 +73,9 @@ func TestDifficulty(t *testing.T) {
dt
.
config
(
"Constantinople"
,
params
.
ChainConfig
{
ConstantinopleBlock
:
big
.
NewInt
(
0
),
})
dt
.
config
(
"EIP2384"
,
params
.
ChainConfig
{
MuirGlacierBlock
:
big
.
NewInt
(
0
),
})
dt
.
config
(
"difficulty.json"
,
mainnetChainConfig
)
dt
.
walk
(
t
,
difficultyTestDir
,
func
(
t
*
testing
.
T
,
name
string
,
test
*
DifficultyTest
)
{
...
...
testdata
@
7497b116
Subproject commit
b5eb9900ee2147b40d3e681fe86efa4fd693959a
Subproject commit
7497b116a019beb26215cbea4028df068dea06be
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