Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Squashed 'bridges/' changes from 0673462..27dc187
Browse files Browse the repository at this point in the history
27dc187 Fixes
67ebeaf Merge remote-tracking branch 'origin/master' into bko-bridge-ro-wo
58607d1 fix compilation
8ab776a extracted parachain IDs to the primitives
4edfb5b MillauWeight -> BridgeWeight (#1593)
cef591b run RialtoParachain<>Millau relay in altruistic mode (#1592)
5c91941 Use proper account types (#1591)
a1d25f3 LaneMessageVerifier - removed unused Submitter (#1589)
1c1930c Cleaning deps + satisfy `cargo build --release --all-targets --all-fe… (#1587)
63b51d9 Read extrinsic dispatch result for mined transaction (#1582)
8b56d7c restart relay loop when proof genration fails (#1585)
0c6370e remove unnecessary consts (#1586)
ecf9100 Missing stuff for adding xcm messaging to BridgeHub
e0feb85 fail if transaction submit has failed (#1584)
a64b8dd use transaction tracker in messages relay (#1581)
8559b89 use transaction tracker in parachains relay (#1575)
31a79d4 fix spelling (#1580)
e3b2f85 Do not wait for tx status forever (#1578)

git-subtree-dir: bridges
git-subtree-split: 27dc187
  • Loading branch information
bkontur committed Oct 6, 2022
1 parent 2c3a226 commit 43c9c00
Show file tree
Hide file tree
Showing 97 changed files with 986 additions and 1,155 deletions.
4 changes: 1 addition & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ default:
when:
- runner_system_failure
- unknown_failure
- api_failure
- api_failure
interruptible: true
tags:
- linux-docker
Expand Down Expand Up @@ -145,7 +145,6 @@ test:
# RUSTFLAGS: "-D warnings"
script: &test-script
- 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"`
- 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
Expand Down Expand Up @@ -196,7 +195,6 @@ build:
# master
script: &build-script
- 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"`
- 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
Expand Down
8 changes: 5 additions & 3 deletions .maintain/millau-weight-template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,11 @@ pub trait WeightInfo {
{{~/each}}
}

/// Weights for `{{pallet}}` using the Millau node and recommended hardware.
pub struct MillauWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> WeightInfo for MillauWeight<T> {
/// Weights for `{{pallet}}` that are generated using one of the Bridge testnets.
///
/// Those weights are test only and must never be used in production.
pub struct BridgeWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> WeightInfo for BridgeWeight<T> {
{{~#each benchmarks as |benchmark|}}
fn {{benchmark.name~}}
(
Expand Down
Loading

0 comments on commit 43c9c00

Please sign in to comment.