Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
b1e3957
Squashed 'bridges/' content from commit f346243f
svyatonik Sep 7, 2023
2b87ead
updating bridges subtree + remove extra folders
svyatonik Sep 7, 2023
b5aaee1
add a BRIDGES.md document
svyatonik Sep 7, 2023
1149763
Allow purge_keys to be called
zdave-parity Sep 5, 2023
66dd4cc
Inc provider ref count of authorized accounts
zdave-parity Sep 7, 2023
ec1465e
brides -> bridges
svyatonik Sep 8, 2023
ff535df
Remove ISSUE_TEMPLATE
zdave-parity Sep 8, 2023
858f6cd
add bridge pallets to runtime
svyatonik Sep 8, 2023
bf23cd6
Squashed 'bridges/' changes from f346243f..bf5b4cc1
svyatonik Sep 11, 2023
189d66f
Merge commit 'bf23cd6e408e2c3beed1550fcb8b46527e38502c' into add-brid…
svyatonik Sep 11, 2023
e2358e8
use bp_polkadot_bulletin in bridge declaration
svyatonik Sep 11, 2023
bd40aaa
https://github.com/paritytech/parity-bridges-common/pull/2551/commits…
svyatonik Sep 11, 2023
adbc4b9
whitelsited relayers set
svyatonik Sep 11, 2023
07384be
Squashed 'bridges/' changes from bf5b4cc1..aa1cf85d
svyatonik Sep 14, 2023
b12e3e9
update bridges subtree
svyatonik Sep 14, 2023
265807a
added xcm config
svyatonik Sep 15, 2023
61d4a9f
dispatcher prototype
svyatonik Sep 15, 2023
61fd23f
flush
svyatonik Sep 15, 2023
d6b38b5
some changes to fix messages delivery + dispatch
svyatonik Sep 18, 2023
4d8afed
benchmarks
svyatonik Sep 18, 2023
a1536c1
more tests for bridge
svyatonik Sep 19, 2023
fa4d17a
also bridge integrity tests
svyatonik Sep 19, 2023
8c86438
last pack of tests
svyatonik Sep 19, 2023
0582488
Add bridges subtree (#18)
svyatonik Sep 20, 2023
e8de205
Add basic XCM configuration (#29)
svyatonik Sep 28, 2023
010cffd
Add bridge pallets + basic bridge configuration (#28)
svyatonik Sep 28, 2023
bfd6bcd
Merge remote-tracking branch 'zdave-parity/main' into add-bridge-pallets
svyatonik Sep 29, 2023
3390898
Add RPC API required for bridges relay (#32)
svyatonik Oct 2, 2023
cfbb7ef
Merge remote-tracking branch 'zdave-parity/main' into add-bridge-pallets
svyatonik Oct 2, 2023
f1c4d03
add bridge dispatcher and exporter
svyatonik Oct 2, 2023
4fde2a2
apply review suggestion
svyatonik Oct 3, 2023
056b1cf
Add pallet_session::Call alias
zdave-parity Oct 25, 2023
3cdb114
Use implicit named arguments
zdave-parity Oct 27, 2023
9a6187c
Fix warnings
zdave-parity Oct 27, 2023
09eeccb
Use pallet type aliases
zdave-parity Oct 27, 2023
d1da419
Fix benchmarking build
zdave-parity Oct 27, 2023
3e775d2
Get rid of unnecessary parens
zdave-parity Oct 27, 2023
c671b85
Use AccountId alias
zdave-parity Oct 27, 2023
3963412
Rename test
zdave-parity Oct 27, 2023
e1a43c2
Add relayer set pallet
zdave-parity Oct 27, 2023
c4580b4
Fix warning
zdave-parity Oct 27, 2023
3d7bac7
Remove some unused things
zdave-parity Oct 27, 2023
1d727aa
Semicolons
zdave-parity Oct 27, 2023
0ed3b7d
Replace Substrate repo with zdave-parity/substrate
zdave Nov 28, 2023
fe9ea41
Merge branch 'add-bridge-dispatcher' into add-bridge-pallets
svyatonik Nov 28, 2023
74dd256
fixes for test bridge with RococoPeople -> RococoBulletin
svyatonik Nov 29, 2023
7e527a5
generate messages to People
svyatonik Nov 29, 2023
059771a
Revert "generate messages to People"
svyatonik Dec 6, 2023
8609db4
Runtime Indices (#40)
joepetrowski Dec 7, 2023
178946a
Merge remote-tracking branch 'zdave-parity/main' into add-bridge-pallets
svyatonik Dec 7, 2023
02a52d9
fix merge damage
svyatonik Dec 7, 2023
c92b522
ease barrier conditions
svyatonik Dec 8, 2023
96af7f1
Update Cargo.lock
serban300 Oct 29, 2024
dda4635
Update pallet-relayer-set
serban300 Oct 29, 2024
890ed02
Update pallet-transaction-storage
serban300 Oct 29, 2024
ba960c9
Upgrade pallet-validator-set
serban300 Oct 29, 2024
94c33fa
Upgrade pallet-validator-set
serban300 Oct 30, 2024
73d049d
Remove bridges subtree
serban300 Oct 30, 2024
377d53e
Upgrade polkadot-bulletin-chain-runtime
serban300 Oct 31, 2024
b4aec97
Upgrade node
serban300 Nov 7, 2024
055feee
Set polkadot-sdk rev
serban300 Nov 11, 2024
8fc7cbb
Bridge to Rococo
serban300 Nov 12, 2024
ebebf30
Other fixes
serban300 Nov 29, 2024
bed8ccf
Merge branch 'main' into common-base
dmitry-markin Jul 3, 2025
437b295
Move to rust stable
dmitry-markin Jul 3, 2025
b3c8038
Use Parity CI image for workflow
dmitry-markin Jul 3, 2025
378acaf
minor: fix typo
dmitry-markin Jul 3, 2025
cf3e28f
minor: workflow: use `cd` instead of `pushd`
dmitry-markin Jul 3, 2025
138f37f
Add auth refresh
georgepisaltu Jun 24, 2025
24d116e
Bring CI container image up to date with polkadot-sdk
dmitry-markin Jul 3, 2025
eeaeb94
Removed toolchain update
antkve Jul 3, 2025
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
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/config.yml

This file was deleted.

83 changes: 62 additions & 21 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Check Set-Up & Build
name: CI

# Controls when the action will run.
on:
Expand All @@ -11,33 +11,74 @@ on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
# Cancel previous runs
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

# Parity CI image to use
# Common variable is defined in the workflow
# Repo env variable doesn't work for PRs from forks
env:
CI_IMAGE: "paritytech/ci-unified:bullseye-1.84.1-2025-01-28-v202502131220"

jobs:
check:
# The type of runner that the job will run on
runs-on: ubuntu-22.04
set-image:
# This workaround sets the container image for each job using 'set-image' job output.
# env variables don't work for PRs from forks, so we need to use outputs.
runs-on: ubuntu-latest
outputs:
CI_IMAGE: ${{ steps.set_image.outputs.CI_IMAGE }}
steps:
- id: set_image
run: echo "CI_IMAGE=${{ env.CI_IMAGE }}" >> $GITHUB_OUTPUT

# Steps represent a sequence of tasks that will be executed as part of the job
check:
name: Cargo check
runs-on: ubuntu-latest
needs: [set-image]
container:
image: ${{ needs.set-image.outputs.CI_IMAGE }}
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- name: Checkout sources
uses: actions/checkout@v4

- name: Install linux dependencies
run: sudo apt-get install -y clang libssl-dev llvm libudev-dev protobuf-compiler

- name: Install Rust
run: |
rustup update stable --no-self-update
rustup target add wasm32-unknown-unknown
- name: Install Rust stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true

# Rust cache
- uses: Swatinem/rust-cache@v2
- name: Rust cache
uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
cache-all-crates: true

- name: Check Build
- name: Cargo check
run: |
SKIP_WASM_BUILD=1 cargo check --release
SKIP_WASM_BUILD=1 cargo check

check-benchmarking:
name: Cargo check (benchmarking)
runs-on: ubuntu-latest
needs: [set-image]
container:
image: ${{ needs.set-image.outputs.CI_IMAGE }}
steps:
- name: Checkout sources
uses: actions/checkout@v4

# Rust cache
- name: Rust cache
uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
cache-all-crates: true

- name: Check Build for Benchmarking
- name: Cargo check (benchmarking)
run: >
pushd node &&
cargo check --features=runtime-benchmarks --release
cd node &&
cargo check --features=runtime-benchmarks
46 changes: 46 additions & 0 deletions BRIDGES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Using Parity Bridges Common dependency (`git subtree`).

In `./bridges` sub-directory you can find a `git subtree` imported version of:
[parity-bridges-common](https://github.com/paritytech/parity-bridges-common/) repository.

# How to pull latest Bridges code to the `bridges` subtree
(in practice)

The `bridges` repo has a stabilized branch `polkadot-v.1.0.0-audited` dedicated for releasing
and based on Polkadot v1.0.0 code.

```
cd <polkadot-bulletin-chain-git-repo-dir>

# needs to be done only once
git remote add -f bridges https://github.com/paritytech/parity-bridges-common.git

# this will update new git branches from bridges repo
# there could be unresolved conflicts, but dont worry,
# lots of them are caused because of removed unneeded files with patch step,
git fetch bridges --prune
git subtree pull --prefix=bridges bridges polkadot-v.1.0.0-audited --squash

# if the command above fails with the "Can't squash-merge: 'bridges' was never added" or
# "fatal: refusing to merge unrelated histories" error, use this:
# git merge -s subtree -Xsubtree="bridges" bridges/polkadot-v.1.0.0-audited --allow-unrelated-histories --squash

# so, after fetch and before solving conflicts just run patch,
# this will remove unneeded files and checks if subtree modules compiles
#
# if it fails to build, you'll need to resolve conflicts manually
./bridges/scripts/verify-pallets-build.sh --ignore-git-state --no-revert

# if there are conflicts, this could help,
# this removes locally deleted files at least (move changes to git stash for commit)
git status -s | awk '$1 == "DU" || $1 == "D" || $1 == "MD" || $1 == "AD" {print $2}' | grep "^bridges/" | xargs git rm -q --ignore-unmatch

# (optional) when conflicts resolved, you can check build again - should pass
# also important: this updates global Cargo.lock
git commit --amend -S -m "updating bridges subtree + remove extra folders"

# add changes to the commit, first command `fetch` starts merge,
# so after all conflicts are solved and patch passes and compiles,
# then we need to finish merge with:
git merge --continue
````
Loading
Loading