Skip to content

Skalman proof of possession for all cryptos #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 179 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
179 commits
Select commit Hold shift + click to select a range
692b932
- Implement `ProofOfPossession` traits their derive macro.
drskalman Oct 10, 2024
946168b
- Implement ProofOfPossessionGenerator for BLS12 keys with test.
drskalman Oct 16, 2024
f02da2c
Implement ProofOfPossessionVerifier with test for bls crypto
drskalman Oct 16, 2024
5737d8c
Add proof of possession test for ed25519, sr25519, ecdsa and bandersn…
drskalman Oct 16, 2024
8d83e97
Implement ProofOfPossession for PairedCrypto type
drskalman Oct 16, 2024
a72271c
ProofOfPossesion shall be a signature. BLS tests fails because we are
drskalman Nov 3, 2024
286ce0a
upgrade bls signature test vectors after enforcing ciphersuit context
drskalman Nov 5, 2024
631d889
adding items and default implementation to RuntimeApp
coax1d Nov 13, 2024
38cb0ff
Removing procMacro adding Blanket implementation and verifiers for al…
coax1d Nov 14, 2024
2334b58
adding generate pop to all crypto types
coax1d Nov 14, 2024
ccfee52
refactoring todos
coax1d Nov 14, 2024
b948a33
refactor to allow for pair impl from crypto crate to take effect
coax1d Nov 18, 2024
1c7c011
add nonaggregatable in crypto crates
coax1d Nov 19, 2024
156b500
add io function and use for generating pop bls/paired
coax1d Nov 19, 2024
12eb77c
commenting and documenting and warning removal
coax1d Nov 21, 2024
2ab128e
running fmt
coax1d Nov 21, 2024
c4dfeb7
removing redundant comments
coax1d Nov 21, 2024
2e545b7
adding bandersnatch host function and application crypto impls
coax1d Nov 22, 2024
f9f6e4f
removing couple comments
coax1d Nov 22, 2024
547695f
Add PoP traits to test modules
drskalman Nov 26, 2024
22694e4
adding bls runtime tests and other runtime tests for crypto
coax1d Dec 2, 2024
5a244dc
new branch
coax1d Dec 5, 2024
cc71f5a
adding feature gating
coax1d Dec 5, 2024
adfb068
fixing AppPair usage and fixed bls test paired still broken
coax1d Dec 16, 2024
44305ee
small toml cleanup
coax1d Dec 16, 2024
72548d7
adding now the ability to generate two seperate keys
coax1d Jan 6, 2025
c94685b
adding tracing and logging to runtime
coax1d Jan 8, 2025
c913121
fixing keystore issue and refactoring out bugs
coax1d Jan 9, 2025
84f9f1b
fixing no seed provided issue
coax1d Jan 14, 2025
e4a7d6c
adding test for new generate function
coax1d Jan 15, 2025
d86771c
adding in minor tweaks
coax1d Jan 15, 2025
719065c
changing lock
coax1d Jan 15, 2025
4994699
making optimization for verification to use host functions
coax1d Jan 22, 2025
a5c5c3a
addressing pr changes by adding additional tests
coax1d Jan 23, 2025
7c9d9fa
Update substrate/client/keystore/src/local.rs
coax1d Jan 27, 2025
a3240a4
Update substrate/primitives/keystore/src/testing.rs
coax1d Jan 27, 2025
72a66db
Allowing test of what is given back from runtime with app pair locally
coax1d Jan 27, 2025
640a3fe
adding generating locally and verifying in runtime code
coax1d Jan 27, 2025
578d7c8
add `ecdsa_client_generated_pop_verified_by_runtime_public_crypto` test
drskalman Jan 27, 2025
372212d
Merge branch 'crypto_feature_issues_andrew' of https://github.com/w3f…
drskalman Jan 27, 2025
3c577a0
adding in verification in runtime/generate in runtime
coax1d Jan 28, 2025
ebb91d8
Merge pull request #8 from w3f/crypto_feature_issues_andrew
coax1d Jan 29, 2025
9253034
trying to merge
coax1d Feb 3, 2025
049e625
Merge remote-tracking branch 'origin/master' into skalman--proof-of-p…
drskalman Feb 4, 2025
6c87a30
cosmetic work on the comments
drskalman Feb 4, 2025
97f3f38
merging base branch into working branch
coax1d Feb 5, 2025
59ce3e6
Merge pull request #7 from w3f/andrews--pop--version
coax1d Feb 5, 2025
78484e2
removing pubkey crypto stuff
coax1d Feb 5, 2025
aff6d78
running taplo
coax1d Feb 5, 2025
906ec5e
running fmt
coax1d Feb 5, 2025
c64635a
Merge branch 'master' into skalman--proof-of-possession-for-all-cryptos
coax1d Feb 5, 2025
fad02a9
use assert not instead of assert_eq false because in PoP tests
drskalman Feb 5, 2025
e6bc3dd
Merge branch 'master' into skalman--proof-of-possession-for-all-cryptos
drskalman Feb 5, 2025
18c6d14
Update substrate/primitives/keystore/src/lib.rs
coax1d Mar 3, 2025
39a52c6
Update substrate/test-utils/runtime/src/lib.rs
coax1d Mar 3, 2025
5652d41
Update substrate/primitives/core/src/crypto.rs
coax1d Mar 3, 2025
a254c47
Update substrate/primitives/core/src/crypto.rs
coax1d Mar 3, 2025
ddf7873
Update substrate/primitives/core/src/crypto.rs
coax1d Mar 3, 2025
a4e58d3
Update substrate/primitives/core/src/crypto.rs
coax1d Mar 3, 2025
f1025ff
Fixed bug with missing function in KeyStore interface and feature fla…
coax1d Mar 5, 2025
3c27622
rebasing and resolving conflicts
coax1d Mar 6, 2025
5995910
fixing mistake in trait import
coax1d Mar 10, 2025
e0b0c04
feature gating correctly for ProofOfPossessionGenerator
coax1d Mar 10, 2025
6173015
Merge branch 'master' into skalman--proof-of-possession-for-all-cryptos
drskalman Mar 11, 2025
a6904c0
fixing clippy warnings and bandersnatch error
coax1d Mar 13, 2025
8a85d97
restoring tabs
coax1d Mar 13, 2025
d97eec8
Merge branch 'master' into skalman--proof-of-possession-for-all-cryptos
coax1d Mar 13, 2025
c15a7a7
adding dedicated pop module
coax1d Mar 13, 2025
194deee
Merge branch 'master' into skalman--proof-of-possession-for-all-cryptos
coax1d Mar 13, 2025
d2cb9fe
forgot import when changing to dedicated pop.rs
coax1d Mar 14, 2025
72d02f2
Merge branch 'master' into skalman--proof-of-possession-for-all-cryptos
coax1d Mar 14, 2025
c9ecd92
fixing import issues in tests
coax1d Mar 14, 2025
08ff101
Merge branch 'master' into skalman--proof-of-possession-for-all-cryptos
coax1d Mar 14, 2025
e5a1675
Add clarification as why we need to distinguish aggergatable scheme
drskalman Mar 17, 2025
62750da
Make it clear that hash separation is an advisory for non-aggregatabl…
drskalman Mar 17, 2025
00f27c8
fixing clippy warnings
coax1d Mar 18, 2025
81768e3
rerunning fmt
coax1d Mar 18, 2025
07df142
Merge branch 'master' into skalman--proof-of-possession-for-all-cryptos
coax1d Mar 18, 2025
a648106
Merge branch 'master' into skalman--proof-of-possession-for-all-cryptos
coax1d Mar 18, 2025
d3204db
merging master
coax1d Apr 7, 2025
54ea491
- update w3f-bls to 0.1.9 to stop std creeping into wasm.
drskalman Apr 8, 2025
d6562a3
Merge branch 'master' into skalman--proof-of-possession-for-all-cryptos
coax1d Apr 8, 2025
94ef43b
Merge branch 'master' into skalman--proof-of-possession-for-all-cryptos
coax1d Apr 10, 2025
ab20611
Merge branch 'master' into skalman--proof-of-possession-for-all-cryptos
coax1d Apr 10, 2025
e9d69d7
Merge branch 'master' into skalman--proof-of-possession-for-all-cryptos
coax1d Apr 11, 2025
7081f18
Merge branch 'master' into skalman--proof-of-possession-for-all-cryptos
coax1d Apr 11, 2025
3d24a88
PoP API improvement
davxy Apr 12, 2025
a2a4135
Doc
davxy Apr 12, 2025
b840de4
context tag can be private
davxy Apr 12, 2025
2824efc
Update substrate/primitives/core/src/paired_crypto.rs
coax1d Apr 14, 2025
7d88510
Update substrate/primitives/core/src/pop.rs
coax1d Apr 14, 2025
e733f3f
Update substrate/primitives/keystore/src/testing.rs
coax1d Apr 14, 2025
9186073
Update substrate/primitives/core/src/pop.rs
coax1d Apr 14, 2025
5648078
Update substrate/primitives/core/src/pop.rs
coax1d Apr 14, 2025
e13a0a2
Update substrate/primitives/core/src/pop.rs
coax1d Apr 14, 2025
2a1132c
Update substrate/primitives/core/src/pop.rs
coax1d Apr 14, 2025
08ebdb7
Update substrate/primitives/core/src/pop.rs
coax1d Apr 14, 2025
d46a510
Update substrate/primitives/core/src/paired_crypto.rs
coax1d Apr 14, 2025
147f06a
resolving conflicts
coax1d Apr 14, 2025
91caa4f
Merge pull request #11 from w3f/davxy/pop-review-ext
coax1d Apr 14, 2025
2d9d9f8
rebasing and running fmt
coax1d Apr 15, 2025
fdea7da
fixing toml formatting mishaps
coax1d Apr 16, 2025
9a29ec7
rebasing and resolving conflicts
coax1d Apr 16, 2025
5782d5c
removing un neede fn
coax1d Apr 16, 2025
b991463
Fmt
davxy Apr 22, 2025
ac0ef4d
Formatting
davxy Apr 22, 2025
9aef9bc
Merge branch 'master' into skalman--proof-of-possession-for-all-cryptos
coax1d Apr 22, 2025
f5ca227
fixing io HF changes
coax1d Apr 25, 2025
0f782f1
Merge branch 'master' into skalman--proof-of-possession-for-all-cryptos
coax1d Apr 25, 2025
eed2592
Prdoc
davxy Apr 25, 2025
ae37a94
Remove unused crate
davxy Apr 25, 2025
c350bfe
Prepend license
davxy Apr 25, 2025
a24d73d
Fix prdoc
davxy Apr 25, 2025
a956056
Fix
davxy Apr 25, 2025
16409f0
Update substrate/primitives/application-crypto/src/traits.rs
coax1d Apr 28, 2025
af8ed21
Update substrate/primitives/application-crypto/src/traits.rs
coax1d Apr 28, 2025
c14e486
Update substrate/primitives/core/src/pop.rs
coax1d Apr 28, 2025
734f1dc
Update substrate/primitives/io/src/lib.rs
coax1d Apr 28, 2025
77af6ed
Update substrate/primitives/core/src/pop.rs
coax1d Apr 28, 2025
61ff954
Update substrate/primitives/core/src/bls.rs
coax1d Apr 28, 2025
2d82018
fixing naming of pop to proof of possession
coax1d Apr 30, 2025
a638e99
fixing using testing keytypes
coax1d May 5, 2025
716a829
reworking change for keytypes
coax1d May 6, 2025
cf3aa15
Fixing bug in keystore public keys reading
coax1d May 8, 2025
2a1df5d
Merge branch 'master' into skalman--proof-of-possession-for-all-cryptos
coax1d May 8, 2025
2dfc573
Merge branch 'master' into skalman--proof-of-possession-for-all-cryptos
coax1d May 8, 2025
3588617
Merge branch 'master' into skalman--proof-of-possession-for-all-cryptos
coax1d May 9, 2025
e1264a3
fixing ci error and fmting
coax1d May 9, 2025
4c6ce5b
Merge branch 'skalman--proof-of-possession-for-all-cryptos' of github…
coax1d May 9, 2025
3c0e600
clippy fix
coax1d May 12, 2025
bca3ea5
Merge branch 'master' into skalman--proof-of-possession-for-all-cryptos
coax1d May 12, 2025
818ee99
removing unused dep
coax1d May 12, 2025
dc10c16
Merge branch 'skalman--proof-of-possession-for-all-cryptos' of github…
coax1d May 12, 2025
1e6ac88
Merge branch 'master' into skalman--proof-of-possession-for-all-cryptos
coax1d May 12, 2025
79ea036
Merge branch 'master' into skalman--proof-of-possession-for-all-cryptos
coax1d May 12, 2025
e810f94
Merge branch 'master' into skalman--proof-of-possession-for-all-cryptos
coax1d May 14, 2025
cb667fd
Merge branch 'master' into skalman--proof-of-possession-for-all-cryptos
coax1d May 14, 2025
047534b
UncheckedExtrinsic: limit the decoded call size + simpllifications (#…
serban300 May 19, 2025
058b4f5
pallet scheduler: fix weight and add safety checks (#7785)
ggwpez May 19, 2025
e000a5c
[FRAME] Omni bencher fixes (#8265)
ggwpez May 19, 2025
235a40a
[pallet-revive] rename DepositLimit::Unchecked & minor code cleanup …
pgherveou May 20, 2025
2836a99
[cmd-bot] Temporary fix for weights output (#8565)
alvicsam May 20, 2025
803b346
Ensure Consistent Topic IDs for Traceable Cross-Chain XCM (#7691)
raymondkfcheung May 20, 2025
115fa11
fix typo in comment.
drskalman May 20, 2025
4173aac
Bridges: Fix - Improve try-state for pallet-xcm-bridge-hub (#8546)
rosarp May 20, 2025
ff5c67c
Update `parity-scale-codec` to `v3.7.5` (#8577)
serban300 May 21, 2025
967a344
running fmt
coax1d May 21, 2025
50448da
zepter fix
coax1d May 21, 2025
faa23e6
running taplo
coax1d May 21, 2025
2863b7a
Fix generated address returned by Substrate RPC runtime call (#8504)
castillax May 21, 2025
52ec8b2
one dep forgetting for features
coax1d May 21, 2025
5d71d47
fix epmb solution duplicate issue + add remote mining apparatus to ep…
kianenigma May 21, 2025
6a66aa3
XCMP weight metering: account for the MQ page position (#8344)
serban300 May 21, 2025
e44b89f
txpool: fix tx removal from unlocks set (#8500)
iulianbarbu May 21, 2025
26afcd6
`fatxpool`: add fallback for ready at light (#8533)
iulianbarbu May 22, 2025
f9780c7
collator-protocol: add more collation observability (#8230)
sandreim May 22, 2025
36c11a7
Revert 7934 es/remove tj changes (#8611)
pepoviola May 22, 2025
48d149b
Benchmark storage access on block validation (#8069)
AndreiEres May 22, 2025
d0e4aef
cumulus: adjust unincluded segment size metric buckets (#8617)
sandreim May 22, 2025
e723cfa
πŸ”ͺ flaky and Zombienet tests (#8600)
ggwpez May 22, 2025
dd97d10
ci: rm gitlab config (#8622)
alvicsam May 23, 2025
85f5dc7
Use hashbrown hashmap/hashset in validation context (#8606)
alexggh May 23, 2025
2d1883f
Introduce CreateBare, deprecated CreateInherent (#7597)
gui1117 May 26, 2025
c2174ff
Bridges: Fix - Improve try-state for pallet-xcm-bridge-hub (#8615)
rosarp May 26, 2025
8d1782e
tx/metrics: Add metrics for the RPC v2 `transactionWatch_v1_submitAnd…
lexnv May 26, 2025
2102fdf
[pallet-revive] make subscription task panic on error (#8587)
pgherveou May 26, 2025
e1428b0
Charge deposit based on key length (#8648)
athei May 26, 2025
e82b4db
litep2p/peerset: Reject non-reserved peers in the reserved-only mode …
lexnv May 26, 2025
7b224d3
add poke_deposit extrinsic to pallet-bounties (#8382)
UtkarshBhardwaj007 May 26, 2025
64aed49
Snowbridge: Remove asset location check for compatibility (#8473)
yrong May 27, 2025
4635762
[pallet-revive] Fix rpc-types (#8664)
pgherveou May 27, 2025
4956d8b
Docker tags fix (#8643)
AndWeHaveAPlan May 27, 2025
73a0bca
[pallet-revive] impl_revive_api macro (#8652)
pgherveou May 27, 2025
b6f48bf
revive: Simplify the storage meter (#8667)
athei May 27, 2025
9dc1337
cumulus-aura: Improve equivocation checks (#8669)
bkchr May 27, 2025
4baf234
Bump memory-db (#8607)
alexggh May 27, 2025
10cde1f
Add trie cache warmup (#7556)
AndreiEres May 28, 2025
4b5a9ad
asset-hub-westend: use inmemorydb weights (#8359)
alexggh May 28, 2025
05ce0a1
Merge branch 'master' into skalman--proof-of-possession-for-all-cryptos
davxy May 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 3 additions & 1 deletion .github/actions/build-push-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,11 @@ runs:
- name: push to dockerhub
shell: bash
if: ${{ inputs.username != '' && inputs.password != '' && github.event_name != 'merge_group' }}
env:
GITHUB_PR_HEAD_SHA: ${{ github.event.pull_request.head.sha }}
run: |
export DOCKER_IMAGES_VERSION=${{ github.event.pull_request.head.sha }}
export DOCKERHUB_TAG=docker.io/paritypr/${{ inputs.image-name }}:${{ github.event.pull_request.number || 'master' }}-${GITHUB_SHA::8}
export DOCKERHUB_TAG=docker.io/paritypr/${{ inputs.image-name }}:${{ github.event.pull_request.number || 'master' }}-${GITHUB_PR_HEAD_SHA::8}
docker tag "europe-docker.pkg.dev/parity-ci-2024/temp-images/${{ inputs.image-name }}:$DOCKER_IMAGES_VERSION" $DOCKERHUB_TAG
docker push $DOCKERHUB_TAG

Expand Down
18 changes: 17 additions & 1 deletion .github/workflows/cmd-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,6 @@ jobs:
if: startsWith(github.event.inputs.cmd, 'bench')
run: cargo install subweight

# TODO: fix for forks, refs/remotes/origin/master should be replaced with master branch from paritytech/polkadot-sdk
- name: Run Subweight for bench
id: subweight
if: startsWith(github.event.inputs.cmd, 'bench')
Expand All @@ -242,13 +241,30 @@ jobs:
--ignore-errors \
refs/remotes/origin/master $PR_BRANCH)

echo $result

echo $result > /tmp/cmd/subweight.log
# Though github claims that it supports 1048576 bytes in GITHUB_OUTPUT in fact it only supports ~200000 bytes of a multiline string
if [ $(wc -c < "/tmp/cmd/subweight.log") -gt 200000 ]; then
echo "Subweight result is too large, truncating..."
echo "Please check subweight.log for the full output"
result="Please check subweight.log for the full output"
fi
echo "Trying to save subweight result to GITHUB_OUTPUT"
# Save the multiline result to the output
{
echo "result<<EOF"
echo "$result"
echo "EOF"
} >> $GITHUB_OUTPUT

- name: Upload Subweight
uses: actions/upload-artifact@v4
if: startsWith(github.event.inputs.cmd, 'bench')
with:
name: subweight
path: /tmp/cmd/subweight.log

after-cmd:
needs: [cmd, before-cmd]
env:
Expand Down
34 changes: 17 additions & 17 deletions .github/workflows/reusable-preflight.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ jobs:
preflight:
runs-on: ubuntu-latest
outputs:
changes_rust: true
changes_currentWorkflow: true
changes_rust: ${{ steps.set_changes.outputs.rust_any_changed || steps.set_changes.outputs.currentWorkflow_any_changed }}
changes_currentWorkflow: ${{ steps.set_changes.outputs.currentWorkflow_any_changed }}

IMAGE: ${{ steps.set_image.outputs.IMAGE }}

Expand Down Expand Up @@ -112,20 +112,19 @@ jobs:
echo "currentWorkflowFile=$(echo ${{ github.workflow_ref }} | sed -nE "s/.*(\.github\/workflows\/[a-zA-Z0-9_-]*\.y[a]?ml)@refs.*/\1/p")" >> $GITHUB_OUTPUT
echo "currentActionDir=$(echo ${{ github.action_path }} | sed -nE "s/.*(\.github\/actions\/[a-zA-Z0-9_-]*)/\1/p")" >> $GITHUB_OUTPUT

# removed due to https://news.ycombinator.com/item?id=43368870
#- name: Set changes
# id: set_changes
# uses: tj-actions/changed-files@v45
# with:
# files_yaml: |
# rust:
# - '**/*'
# - '!.github/**/*'
# - '!prdoc/**/*'
# - '!docs/**/*'
# currentWorkflow:
# - '${{ steps.current_file.outputs.currentWorkflowFile }}'
# - '.github/workflows/reusable-preflight.yml'
- name: Set changes
id: set_changes
uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c #v46.0.5
with:
files_yaml: |
rust:
- '**/*'
- '!.github/**/*'
- '!prdoc/**/*'
- '!docs/**/*'
currentWorkflow:
- '${{ steps.current_file.outputs.currentWorkflowFile }}'
- '.github/workflows/reusable-preflight.yml'

#
# Set image
Expand Down Expand Up @@ -181,6 +180,7 @@ jobs:
shell: bash
run: |
echo "workflow file: ${{ steps.current_file.outputs.currentWorkflowFile }}"
echo "Modified: ${{ steps.set_changes.outputs.modified_keys }}"

#
#
Expand Down Expand Up @@ -219,4 +219,4 @@ jobs:
#
echo "github.ref: ${{ github.ref }}"
echo "github.ref_name: ${{ github.ref_name }}"
echo "github.sha: ${{ github.sha }}"
echo "github.sha: ${{ github.sha }}"
50 changes: 25 additions & 25 deletions .github/workflows/zombienet-reusable-preflight.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,11 @@ jobs:
preflight:
runs-on: ubuntu-latest
outputs:
changes_substrate: true
changes_cumulus: true
changes_polkadot: true
changes_bridges: true
changes_templates: true
changes_substrate: ${{ steps.set_changes.outputs.substrate_any_changed || steps.set_changes.outputs.currentWorkflow_any_changed }}
changes_cumulus: ${{ steps.set_changes.outputs.cumulus_any_changed || steps.set_changes.outputs.currentWorkflow_any_changed }}
changes_polkadot: ${{ steps.set_changes.outputs.polkadot_any_changed || steps.set_changes.outputs.currentWorkflow_any_changed }}
changes_bridges: ${{ steps.set_changes.outputs.bridges_any_changed || steps.set_changes.outputs.currentWorkflow_any_changed }}
changes_templates: ${{ steps.set_changes.outputs.templates_any_changed || steps.set_changes.outputs.currentWorkflow_any_changed }}

CI_IMAGE: ${{ steps.set_vars.outputs.IMAGE }}

Expand Down Expand Up @@ -157,26 +157,25 @@ jobs:
echo "currentWorkflowFile=$(echo ${{ github.workflow_ref }} | sed -nE "s/.*(\.github\/workflows\/[a-zA-Z0-9_-]*\.y[a]?ml)@refs.*/\1/p")" >> $GITHUB_OUTPUT
echo "currentActionDir=$(echo ${{ github.action_path }} | sed -nE "s/.*(\.github\/actions\/[a-zA-Z0-9_-]*)/\1/p")" >> $GITHUB_OUTPUT

# removed due to https://news.ycombinator.com/item?id=43368870
#- name: Set changes
# id: set_changes
# uses: tj-actions/changed-files@v45
# with:
# files_yaml: |
# substrate:
# - 'substrate/**/*'
# cumulus:
# - 'cumulus/**/*'
# polkadot:
# - 'polkadot/**/*'
# bridges:
# - 'bridges/**/*'
# templates:
# - 'templates/**/*'
# currentWorkflow:
# - '${{ steps.current_file.outputs.currentWorkflowFile }}'
# - '.github/workflows/zombienet-reusable-preflight.yml'
# - '.github/zombienet-env'
- name: Set changes
id: set_changes
uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c #v46.0.5
with:
files_yaml: |
substrate:
- 'substrate/**/*'
cumulus:
- 'cumulus/**/*'
polkadot:
- 'polkadot/**/*'
bridges:
- 'bridges/**/*'
templates:
- 'templates/**/*'
currentWorkflow:
- '${{ steps.current_file.outputs.currentWorkflowFile }}'
- '.github/workflows/zombienet-reusable-preflight.yml'
- '.github/zombienet-env'

#
# Set environment vars (including runner/image)
Expand Down Expand Up @@ -209,6 +208,7 @@ jobs:
shell: bash
run: |
echo "workflow file: ${{ steps.current_file.outputs.currentWorkflowFile }}"
echo "Modified: ${{ steps.set_changes.outputs.modified_keys }}"
echo "ZOMBIENET_IMAGE: ${{ steps.set_vars.outputs.ZOMBIENET_IMAGE }}"
echo "CI_IMAGE: ${{ steps.set_vars.outputs.IMAGE }}"

Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/zombienet_cumulus.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
name: Zombienet Cumulus

on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
merge_group:
workflow_dispatch: # Disabled for being flaky
#push:
# branches:
# - master
#pull_request:
# types: [opened, synchronize, reopened, ready_for_review]
#merge_group:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/zombienet_parachain-template.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
name: Zombienet Parachain Templates

on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
merge_group:
workflow_dispatch: # Disabled for being flaky
#push:
# branches:
# - master
#pull_request:
# types: [opened, synchronize, reopened, ready_for_review]
#merge_group:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/zombienet_polkadot.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
name: Zombienet Polkadot

on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
merge_group:
workflow_dispatch: # Disabled for being flaky
#push:
# branches:
# - master
#pull_request:
# types: [opened, synchronize, reopened, ready_for_review]
#merge_group:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/zombienet_substrate.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
name: Zombienet Substrate

on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
merge_group:
workflow_dispatch: # Disabled for being flaky
#push:
# branches:
# - master
#pull_request:
# types: [opened, synchronize, reopened, ready_for_review]
#merge_group:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
Expand Down
2 changes: 1 addition & 1 deletion .github/zombienet-env
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ RUN_IN_CI=1
KUBERNETES_CPU_REQUEST=512m
KUBERNETES_MEMORY_REQUEST=1Gi
TEMP_IMAGES_BASE=europe-docker.pkg.dev/parity-ci-2024/temp-images
FLAKY_TESTS="zombienet-polkadot-coretime-revenue, zombienet-polkadot-smoke-0003-deregister-register-validator"
FLAKY_TESTS="zombienet-polkadot-coretime-revenue, zombienet-polkadot-smoke-0003-deregister-register-validator, zombienet-polkadot-elastic-scaling-slot-based-12cores, zombienet-polkadot-elastic-scaling-doesnt-break-parachains, zombienet-polkadot-functional-duplicate-collations, zombienet-polkadot-functional-0002-parachains-disputes, zombienet-polkadot-functional-async-backing-6-seconds-rate, zombienet-polkadot-elastic-scaling-slot-based-3cores, zombienet-polkadot-malus-0001-dispute-valid, zombienet-substrate-0002-validators-warp-sync"
Loading
Loading