Skip to content

Commit

Permalink
AZ-151: test calculating fee from weight (Cardinal-Cryptography#195)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmikolajczyk41 authored Nov 16, 2021
1 parent c40305a commit 14315b6
Show file tree
Hide file tree
Showing 12 changed files with 239 additions and 124 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/run_consensus.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ mkdir -p docker/data/
source docker/env

# Generate chainspec and populate comittee keystores
docker run -v $(pwd)/docker/data:/data --entrypoint "/bin/sh" -e DAMIAN -e TOMASZ -e ZBYSZKO -e HANSU -e RUST_LOG=info aleph-node:latest -c "aleph-node bootstrap-chain --base-path /data --chain-id a0dnet1 --millisecs-per-block 1000 --session-period 5 --account-ids $DAMIAN,$TOMASZ,$ZBYSZKO,$HANSU --sudo-account-id $DAMIAN > /data/chainspec.json"
docker run -v $(pwd)/docker/data:/data --entrypoint "/bin/sh" -e DAMIAN -e TOMASZ -e ZBYSZKO -e HANSU -e RUST_LOG=info aleph-node:latest -c "aleph-node bootstrap-chain --base-path /data --chain-id a0dnet1 --millisecs-per-block 2000 --session-period 10 --account-ids $DAMIAN,$TOMASZ,$ZBYSZKO,$HANSU --sudo-account-id $DAMIAN > /data/chainspec.json"

# get bootnote peer id
export BOOTNODE_PEER_ID=$(docker run -v $(pwd)/docker/data:/data --entrypoint "/bin/sh" -e DAMIAN -e RUST_LOG=info aleph-node:latest -c "aleph-node key inspect-node-key --file /data/$DAMIAN/p2p_secret")
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/e2e-tests-main-devnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
name: Build binary artifact and docker image of the node
runs-on: ubuntu-latest
env:
RUST_TOOLCHAIN_VERSION: nightly-2021-07-05
RUST_TOOLCHAIN_VERSION: nightly-2021-10-24
RUST_BACKTRACE: full
SCCACHE_VERSION: 0.2.13
SCCACHE_CACHE_SIZE: 2G
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:
name: Build e2e test client suite
runs-on: ubuntu-latest
env:
RUST_TOOLCHAIN_VERSION: nightly-2021-07-05
RUST_TOOLCHAIN_VERSION: nightly-2021-10-24
RUST_BACKTRACE: full
steps:
- name: Cancel Previous Runs
Expand Down Expand Up @@ -159,7 +159,6 @@ jobs:

- name: Load node docker image
shell: bash
timeout-minutes: 5
run: docker load -i aleph-node.tar

- name: Run consensus party
Expand All @@ -179,7 +178,7 @@ jobs:

- name: Run e2e test suite
shell: bash
timeout-minutes: 5
timeout-minutes: 10
run: |
./.github/scripts/run_e2e_tests.sh
Expand Down
Loading

0 comments on commit 14315b6

Please sign in to comment.