-
Notifications
You must be signed in to change notification settings - Fork 769
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: importing ethashjs as @ethereumjs/ethash
- Loading branch information
Showing
27 changed files
with
1,181 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Ethash | ||
on: | ||
push: | ||
branches: | ||
- master | ||
tags: | ||
- '*' | ||
pull_request: | ||
types: [opened, reopened, synchronize] | ||
jobs: | ||
test-ethash: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [10, 12, 13, 14] | ||
env: | ||
cwd: ${{github.workspace}}/packages/ethash | ||
steps: | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- uses: actions/checkout@v1 | ||
|
||
- run: npx lerna bootstrap --scope @ethereumjs/ethash --ignore-scripts --include-dependencies --no-ci | ||
- run: npx lerna run build --scope @ethereumjs/ethash --include-dependencies | ||
- run: npx lerna run lint --scope @ethereumjs/ethash | ||
|
||
- run: npx lerna run coverage --scope @ethereumjs/ethash | ||
|
||
- uses: codecov/codecov-action@v1 | ||
with: | ||
file: ${{ env.cwd }}/coverage/lcov.info | ||
flags: ethash | ||
if: ${{ matrix.node-version == 12 }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
node_modules | ||
.vscode | ||
package.json | ||
dist | ||
*.json | ||
.nyc_output | ||
.vscode | ||
coverage | ||
dist | ||
docs | ||
|
||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
node_modules | ||
.vscode | ||
package.json | ||
dist | ||
test-build | ||
*.json | ||
.nyc_output | ||
.vscode | ||
coverage | ||
dist | ||
docs | ||
|
||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
node_modules | ||
.vscode | ||
package.json | ||
dist | ||
*.json | ||
.nyc_output | ||
.vscode | ||
coverage | ||
dist | ||
docs | ||
|
||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
node_modules | ||
.vscode | ||
package.json | ||
dist | ||
*.json | ||
.nyc_output | ||
.vscode | ||
coverage | ||
dist | ||
docs | ||
|
||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
node_modules | ||
package-lock.json | ||
.nyc_output | ||
coverage | ||
dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"extends": "@ethereumjs/config-nyc", | ||
"include": [ | ||
"src/*.ts" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
*.json | ||
.nyc_output | ||
.vscode | ||
coverage | ||
dist | ||
docs | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
semi: false | ||
singleQuote: true | ||
trailingComma: none |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) | ||
(modification: no type change headlines) and this project adheres to | ||
[Semantic Versioning](http://semver.org/spec/v2.0.0.html). | ||
|
||
## [0.0.8] - 2020-05-27 | ||
|
||
This is a maintenance release with dependency updates, CI improvements, and some code modernization. | ||
|
||
Changes from PR [#23](https://github.com/ethereumjs/ethashjs/pull/23): | ||
|
||
- Upgraded CI from travis to GH Actions | ||
- Node versions tested updated from [4, 5] to [10, 12, 13, 14] | ||
- Upgraded dev deps (ethereumjs-block, nyc, standard) | ||
- Added `ethash_tests.json` to test dir and removes ethereumjs-testing dep | ||
- Use single imports for ethereumjs-util, upgrades to v7.0.2 | ||
- Modernizes buffer init syntax | ||
|
||
Further/preceeding dependency updates in | ||
PR [#19](https://github.com/ethereumjs/ethashjs/pull/19), | ||
PR [#11](https://github.com/ethereumjs/ethashjs/pull/11), | ||
PR [#8](https://github.com/ethereumjs/ethashjs/pull/8) and | ||
PR [#7](https://github.com/ethereumjs/ethashjs/pull/7) | ||
|
||
[0.0.8]: https://github.com/ethereumjs/ethashjs/compare/v0.0.7...v0.0.8 | ||
|
||
## Older releases: | ||
|
||
- [0.0.7](https://github.com/ethereumjs/ethashjs/compare/v0.0.6...v0.0.7) - 2016-05-01 | ||
- [0.0.6](https://github.com/ethereumjs/ethashjs/compare/v0.0.5...v0.0.6) - 2016-01-08 | ||
- [0.0.5](https://github.com/ethereumjs/ethashjs/compare/v0.0.4...v0.0.5) - 2015-11-27 | ||
- 0.0.4 - 2015-10-01 |
Oops, something went wrong.