-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #896 from EYBlockchain/daveroga/implement-pos
Implement PoS for proposers
- Loading branch information
Showing
22 changed files
with
861 additions
and
305 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 |
---|---|---|
|
@@ -180,59 +180,59 @@ jobs: | |
name: optimist-sync-test-logs | ||
path: ./optimist-sync-test.log | ||
|
||
# adversary-test: | ||
# runs-on: ubuntu-20.04 | ||
# env: | ||
# TRANSACTIONS_PER_BLOCK: 32 | ||
# CONFIRMATIONS: 1 | ||
# steps: | ||
# - uses: actions/checkout@v3 | ||
# - uses: actions/setup-node@v1 | ||
# with: | ||
# node-version: '16.17.0' | ||
# | ||
# - name: Build adversary | ||
# run: npm run build-adversary | ||
# | ||
# - name: Start Containers with geth | ||
# run: | | ||
# ./setup-nightfall | ||
# ./geth-standalone -s | ||
# sleep 300 | ||
# ./start-nightfall -l -d -a &> adversary-test.log &disown | ||
# | ||
# - name: Wait for images to be ready | ||
# uses: Wandalen/[email protected] | ||
# with: | ||
# command: | | ||
# docker wait nightfall_3_deployer_1 | ||
# attempt_limit: 100 | ||
# attempt_delay: 20000 | ||
# | ||
# - name: debug logs - after container startup | ||
# if: always() | ||
# run: cat adversary-test.log | ||
# | ||
# - name: Run integration test | ||
# run: | | ||
# VERBOSE=true npm run test-adversary | ||
# | ||
# - name: debug logs - after integration test run | ||
# if: always() | ||
# run: cat adversary-test.log | ||
# | ||
# - name: If integration test failed, shutdown the Containers | ||
# if: failure() | ||
# run: | | ||
# npm run nightfall-down | ||
# ./geth-standalone -d | ||
# | ||
# - name: If integration test failed, upload logs files as artifacts | ||
# if: failure() | ||
# uses: actions/upload-artifact@v3 | ||
# with: | ||
# name: adversary-test-logs | ||
# path: ./adversary-test.log | ||
# adversary-test: | ||
# runs-on: ubuntu-20.04 | ||
# env: | ||
# TRANSACTIONS_PER_BLOCK: 32 | ||
# CONFIRMATIONS: 1 | ||
# steps: | ||
# - uses: actions/checkout@v3 | ||
# - uses: actions/setup-node@v1 | ||
# with: | ||
# node-version: '16.17.0' | ||
# | ||
# - name: Build adversary | ||
# run: npm run build-adversary | ||
# | ||
# - name: Start Containers with geth | ||
# run: | | ||
# ./setup-nightfall | ||
# ./geth-standalone -s | ||
# sleep 300 | ||
# ./start-nightfall -l -d -a &> adversary-test.log &disown | ||
# | ||
# - name: Wait for images to be ready | ||
# uses: Wandalen/[email protected] | ||
# with: | ||
# command: | | ||
# docker wait nightfall_3_deployer_1 | ||
# attempt_limit: 100 | ||
# attempt_delay: 20000 | ||
# | ||
# - name: debug logs - after container startup | ||
# if: always() | ||
# run: cat adversary-test.log | ||
# | ||
# - name: Run integration test | ||
# run: | | ||
# VERBOSE=true npm run test-adversary | ||
# | ||
# - name: debug logs - after integration test run | ||
# if: always() | ||
# run: cat adversary-test.log | ||
# | ||
# - name: If integration test failed, shutdown the Containers | ||
# if: failure() | ||
# run: | | ||
# npm run nightfall-down | ||
# ./geth-standalone -d | ||
# | ||
# - name: If integration test failed, upload logs files as artifacts | ||
# if: failure() | ||
# uses: actions/upload-artifact@v3 | ||
# with: | ||
# name: adversary-test-logs | ||
# path: ./adversary-test.log | ||
|
||
ping-pong-test: | ||
runs-on: ubuntu-20.04 | ||
|
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
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
Oops, something went wrong.