Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
146 commits
Select commit Hold shift + click to select a range
61766e3
Few typos and clippy fixes (#1362)
acatangiu Mar 22, 2022
9f3ffcd
[ci] Use bridges-ci:production image in the pipeline (#1365)
alvicsam Mar 28, 2022
2cc27b7
Update Substrate/Polkadot/Cumulus references (#1364)
acatangiu Mar 28, 2022
74a4887
pub use WeightInfo in Grandpa + Messsages pallets (#1370)
svyatonik Apr 7, 2022
82698e3
add api data() for inbound_lane (#1373)
xiaoch05 Apr 14, 2022
6ef6bcc
FinalityEngine in substrate relay (#1374)
svyatonik Apr 14, 2022
c7c6f0c
Revert "add api data() for inbound_lane (#1373)" (#1375)
svyatonik Apr 22, 2022
80c0f7e
mention encoded-calls-messaging tag
svyatonik Apr 25, 2022
aa88964
Revert "mention encoded-calls-messaging tag"
svyatonik Apr 25, 2022
82136eb
Switch to gav-xcm-v3 branch to be able to test bridges + XCMv3 integr…
svyatonik Apr 28, 2022
ebfa9f2
remove vault from ci (#1382)
sergejparity Apr 29, 2022
3317b8a
Update Substrate/Polkadot refs for latest BEEFY + xcm-v3 capability (…
acatangiu May 2, 2022
3ab1810
fix daily gitlab build (#1383)
svyatonik May 4, 2022
072ae86
fix for "`/root` is not writable." during deployments startup (#1384)
svyatonik May 4, 2022
4e19520
re-enable BEEFY alarms for Rialto (#1385)
acatangiu May 4, 2022
7f1c4af
fix copypaste (#1386)
svyatonik May 4, 2022
b3d7011
Remove support for encoded-call messaging from relay and runtime inte…
svyatonik May 4, 2022
d2faa6b
Update spec_version for Rococo (#1387)
pepyakin May 4, 2022
4eb5db7
Generalize error text (#1388)
pepyakin May 5, 2022
2c80411
Small opt when prune messages (#1389)
hujw77 May 6, 2022
5a2f9fe
Parachains finality pallet (#1068)
svyatonik May 12, 2022
6d7a5ea
Xcm in Rialto<>Millau bridge (#1379)
svyatonik May 16, 2022
fd9fd96
CheckBridgedBlockNumber signed extension to reject duplicate header-s…
svyatonik May 16, 2022
b40660c
fix matrix notifier startup (#1397)
svyatonik May 16, 2022
3d10af9
fix matrix notifier port (#1398)
svyatonik May 16, 2022
ed294ec
removed obsolete token-swap related alert (#1399)
svyatonik May 16, 2022
2af372f
fix Westend->Millau prometheus datasource (#1400)
svyatonik May 16, 2022
a4d52d5
Parachains finality relay (#1199)
svyatonik May 20, 2022
0b2901a
messages bridge between RialtoParachain and Millau (#1218)
svyatonik May 20, 2022
a8a0798
Complex RialtoParachain <> Millau relay (#1405)
svyatonik May 25, 2022
ba8d953
Fix clippy warnings + try to enable proper (no-warning) clippy on CI …
svyatonik May 25, 2022
76009d8
allow(clippy::too_many_arguments) for on-demand relays startup (#1414)
svyatonik May 25, 2022
8f659e8
Fix XCM instruction weight in RialtoParachain to match Millau weight …
svyatonik May 27, 2022
f01ce31
remove excess verbosity from the spellcheck (#1420)
svyatonik May 27, 2022
6067d73
fixed on-demand parachains relay case: if better relay header is deli…
svyatonik May 27, 2022
df5f8d2
Add RialtoParachain <> Millau bridge to test deployments (#1412)
svyatonik May 27, 2022
42bc7b7
ensure that the bridge GRANDPA pallet is initialized in the finality …
svyatonik May 30, 2022
1e0d2b5
Tune alerts for parachains bridge (#1425)
svyatonik May 31, 2022
2fd8d66
Get dispatch weight from the target chain (when DispatchFeePayment::A…
svyatonik Jun 1, 2022
f2fe209
Added tracked parachains filter (#1432)
svyatonik Jun 1, 2022
9d411e4
added one more test to parachains finality pallet (#1435)
svyatonik Jun 6, 2022
14c0e12
Bump zeroize_derive from 1.0.1 to 1.3.2 in /fuzz/storage-proof (#1437)
dependabot[bot] Jun 7, 2022
777fa98
Bump generic-array from 0.12.3 to 0.12.4 in /fuzz/storage-proof (#1438)
dependabot[bot] Jun 7, 2022
6e47b19
Parachains pallet benchmarks (#1436)
svyatonik Jun 7, 2022
b4e3288
remove unused RialtoParachainGrandpaInstance (#1441)
svyatonik Jun 7, 2022
fe2de9f
CheckBridgedBlockNumber -> BridgeRejectObsoleteGrandpaHeader (#1442)
svyatonik Jun 7, 2022
3c49025
remove duplicate parachain heads exension (#1444)
svyatonik Jun 7, 2022
c1abdf9
fix clippy errors (#1447)
svyatonik Jun 8, 2022
f8ce0d8
fix another clippy warning (#1448)
svyatonik Jun 9, 2022
752864e
Signed extension for rejecting obsolete messages pallet transactions …
svyatonik Jun 9, 2022
5a91ddf
try to fix nonces collisions (#1450)
svyatonik Jun 10, 2022
84bf15b
Revert "try to fix nonces collisions (#1450)" (#1451)
svyatonik Jun 10, 2022
3f60142
Fix deployments again (#1452)
svyatonik Jun 13, 2022
9425993
try to fix nonces collisions (#1450) (#1453)
svyatonik Jun 13, 2022
e10c08f
Add missing parts to rialto parachain bridge (part 1) (#1454)
svyatonik Jun 13, 2022
4b32770
generate large + a lot of messages in RialtoParachain <> Millau bridg…
svyatonik Jun 13, 2022
f149793
actually use RialtoParachainMessagesToMillauUpdateConversionRateCallB…
svyatonik Jun 14, 2022
11e47cb
fix container name in dump-logs.sh (#1457)
svyatonik Jun 14, 2022
5efe12e
use Millau //Iden for RialtoParachain -> Millau transactions (#1460)
svyatonik Jun 14, 2022
a744371
try to generate less invalid messages (#1461)
svyatonik Jun 14, 2022
30c6259
Separate signers for different complex relay layers (#1465)
svyatonik Jun 16, 2022
55867af
Bump thread_local from 1.1.0 to 1.1.4 in /fuzz/storage-proof (#1467)
dependabot[bot] Jun 17, 2022
51a8760
Fix on-different-forks metrics during initialization (#1468)
svyatonik Jun 21, 2022
06121ca
remove local images refs (#1470)
svyatonik Jun 21, 2022
5260b74
increase reward confirmation interval (alerts) (#1471)
svyatonik Jun 22, 2022
367fae6
RialtoParachain<>Millau bridge maintenance dashboard (#1462)
svyatonik Jun 22, 2022
ae34710
try to avoid NoData alerts (#1472)
svyatonik Jun 23, 2022
3bc8135
messages are not detected by relay: increase interval from 5m to 20m …
svyatonik Jun 24, 2022
5d111ae
Fix wrong alert condition (#1474)
svyatonik Jun 24, 2022
5781c32
Store both block number and hash in best finalized storage value (#1475)
svyatonik Jun 24, 2022
0adb4f9
Avoid duplicate function definitions
serban300 Jun 24, 2022
c5d5a98
Unify the operating mode for bridge pallets (#1483)
serban300 Jun 28, 2022
1d04752
Parachain loop metrics (#1484)
svyatonik Jun 29, 2022
66774ec
Sync Westmint to Millau (#1482)
svyatonik Jun 29, 2022
5a4ff10
increase interval for "too many unconfirmed messages" alert from 5m t…
svyatonik Jun 29, 2022
f5c819b
Define const LOG_TARGET for bridge pallets
serban300 Jun 29, 2022
31997d7
Test pallet owner calls using macro
serban300 Jun 29, 2022
2f75caf
Add owner calls to the parachains pallet
serban300 Jun 29, 2022
59ee00d
[parachains pallet] add unit test
serban300 Jun 30, 2022
e2e2830
[parachains pallet] implement genesis_build
serban300 Jun 30, 2022
99a8178
Remove without_storage_info for messages pallet (#1487)
svyatonik Jul 4, 2022
93bb561
trying to fix stall of large Millaiu -> RialtoParachain message (#1488)
svyatonik Jul 4, 2022
e7107d0
backport named events PR (#1489)
svyatonik Jul 5, 2022
e57a450
[CLI] Remove some macros
serban300 Jul 5, 2022
c1e4750
Remove obsolete bridges (#1491)
svyatonik Jul 6, 2022
7c95483
[CLI] remove select_full_bridge!() macro
serban300 Jul 6, 2022
f3d7986
Fix and update benchmarks (#1494)
svyatonik Jul 7, 2022
28c6863
remove more Rococo<>Wococo bridge traces (#1495)
svyatonik Jul 7, 2022
5159e6e
Change account names to something meaningful (#1497)
svyatonik Jul 8, 2022
1d1c0f2
remove account derivation functions (#1498)
svyatonik Jul 12, 2022
772be67
remove unneeded (?) dockerfile (#1501)
svyatonik Jul 12, 2022
6e3ea74
CLI refactoring
serban300 Jul 13, 2022
187e6bd
Move bridge definitions
serban300 Jul 13, 2022
310cfa6
rm substrate.dev homepage (#1506)
nuke-web3 Jul 14, 2022
082c8fa
Bump libsecp256k1 from 0.3.5 to 0.7.0 in /fuzz/storage-proof (#1508)
dependabot[bot] Jul 14, 2022
5593e0e
Bump regex from 1.4.3 to 1.6.0 in /fuzz/storage-proof (#1507)
dependabot[bot] Jul 14, 2022
f6f76d0
Add another condition to the reject-obsolete-parachain-heads extensio…
svyatonik Jul 14, 2022
6bb7df5
More relay processes in rialtoParachain<>Millau bridge (#1500)
svyatonik Jul 14, 2022
01e51bf
Define HeaderIdProvider trait
serban300 Jul 14, 2022
573b907
removed local image refs (#1510)
svyatonik Jul 15, 2022
a05b275
Follow-up on #1487 (#1511)
serban300 Jul 18, 2022
7101e9f
Introduce bridge relayers pallet (#1513)
svyatonik Jul 20, 2022
16aaeb9
reuse lane_id variable (#1517)
svyatonik Jul 20, 2022
00503e7
use bridges-ci:production (#1516)
svyatonik Jul 20, 2022
6442889
Reduce the number of macros used for SignedExtensions
serban300 Jul 25, 2022
61645b9
Deduplicate parachains validation
serban300 Jul 25, 2022
cb03e47
Remove unneeded variable
serban300 Jul 26, 2022
a6c6c67
Define StorageDoubleMapKeyProvider
serban300 Jul 26, 2022
5e7ccab
Log error instead of returning it
serban300 Jul 26, 2022
9ad43b6
Send messages using xcm pallet (#1518)
svyatonik Jul 27, 2022
f2f838f
small helper to start all networks+bridges at once (#1523)
svyatonik Jul 28, 2022
9689629
add useful options to deployments/run.sh to use lcoal docker images (…
svyatonik Jul 28, 2022
1e94a62
Small cosmetic changes
serban300 Jul 28, 2022
a00e7bb
Change Runtime APIs best_finalized() signature
serban300 Jul 28, 2022
309466e
Remove unneeded error conversion (#1527)
serban300 Jul 29, 2022
7907de4
refund relayer if parachain head has not been updated (#1528)
svyatonik Aug 1, 2022
aa5c7df
fix truncated doc (#1529)
svyatonik Aug 1, 2022
4185524
Bump jsonrpsee (#1530)
svyatonik Aug 1, 2022
868e782
Follow-up on #1419 (#1531)
serban300 Aug 2, 2022
f1cae3c
Use jsonrpsee subscriptions (#1533)
svyatonik Aug 2, 2022
24e5a37
[Complex Relayers] Deduplicate l2r and r2l logic (#1535)
serban300 Aug 3, 2022
396a0f9
[Deployments] Deduplicate message sending code (#1537)
serban300 Aug 5, 2022
9bae4a9
Unprofitable message delivery tx metric (#1536)
svyatonik Aug 5, 2022
3e468c5
secondary lane mesages shall not be sent using XCM pallet (#1540)
svyatonik Aug 7, 2022
027de62
redirect testnet alerts to a separate room (#1541)
svyatonik Aug 8, 2022
544a3ba
Call To*InboundLaneApi::message_details() with batched messages (#1545)
serban300 Aug 10, 2022
9dbad39
Follow-up on #1518 (#1546)
serban300 Aug 12, 2022
bc938d4
relayers pallet - small changes (#1547)
serban300 Aug 12, 2022
ab14e49
Declare declare_bridge_chain_runtime_apis! macro
serban300 Aug 16, 2022
260bc3c
Bko cosmetics (#1550)
bkontur Aug 18, 2022
717c5e0
Follow-up on #1536 (#1549)
serban300 Aug 18, 2022
1e215f5
Bump codec version 3.0.0 -> 3.1.5 + unify parity-scale-codec vs codec…
bkontur Aug 19, 2022
69361fc
Add persistent volume for deployments SSL certs
serban300 Aug 22, 2022
5fc3469
Split decl_bridge_runtime_apis!() (#1553)
serban300 Aug 22, 2022
6979112
Reexport paste from `sp-runtime` in `bp-runtime` to aviod including `…
bkontur Aug 26, 2022
7dae2d7
Unnecessery clones + removed unused Enum value (#1557)
bkontur Aug 26, 2022
657535c
Avoid receiving [No Data] messages when restarting deployments
serban300 Aug 29, 2022
18920d3
Increase grafana start delay
serban300 Aug 29, 2022
816f3a8
Extract unsigned tx from the SignParam structure (#1561)
svyatonik Aug 30, 2022
077d246
Increase grafana start delay to 10m (#1563)
serban300 Sep 5, 2022
0e6c4fd
Get paraId from configured SOURCE_PARACHAIN_PARA_ID (#1564)
bkontur Sep 5, 2022
edf3c40
Follow-up on #1068 (#1567)
serban300 Sep 5, 2022
97cf6df
update Substrate/Polkadot/Cumulus refs (#1562)
svyatonik Sep 9, 2022
035feea
remove duplicate branches references (#1570)
svyatonik Sep 9, 2022
9a433f2
Add events to the bridge parachains pallet (#1568)
svyatonik Sep 9, 2022
34b0b01
Expand docs on ParasPalletName (#1571)
svyatonik Sep 9, 2022
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
2 changes: 1 addition & 1 deletion .config/lingua.dic
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ InitiateChange
Instance1
Instance2
Instance42
InstantCurrencyPayments
KSM/S
KYC/M
KeyPair
Expand Down Expand Up @@ -66,6 +65,7 @@ Pre
RLP
RPC/MS
Rialto/MS
RialtoParachain/MS
Relayer/MS
Runtime1
Runtime2
Expand Down
31 changes: 13 additions & 18 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ variables: &default-vars
GIT_DEPTH: 100
CARGO_INCREMENTAL: 0
ARCH: "x86_64"
CI_IMAGE: "paritytech/bridges-ci:staging"
CI_IMAGE: "paritytech/bridges-ci:production"
RUST_BACKTRACE: full

default:
Expand Down Expand Up @@ -94,8 +94,11 @@ clippy-nightly:
stage: lint
<<: *docker-env
<<: *test-refs
variables:
RUSTFLAGS: "-D warnings"
script:
- SKIP_WASM_BUILD=1 cargo +nightly clippy --all-targets -- -A clippy::redundant_closure
# clippy currently is raising `derive-partial-eq-without-eq` warning even if `Eq` is actually derived
- SKIP_WASM_BUILD=1 cargo +nightly clippy --all-targets -- -A clippy::redundant_closure -A clippy::derive-partial-eq-without-eq

fmt:
stage: lint
Expand All @@ -109,7 +112,7 @@ spellcheck:
<<: *docker-env
<<: *test-refs
script:
- cargo spellcheck check -vvvv --cfg=.config/spellcheck.toml --checkers hunspell -m 1
- cargo spellcheck check --cfg=.config/spellcheck.toml --checkers hunspell -m 1

#### stage: check

Expand Down Expand Up @@ -144,7 +147,8 @@ test:
- time cargo fetch
- time cargo fetch --manifest-path=`cargo metadata --format-version=1 | jq --compact-output --raw-output ".packages[] | select(.name == \"polkadot-test-runtime\").manifest_path"`
- time cargo fetch --manifest-path=`cargo metadata --format-version=1 | jq --compact-output --raw-output ".packages[] | select(.name == \"polkadot-runtime\").manifest_path"`
- CARGO_NET_OFFLINE=true time cargo test --verbose --workspace
- time cargo fetch --manifest-path=`cargo metadata --format-version=1 | jq --compact-output --raw-output ".packages[] | select(.name == \"kusama-runtime\").manifest_path"`
- CARGO_NET_OFFLINE=true SKIP_POLKADOT_RUNTIME_WASM_BUILD=1 SKIP_KUSAMA_RUNTIME_WASM_BUILD=1 SKIP_POLKADOT_TEST_RUNTIME_WASM_BUILD=1 time cargo test --verbose --workspace

test-nightly:
stage: test
Expand Down Expand Up @@ -194,7 +198,8 @@ build:
- time cargo fetch
- time cargo fetch --manifest-path=`cargo metadata --format-version=1 | jq --compact-output --raw-output ".packages[] | select(.name == \"polkadot-test-runtime\").manifest_path"`
- time cargo fetch --manifest-path=`cargo metadata --format-version=1 | jq --compact-output --raw-output ".packages[] | select(.name == \"polkadot-runtime\").manifest_path"`
- CARGO_NET_OFFLINE=true time cargo build --release --verbose --workspace
- time cargo fetch --manifest-path=`cargo metadata --format-version=1 | jq --compact-output --raw-output ".packages[] | select(.name == \"kusama-runtime\").manifest_path"`
- CARGO_NET_OFFLINE=true SKIP_POLKADOT_RUNTIME_WASM_BUILD=1 SKIP_KUSAMA_RUNTIME_WASM_BUILD=1 SKIP_POLKADOT_TEST_RUNTIME_WASM_BUILD=1 time cargo build --release --verbose --workspace
after_script:
# Prepare artifacts
- mkdir -p ./artifacts
Expand Down Expand Up @@ -228,9 +233,6 @@ build-nightly:
GIT_STRATEGY: none
DOCKERFILE: ci.Dockerfile
IMAGE_NAME: docker.io/paritytech/$CI_JOB_NAME
VAULT_SERVER_URL: "https://vault.parity-mgmt-vault.parity.io"
VAULT_AUTH_PATH: "gitlab-parity-io-jwt"
VAULT_AUTH_ROLE: "cicd_gitlab_parity_${CI_PROJECT_NAME}"
needs:
- job: build
artifacts: true
Expand All @@ -248,15 +250,8 @@ build-nightly:
FLOATING_TAG="latest";
fi
- echo "Effective tags = ${VERSION} sha-${CI_COMMIT_SHORT_SHA} ${FLOATING_TAG}"
secrets:
DOCKER_HUB_USER:
vault: cicd/gitlab/parity/DOCKER_HUB_USER@kv
file: false
DOCKER_HUB_PASS:
vault: cicd/gitlab/parity/DOCKER_HUB_PASS@kv
file: false
script:
- test "${DOCKER_HUB_USER}" -a "${DOCKER_HUB_PASS}" ||
- test "${Docker_Hub_User_Parity}" -a "${Docker_Hub_Pass_Parity}" ||
( echo "no docker credentials provided"; exit 1 )
- cd ./artifacts
- buildah bud
Expand All @@ -270,8 +265,8 @@ build-nightly:
--tag "${IMAGE_NAME}:${FLOATING_TAG}"
--file "${DOCKERFILE}" .
# The job will success only on the protected branch
- echo "${DOCKER_HUB_PASS}" |
buildah login --username "${DOCKER_HUB_USER}" --password-stdin docker.io
- echo "${Docker_Hub_Pass_Parity}" |
buildah login --username "${Docker_Hub_User_Parity}" --password-stdin docker.io
- buildah info
- buildah push --format=v2s2 "${IMAGE_NAME}:${VERSION}"
- buildah push --format=v2s2 "${IMAGE_NAME}:sha-${CI_COMMIT_SHORT_SHA}"
Expand Down
1 change: 1 addition & 0 deletions .maintain/millau-weight-template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#![allow(clippy::all)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]

use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
Expand Down
Loading