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

Commit 43c9c00

Browse files
committed
Squashed 'bridges/' changes from 0673462..27dc187
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
1 parent 2c3a226 commit 43c9c00

File tree

97 files changed

+986
-1155
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+986
-1155
lines changed

.gitlab-ci.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ default:
4747
when:
4848
- runner_system_failure
4949
- unknown_failure
50-
- api_failure
50+
- api_failure
5151
interruptible: true
5252
tags:
5353
- linux-docker
@@ -145,7 +145,6 @@ test:
145145
# RUSTFLAGS: "-D warnings"
146146
script: &test-script
147147
- time cargo fetch
148-
- time cargo fetch --manifest-path=`cargo metadata --format-version=1 | jq --compact-output --raw-output ".packages[] | select(.name == \"polkadot-test-runtime\").manifest_path"`
149148
- time cargo fetch --manifest-path=`cargo metadata --format-version=1 | jq --compact-output --raw-output ".packages[] | select(.name == \"polkadot-runtime\").manifest_path"`
150149
- time cargo fetch --manifest-path=`cargo metadata --format-version=1 | jq --compact-output --raw-output ".packages[] | select(.name == \"kusama-runtime\").manifest_path"`
151150
- 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
@@ -196,7 +195,6 @@ build:
196195
# master
197196
script: &build-script
198197
- time cargo fetch
199-
- time cargo fetch --manifest-path=`cargo metadata --format-version=1 | jq --compact-output --raw-output ".packages[] | select(.name == \"polkadot-test-runtime\").manifest_path"`
200198
- time cargo fetch --manifest-path=`cargo metadata --format-version=1 | jq --compact-output --raw-output ".packages[] | select(.name == \"polkadot-runtime\").manifest_path"`
201199
- time cargo fetch --manifest-path=`cargo metadata --format-version=1 | jq --compact-output --raw-output ".packages[] | select(.name == \"kusama-runtime\").manifest_path"`
202200
- 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

.maintain/millau-weight-template.hbs

+5-3
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,11 @@ pub trait WeightInfo {
4646
{{~/each}}
4747
}
4848

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

0 commit comments

Comments
 (0)