Skip to content

Commit

Permalink
resolve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottyPoi committed Jun 23, 2022
1 parent a45e1ae commit 9d9aab9
Show file tree
Hide file tree
Showing 8 changed files with 21,396 additions and 5 deletions.
5 changes: 2 additions & 3 deletions packages/block/test/difficulty.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,8 @@ const hardforkTestData: TestData = {
arrowGlacier:
require('../../ethereum-tests/DifficultyTests/dfArrowGlacier/difficultyArrowGlacier.json')
.difficultyArrowGlacier.ArrowGlacier,
grayGlacier:
require('../../ethereum-tests/DifficultyTests/dfGrayGlacier/difficultyGrayGlacier.json')
.difficultyGrayGlacier.GrayGlacier,
grayGlacier: require('./testdata/dfGrayGlacier/difficultyGrayGlacier.json').difficultyGrayGlacier
.GrayGlacier,
}

const chainTestData: TestData = {
Expand Down
7,056 changes: 7,056 additions & 0 deletions packages/block/test/testdata/dfGrayGlacier/difficultyGrayGlacier.json

Large diffs are not rendered by default.

4,016 changes: 4,016 additions & 0 deletions packages/block/test/testdata/dfGrayGlacier/difficultyGrayGlacierForkBlock.json

Large diffs are not rendered by default.

7,056 changes: 7,056 additions & 0 deletions packages/block/test/testdata/dfGrayGlacier/difficultyGrayGlacierMinus1.json

Large diffs are not rendered by default.

1,632 changes: 1,632 additions & 0 deletions packages/block/test/testdata/dfGrayGlacier/difficultyGrayGlacierTimeDiff1.json

Large diffs are not rendered by default.

1,632 changes: 1,632 additions & 0 deletions packages/block/test/testdata/dfGrayGlacier/difficultyGrayGlacierTimeDiff2.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/common/src/chains/mainnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
{
"name": "grayGlacier",
"block": 15050000,
"forkHash": null
"forkHash": "0xf0afd0e3"
},
{
"name": "mergeForkIdTransition",
Expand Down
2 changes: 1 addition & 1 deletion packages/common/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ export enum Hardfork {
London = 'london',
ArrowGlacier = 'arrowGlacier',
GrayGlacier = 'grayGlacier',
Shanghai = 'shanghai',
MergeForkIdTransition = 'mergeForkIdTransition',
Merge = 'merge',
Shanghai = 'shanghai',
}

export enum ConsensusType {
Expand Down

0 comments on commit 9d9aab9

Please sign in to comment.