Skip to content

Commit

Permalink
AZ-589 Increased upper bound for nominators count to 1024. Decreased …
Browse files Browse the repository at this point in the history
…weight of payout_stakers by 2. Added bench test for payout_stakers. (#326)

* Skeleton

* Almost working

* AZ-589 Now batching transactions works. Finished testcase with 1024 nominators.

* AZ-580 Decreased payput_stakers weight by 2

* AZ-580 Adapting payout_stakers bench to lesser maximum block weight

* AZ-589 Added wrap_method macro to decrease code duplication

* AZ-589 Refactor of common staking constnants into primitives. Refector of common e2e test functions from staking bench into e2e-client crate.

* AZ-589 Added READMEs to benches crate

* AZ-589 Changed minimal stake for becoming a nominator to 100 tokens

* AZ-589 Review remarks

* AZ-589 Fixed imports

* AZ-589 Review remarks, batch 2

* AZ-589 Refectored a little e2e-tests/src/staking.rs

* AZ-589 Added tmp workaround to  scripts/run_e2e.sh to cover all aleph-client log targets

* AZ-589 Removed not required slice operators in e2e-tests/src/staking.rs

* AZ-589 Bumped spec_version

* AZ-589 Updated old aleph binary name in workflows

Co-authored-by: Michal Swietek <[email protected]>
  • Loading branch information
Marcin-Radecki and mike1729 authored Mar 10, 2022
1 parent e158068 commit a1aa952
Show file tree
Hide file tree
Showing 18 changed files with 3,811 additions and 103 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/e2e-tests-main-devnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ jobs:
timeout-minutes: 20
env:
# Relative to local-tests/ directory
OLD_BINARY: old-aleph-node/aleph-node
OLD_BINARY: old-aleph-release-node/aleph-node
NEW_BINARY: aleph-test-node/aleph-node
NEW_RUNTIME: aleph-test-runtime/aleph_runtime.compact.wasm
run: ./.github/scripts/test_update.sh
Expand All @@ -307,5 +307,5 @@ jobs:
with:
failOnError: false
name: |
old-aleph-node
old-aleph-release-node
old-aleph-runtime
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ exclude = [
"e2e-tests",
"aleph-client",
"local-tests/send-runtime",
"fork-off"
"fork-off",
"benches/payout-stakers",
]
4 changes: 4 additions & 0 deletions benches/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Performance e2e benches

This folder contains various crates that represent e2e performance tests. They are not incorporated in `e2e-client`
since they are long-running tests, and because of that cannot be embedded into GH workflows.
Loading

0 comments on commit a1aa952

Please sign in to comment.