Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
137 commits
Select commit Hold shift + click to select a range
6ec384f
A0-1472 Validator Network log addresses (#701)
lesniak43 Nov 8, 2022
94039f2
A0-1455: Refactor for incoming protocol upgrade (#711)
timorl Nov 8, 2022
a71306d
version upgrade catchup test (#706)
fixxxedpoint Nov 8, 2022
28e3a04
A0-1499: E2e ban test threshold (#704)
maciejzelaszczyk Nov 8, 2022
8228b54
A0-1455: Add future protocol and decision process for connection dire…
timorl Nov 9, 2022
83b21d9
A0-1413: remove legacy network (#719)
maciejnems Nov 10, 2022
62fb1fc
A0-1455: Enable two-way connections (#721)
timorl Nov 10, 2022
4a817b9
A0-1574: Remove unnecessary implementations in the substrate network …
timorl Nov 11, 2022
4932709
A0-1586: At most one discovery message (#734)
timorl Nov 16, 2022
0367540
A0-1591: Remove unnecessary abstraction layers in network (#741)
timorl Nov 21, 2022
ec83113
A0 1350 - small subxt migration (#730)
kostekIV Nov 21, 2022
d2700de
disable try-runtime check (#750)
kostekIV Nov 22, 2022
57cefa2
Add timeout for upgrade catchup e2e test (#758)
maciejnems Nov 23, 2022
321f44b
Add authentication compatibility tests with fixed bytes (#751)
maciejnems Nov 23, 2022
dee35e4
Update to 0.9.29 (#754)
Nov 24, 2022
61fe15e
Update to 0.9.30 (#756)
Nov 25, 2022
6f195b6
A0-1585: Replace AuthorityId with parameter (#748)
timorl Nov 25, 2022
7867c35
Request justification from forks (#764)
Nov 28, 2022
4d8ca62
A0-1584: Unify MockMultiaddress (#770)
timorl Nov 28, 2022
83c63fe
network delay (#762)
fixxxedpoint Nov 29, 2022
4ca1123
A0-1635: Limit nonfinalized block production (#769)
timorl Nov 29, 2022
9415bd7
Chillout (#749)
Nov 30, 2022
8fc5f7e
A0-1503: Use the default rust test runner (#755)
obrok Dec 1, 2022
7d41148
Update to 0.9.31 (#759)
Dec 1, 2022
9fd2ff0
Added pending_rewards call to nomination pool api to our runtime (#778)
Marcin-Radecki Dec 2, 2022
f63fb34
Experimental pruning flag (#783)
Yithis Dec 5, 2022
1472685
Update to 0.9.32 (#760)
Dec 5, 2022
c46b648
fix validator network outgoing peers status report (#785)
maciejnems Dec 6, 2022
5acf27d
Bring back pallet contracts API to runtime (#787)
h4nsu Dec 6, 2022
4f29b37
A0-1592: make connection manager operate of validator network directl…
maciejnems Dec 7, 2022
035418c
A0-1664 Stop exposing sync connected events from substrate network (#…
lesniak43 Dec 7, 2022
00b30e4
fix clashing args in purge-chain cmd (#792)
kostekIV Dec 7, 2022
3e8c12b
add e2e tests for permissionless election (#702)
kostekIV Dec 8, 2022
a4064fa
we put more docker in your docker so...you can test your network (#786)
fixxxedpoint Dec 8, 2022
d7f9d7d
A0-1520: Add uploading runtime to CI S3 bucket and attaching it to re…
mikogs Dec 8, 2022
4bf650d
A0-1503: Take e2e config from env (#779)
obrok Dec 8, 2022
97860d8
A0-1575: Addressing information refactor (#795)
timorl Dec 8, 2022
3274948
A0-1520: Add a condition for S3 steps to run only when AWS secrets ar…
mikogs Dec 8, 2022
ba93ee7
A0-1667 Add timeouts to the dialer (#791)
lesniak43 Dec 9, 2022
4890950
A0-1526: Sign addressing information (#798)
timorl Dec 12, 2022
77a2d11
A0-1663: remove unnecessary session start retries in connection manag…
maciejnems Dec 13, 2022
56a75f6
Make the gossip network into a module (#802)
timorl Dec 13, 2022
a4bf9a1
Move data network into its own module (#809)
timorl Dec 13, 2022
0e1a271
A0-1668 Make runtime cache configurable (#801)
krzysztofziobro Dec 13, 2022
f8f541d
Do not write old state to storage in pre-migration check (#807)
pmikolajczyk41 Dec 14, 2022
c14506c
A0-1576: Move clique network into network (#811)
timorl Dec 16, 2022
95c40fb
A0-1576: Improve network manager interface (#815)
timorl Dec 19, 2022
795e7ef
add clique network log target to docker entrypoint (#818)
maciejnems Dec 20, 2022
52b0a98
Make max-runtime-instances configurable (#817)
krzysztofziobro Dec 20, 2022
3bbcf46
Short session mode is now 3 (#789)
Marcin-Radecki Dec 21, 2022
ef9752b
Clippy args change for aleph-node (#772)
maciejzelaszczyk Dec 21, 2022
efb28cc
Add logging about ABFT version (#823)
timorl Dec 21, 2022
2ed033d
bump versions (#820)
Dec 22, 2022
766e939
A0-1761: Enhance gossip network interface (#822)
timorl Dec 22, 2022
151f846
Fixing broken compatibility (#828)
timorl Dec 23, 2022
d59c6d4
A0-1491: Change protocol naming convention and add block sync protoco…
timorl Dec 27, 2022
88be752
A0-1609 Removed unwrap()'s in aleph-client (#824)
Marcin-Radecki Dec 28, 2022
a3ab96e
A0-1610: Contract support redux (#816)
obrok Dec 29, 2022
4d5e700
A0-1796: add justification broadcast ticker (#833)
maciejnems Dec 29, 2022
f84e20d
A0-1770: Add basic interfaces used and exposed by sync (#837)
timorl Dec 30, 2022
38fde8f
A0-1822: add substrate chain status notifier (#839)
maciejnems Jan 2, 2023
3e27eac
A0-1795: add task queue (#836)
maciejnems Jan 2, 2023
7eda2ba
Add justification implementation (#841)
timorl Jan 3, 2023
917b76e
A0-1613 Improving `Connection`s (#834)
krzysztofziobro Jan 4, 2023
6943547
synthetic-network for nightly-pipeline (#804)
fixxxedpoint Jan 4, 2023
36016d7
A0-1619 New GH check for runtime metadata (#842)
Marcin-Radecki Jan 5, 2023
56c6ff4
A0-1608 Add documentation of all public API and traits of aleph-clien…
Marcin-Radecki Jan 5, 2023
81c446c
A0-1610: Restore contract event support (#838)
obrok Jan 5, 2023
d38e43d
A0-1611: Full multisig support in `aleph-client` (#845)
pmikolajczyk41 Jan 5, 2023
0095c94
Updated aleph-client readme (#846)
Marcin-Radecki Jan 9, 2023
969dce4
A0-1823: add substrate specific chain status (#844)
maciejnems Jan 9, 2023
69f93f2
Remove `pub(crate)` from `aleph-client` (#849)
pmikolajczyk41 Jan 9, 2023
7c1d822
Use official contract-transcode instead of fork (#847)
obrok Jan 9, 2023
c551716
Bump to 9.0 (#853)
DamianStraszak Jan 10, 2023
a1423c0
A0-1821: add substrate specific finalizer for sync protocol (#854)
maciejnems Jan 10, 2023
34a9202
Fix syntax error in deploy-testnet workflow
mikogs Jan 12, 2023
eaf53f6
Remove unnecessary AWS credentials step from deploy-testnet workflow
mikogs Jan 12, 2023
852bff0
Save to S3 bucket
mikogs Jan 12, 2023
d3ddd7e
Remove accidentally added file
mikogs Jan 12, 2023
5e35cda
Authorities are staking finalization stall (#771)
maciejzelaszczyk Jan 13, 2023
e818f83
`aleph-client`: Get tx events (#860)
pmikolajczyk41 Jan 13, 2023
585a842
Make AsConnection and AsSigned visible outside aleph-client (#861)
krzysztofziobro Jan 13, 2023
901d3ec
A0-1766: Sketch out the pricing script (#852)
obrok Jan 13, 2023
d702f0a
fix justification request status report not resetting (#866)
maciejnems Jan 16, 2023
6ca0b7c
A0-1852 remove send-runtime-hook and fork-off from Deploy to Devnet w…
Marcin-Radecki Jan 17, 2023
887b51f
adds `protobuf-compiler` to list of build dependencies (#859)
fixxxedpoint Jan 17, 2023
7855932
Fix for the runtime check (#874)
Marcin-Radecki Jan 18, 2023
2494ad1
Wait for finalized on transfer of money for tests (#873)
obrok Jan 18, 2023
13254e1
Hide primitive types behind Balance and BlockNumber (#871)
pmikolajczyk41 Jan 18, 2023
63254b1
A0-1845: Authorities api (#870)
kostekIV Jan 19, 2023
f113623
`aleph-client`: Cast `ConvertibleValue` to a sequence (#875)
pmikolajczyk41 Jan 19, 2023
725fd98
A0-1820: implement substrate specific verifier for sync protocol (#864)
maciejnems Jan 19, 2023
b87299f
`aleph-client`: Fetch contract events (#877)
pmikolajczyk41 Jan 19, 2023
23935d2
Pin version of buildx. (#878)
bartoszjedrzejewski Jan 20, 2023
995f6e2
A0-1614 (don't) hide subxt types (#848)
krzysztofziobro Jan 23, 2023
209f101
`aleph-client`: Custom gas limit (#880)
pmikolajczyk41 Jan 23, 2023
208c49c
A0-1872: Network data for sync (#879)
timorl Jan 23, 2023
c15c121
A0-1794 Write initial version of the forest struct (#830)
lesniak43 Jan 24, 2023
5983043
A0-1824: add sync required mocks (#883)
maciejnems Jan 25, 2023
89c1672
A0-1718 remove old authentications (#881)
krzysztofziobro Jan 30, 2023
91d2eea
A0-1855: In FE, replace private feature-env-aleph-node repo with publ…
mikogs Jan 30, 2023
c3a93ab
A0-1304: add state pruning compatibility (#890)
maciejnems Jan 31, 2023
f82550c
A0-1502: Finality version e2e test (#717)
maciejzelaszczyk Jan 31, 2023
cd1902d
A0-1897 validator-network authorization (#892)
fixxxedpoint Feb 2, 2023
83ad9e1
A0-1763: Remove v0 connections from clique (#895)
krzysztofziobro Feb 6, 2023
a6d3a62
Main logic for justification sync (#902)
timorl Feb 7, 2023
7e9da03
Add call indices to pallets (#917)
pmikolajczyk41 Feb 9, 2023
8a8159c
A0-1923: add e2e tests for pruning (#914)
maciejnems Feb 10, 2023
f3e3357
A0-1932: Extend push-foundation-repo workflow to push release branche…
mikogs Feb 13, 2023
1a53cd0
Fix a specific cargo-contract version on CI (#935)
obrok Feb 16, 2023
750b36b
Fix invalid variable used for sha_short (#862)
mikogs Feb 16, 2023
0bf23c8
A0-1902: update to 0.9.33 (#923)
maciejnems Feb 17, 2023
548d3c5
A0-1903: update to 0.9.34 (#926)
maciejnems Feb 20, 2023
145dec0
Fix call to invalid step output in the deploy-mainnet workflow (#937)
mikogs Feb 20, 2023
ee1035b
Enforce heap pages (#938)
mike1729 Feb 21, 2023
3d44d67
Fork off: child support (#915)
krzysztofziobro Feb 21, 2023
7675fc6
A0-1904: update to 0.9.35 (#936)
maciejnems Feb 22, 2023
e466912
A0-1905: update substrate to 0.9.36 (#939)
kostekIV Feb 22, 2023
3c0e76a
Check contstraints for memory parameters (#940)
mike1729 Feb 23, 2023
f2e4f18
A0-1906: bump substrate to 0.9.37 (#941)
kostekIV Feb 24, 2023
e361df4
update to v0.9.38 (#944)
kostekIV Feb 24, 2023
68bbe38
update lock (#947)
kostekIV Feb 27, 2023
33f6c86
Make contract storage cheaper. (#945)
DamianStraszak Feb 27, 2023
a611dc1
Increase free storage for unit tests (#952)
bartoszjedrzejewski Feb 27, 2023
5a812b6
Update logo link (#951)
pmikolajczyk41 Feb 27, 2023
7de6e77
add posibility for experimental pruning in docker_entrypoint.sh (#949)
maciejnems Feb 28, 2023
cfaeccf
A0-1803: Switch to self-hosted runners (#903)
mikogs Mar 2, 2023
57566a3
A0-2005: Create yamllint configuration for linting YAML files in .git…
Mar 2, 2023
3badcd1
All yaml files now conformant to yamllinter / Speed up CI pipelines b…
Marcin-Radecki Mar 7, 2023
eebcb39
A0-1797 Fix forest (#928)
lesniak43 Mar 7, 2023
81faeb9
Merge branch 'main' into obrok/yamllint
obrok Mar 7, 2023
8d9f96f
Fix yamllint errors
obrok Mar 7, 2023
f0a6481
Fix mismerge
obrok Mar 8, 2023
aa0b95d
Merge branch 'benjamin' into obrok/yamllint
obrok Mar 9, 2023
ea49e2a
Increase sleep from 5s to 10s.
deuszx Mar 10, 2023
23b9031
Merge with main (#997)
deuszx Mar 10, 2023
59e17e1
Merge remote-tracking branch 'origin/benjamin' into obrok/yamllint
deuszx Mar 10, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 0 additions & 44 deletions .github/actions/README.md
Original file line number Diff line number Diff line change
@@ -1,49 +1,5 @@
This directory gathers useful actions for Github pipelines.

## `restore-cache`
This action restores and saves cache dedicated for Rust builds
(in particular we keep Cargo files, target directories and make use of sccache).

### Usage
Sample usage:
```yaml
steps:
- uses: Cardinal-Cryptography/github-actions/restore-cache@cache-v1

- run: cargo build

- uses: Cardinal-Cryptography/github-actions/post-cache@v1
```

For building packages excluded from main workspace, you can add corresponding input parameter:
```yaml
steps:
- uses: Cardinal-Cryptography/github-actions/restore-cache@cache-v1
with:
cargo-targets: |
excluded_package_1/target/
aux_tool/excluded_package_2/target/
```

### Notes

**Note:** Currently we only support runners using `ubuntu:latest` image.

**Note:** Requires calling `post-cache` action to stop sccache server.

**Note:** There is a problem with using `cargo clippy` with `sccache` - check: https://github.com/mozilla/sccache/issues/966.
Effectively, you have to override environment variables like this:
```shell
export RUSTC_WRAPPER=""
export RUSTC_WORKSPACE_WRAPPER=sccache
cargo clippy
```

---

## `post-cache`
Stops sccache server. Use together with `restore-cache`.

---

## `run-e2e-test`
Expand Down
1 change: 1 addition & 0 deletions .github/actions/cleanup-workspace/action.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: Clean runner workspace
description: Removes all the files from the runner working directory

Expand Down
16 changes: 9 additions & 7 deletions .github/actions/destroy-feature-environment/action.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: 'Destroy Feature Environment'
description: 'Action used for feature environment deletion'

Expand All @@ -19,9 +20,6 @@ outputs:
deployment-name:
description: 'Output with a deployment name for working with deployments'
value: ${{ steps.get_branch.outputs.branch_name }}



runs:
using: "composite"
steps:
Expand Down Expand Up @@ -75,15 +73,19 @@ runs:
ARGOCD_URL: argocd.dev.azero.dev
run: |
## Install argocd CLI tool
curl -sSL -o argocd https://github.com/argoproj/argo-cd/releases/download/v2.3.3/argocd-linux-amd64
curl -sSL -o argocd \
https://github.com/argoproj/argo-cd/releases/download/v2.3.3/argocd-linux-amd64
chmod +x argocd && mv argocd /usr/local/bin/

/usr/local/bin/argocd app get fe-root-application --hard-refresh --auth-token ${{ inputs.argo-sync-user-token }} --server ${{ env.ARGOCD_URL }}
/usr/local/bin/argocd app wait fe-root-application --auth-token ${{ inputs.argo-sync-user-token }} --server ${{ env.ARGOCD_URL }}
/usr/local/bin/argocd app get fe-root-application --hard-refresh \
--auth-token ${{ inputs.argo-sync-user-token }} --server ${{ env.ARGOCD_URL }}
/usr/local/bin/argocd app wait fe-root-application --auth-token \
${{ inputs.argo-sync-user-token }} --server ${{ env.ARGOCD_URL }}

- name: Clean S3 storage
shell: bash
env:
BRANCH_NAME: ${{ steps.get_branch.outputs.branch_name }}
run: |
aws s3 rm --recursive s3://fe-alephzero-devnet-eu-central-1-keys-bucket/fe-${{ env.BRANCH_NAME }}
aws s3 rm --recursive \
s3://fe-alephzero-devnet-eu-central-1-keys-bucket/fe-${{ env.BRANCH_NAME }}
4 changes: 3 additions & 1 deletion .github/actions/get-branch/action.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: Get branch details
description: Gets branch name and commit SHA

Expand Down Expand Up @@ -25,5 +26,6 @@ runs:
HEAD_REF: ${{ github.head_ref || github.ref }}
run: |
echo "##[set-output name=branch_name;]$(echo ${HEAD_REF#refs/heads/} | tr / -)"
echo "##[set-output name=branch_appname;]$(printf ${HEAD_REF#refs/heads/} | tr / - | tr '[:upper:]' '[:lower:]' | tr -c '[a-z0-9-.]' '-')"
echo "##[set-output name=branch_appname;]$(printf ${HEAD_REF#refs/heads/} \
| tr / - | tr '[:upper:]' '[:lower:]' | tr -c '[a-z0-9-.]' '-')"
echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
22 changes: 0 additions & 22 deletions .github/actions/post-cache/action.yml

This file was deleted.

105 changes: 0 additions & 105 deletions .github/actions/restore-cache/action.yml

This file was deleted.

13 changes: 10 additions & 3 deletions .github/actions/run-e2e-test/action.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: 'Run e2e test'
description: 'Run single e2e test.'

Expand Down Expand Up @@ -62,7 +63,11 @@ runs:

- name: Run consensus party
shell: bash
run: NODE_IMAGE=${{ inputs.node-image }} DOCKER_COMPOSE=${{ inputs.compose-file }} ./.github/scripts/run_consensus.sh -m ${{ inputs.min-validator-count }} -n ${{ inputs.node-count }}
run: |
NODE_IMAGE=${{ inputs.node-image }} \
DOCKER_COMPOSE=${{ inputs.compose-file }} \
./.github/scripts/run_consensus.sh \
-m ${{ inputs.min-validator-count }} -n ${{ inputs.node-count }}

- name: Sleep
shell: bash
Expand Down Expand Up @@ -95,7 +100,7 @@ runs:

RESERVED_SEATS="${{ inputs.reserved-seats }}"
NON_RESERVED_SEATS="${{ inputs.non-reserved-seats }}"

if [[ -n "${RANDOMIZED}" ]]; then
ARGS+=(-r "${RANDOMIZED}")
fi
Expand Down Expand Up @@ -128,4 +133,6 @@ runs:
- name: Run finalization e2e test
if: inputs.follow-up-finalization-check == 'true'
shell: bash
run: ./.github/scripts/run_e2e_test.sh -t finalization::finalization -m "${{ inputs.min-validator-count }}"
run: |
./.github/scripts/run_e2e_test.sh \
-t finalization::finalization -m "${{ inputs.min-validator-count }}"
6 changes: 4 additions & 2 deletions .github/actions/slack-notification/action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
name: 'Send Slack notifiction'
description: 'Action used to send Slack notifications about workflow status in channel specified in SLACK_WEBHOOK'

description: |
Action used to send Slack notifications about workflow status in channel specified in
SLACK_WEBHOOK
inputs:
notify-on:
description: "Choose when Slack messages should be sent"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
services:
Node0:
environment:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/build-and-push-cliain.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
---
name: Build and push cliain docker image

on:
push:
paths:
- 'bin/cliain/**'
- .github/workflows/build-and-push-cliain.yaml
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -47,7 +49,9 @@ jobs:
- name: Build and push latest docker image
id: build-image
env:
RELEASE_IMAGE: public.ecr.aws/p6e8q1z1/cliain:${{ steps.get_branch.outputs.branch_name == 'main' && 'latest' || steps.get_branch.outputs.branch_name }}
RELEASE_IMAGE: >
public.ecr.aws/p6e8q1z1/cliain:${{ steps.get_branch.outputs.branch_name == 'main'
&& 'latest' || steps.get_branch.outputs.branch_name }}
uses: docker/build-push-action@v2
with:
context: ./bin/cliain
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/build-docs.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
---
# this workflow builds rustdoc for aleph-node crates
name: build-docs

on:
push:
pull_request:
paths:
- 'aleph-client/**'
- .github/workflows/build-docs.yaml

jobs:
build-aleph-client-docs:
Expand Down
Loading