Skip to content

Commit

Permalink
Merge pull request #82 from skalenetwork/ticket-1672-exception-duping…
Browse files Browse the repository at this point in the history
…-POW-mining-in-develop

Ticket 1672 exception in pow mining in develop
  • Loading branch information
DmytroNazarenko authored Feb 6, 2024
2 parents 48a7462 + c36b3b1 commit 7a8b166
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 46 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/comprehensive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -276,27 +276,6 @@ jobs:
cd comprehensive-test
cd engine
yarn install
cd ../..
- name: SELF-TEST A - use IMA to browse S-Chain via node 00-00 and test last is alive
working-directory: ${{env.working-directory}}
run: |
node ./src/build/main.js --colors --no-gathered --browse-s-chain --url-s-chain=http://127.0.0.1:2164 || true
- name: SELF-TEST B - use IMA to browse S-Chain via node 00-01 and test last is alive
working-directory: ${{env.working-directory}}
run: |
node ./src/build/main.js --colors --no-gathered --browse-s-chain --url-s-chain=http://127.0.0.2:2264 || true
- name: SELF-TEST C - use IMA to browse S-Chain via node 01-00 and test last is alive
working-directory: ${{env.working-directory}}
run: |
node ./src/build/main.js --colors --no-gathered --browse-s-chain --url-s-chain=http://127.0.0.3:2364 || true
- name: SELF-TEST D - use IMA to browse S-Chain via node 01-01 and test last is alive
working-directory: ${{env.working-directory}}
run: |
node ./src/build/main.js --colors --no-gathered --browse-s-chain --url-s-chain=http://127.0.0.4:2464 || true
- name: INIT - download SGX Wallet
working-directory: ${{env.working-directory}}
Expand Down
21 changes: 0 additions & 21 deletions .github/workflows/container-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -286,27 +286,6 @@ jobs:
cd comprehensive-test
cd engine
yarn install
cd ../..
- name: SELF-TEST A - use IMA to browse S-Chain via node 00-00 and test last is alive
working-directory: ${{env.working-directory}}
run: |
node ./src/build/main.js --colors --no-gathered --browse-s-chain --url-s-chain=http://127.0.0.1:2164 || true
- name: SELF-TEST B - use IMA to browse S-Chain via node 00-01 and test last is alive
working-directory: ${{env.working-directory}}
run: |
node ./src/build/main.js --colors --no-gathered --browse-s-chain --url-s-chain=http://127.0.0.2:2264 || true
- name: SELF-TEST C - use IMA to browse S-Chain via node 01-00 and test last is alive
working-directory: ${{env.working-directory}}
run: |
node ./src/build/main.js --colors --no-gathered --browse-s-chain --url-s-chain=http://127.0.0.3:2364 || true
- name: SELF-TEST D - use IMA to browse S-Chain via node 01-01 and test last is alive
working-directory: ${{env.working-directory}}
run: |
node ./src/build/main.js --colors --no-gathered --browse-s-chain --url-s-chain=http://127.0.0.4:2464 || true
- name: INIT - build IMA docker container
working-directory: ${{env.working-directory}}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/network-browser-test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: network-browser test
on: [push, pull_request]
on: [push]
env:
ETH_PRIVATE_KEY: ${{ secrets.ETH_PRIVATE_KEY }}
MANAGER_TAG: "1.9.3-beta.0"
Expand All @@ -25,4 +25,4 @@ jobs:

- name: Run network-browser tests
working-directory: network-browser
run: bash run_tests.sh
run: bash run_tests.sh
5 changes: 5 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ jobs:
with:
python-version: 3.8

- name: Ensure deps are latest and build everything
run: |
yarn install
yarn rebuild
- name: Build and publish container
run: |
export BRANCH=${GITHUB_REF##*/}
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ COPY package.json package.json

COPY runner runner
COPY src src
COPY src/pow src/build/pow
RUN mkdir IMA
COPY IMA/proxy IMA/proxy
COPY IMA/package.json IMA/package.json
Expand Down
2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"author": "SKALE Labs and contributors",
"type": "module",
"scripts": {
"build": "./node_modules/typescript/bin/tsc",
"build": "./node_modules/typescript/bin/tsc && cp -f ./pow ./build/pow",
"rebuild": "yarn clean-build && yarn build",
"clean-build": "rm -rf ./src/build/* || true",
"lint-check": "eslint -c .eslintrc.cjs ./*.ts",
Expand Down

0 comments on commit 7a8b166

Please sign in to comment.