Skip to content

Commit

Permalink
Merge pull request #6 from dapplion/aura-posdao
Browse files Browse the repository at this point in the history
Add AuRa POSDAO
  • Loading branch information
parithosh authored Jun 27, 2022
2 parents 54f5100 + 7d205d4 commit 46c4c72
Show file tree
Hide file tree
Showing 2 changed files with 425 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Test image
on:
push:

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: docker build --tag ethereum-genesis-generator .
- name: Test AuRa POSDAO CLI args
run: docker run --rm --entrypoint="sh" ethereum-genesis-generator -c "python3 /apps/el-gen/genesis_aura_posdao.py --miningAddresses 0xb0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0 0xb1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1"
- name: Test AuRa POSDAO config file
run: |
cat >$PWD/config.yml <<EOL
miningAddresses:
- "0xb0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0"
- "0xb1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1b1"
EOL
docker run --rm --entrypoint="sh" --volume=$PWD/config.yml:/config.yml ethereum-genesis-generator -c "python3 /apps/el-gen/genesis_aura_posdao.py /config.yml"
Loading

0 comments on commit 46c4c72

Please sign in to comment.