Skip to content

Add block author to pre-runtime digest #274

Add block author to pre-runtime digest

Add block author to pre-runtime digest #274

Workflow file for this run

---
name: E2E tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
jobs:
e2e-tests:
runs-on: ubuntu-latest
steps:
- name: Install protoc compiler
shell: bash
run: |
sudo apt-get install -y protobuf-compiler
- name: Checkout Source code
uses: actions/checkout@v3
- name: Rust Cache
uses: Swatinem/rust-cache@v2
with:
cache-targets: true
- name: build binary
run: cargo build
- name: Run a node
shell: bash
# This path is very specific to github actions. There must be a better way to do this, but I can't figure it out.
run: /home/runner/work/Academy-PoW/Academy-PoW/target/debug/academy-pow --dev &
- name: Verify chain responds
shell: bash
run: |
alias curl='docker run -it --rm curlimages/curl:8.1.2'
curl --retry 12 --retry-all-errors --retry-delay 3 -H "Content-Type: application/json" -d '{ "id": 1, "jsonrpc": "2.0", "method": "rpc_methods"}' http://127.0.0.1:9944