Skip to content
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

Snowbridge on Westend #5074

Merged
merged 42 commits into from
Aug 7, 2024
Merged

Conversation

yrong
Copy link
Contributor

@yrong yrong commented Jul 19, 2024

Context

Since Rococo is now deprecated, we need another testnet to detect bleeding-edge changes to Substrate, Polkadot, & BEEFY consensus protocols that could brick the bridge.

It's the mirror PR of Snowfork#157 which has reviewed by Snowbridge team internally.

Synced with @acatangiu about that in channel https://matrix.to/#/!gxqZwOyvhLstCgPJHO:matrix.parity.io/$N0CvTfDSl3cOQLEJeZBh-wlKJUXx7EDHAuNN5HuYHY4?via=matrix.parity.io&via=parity.io&via=matrix.org

@yrong yrong marked this pull request as ready for review July 19, 2024 12:46
@claravanstaden
Copy link
Contributor

@yrong you need to add a prdoc for this PR, some examples here: https://github.com/paritytech/polkadot-sdk/tree/master/prdoc It's a simple markdown file (should be called pr_5074.prdoc in this case), describing the change. :)

Copy link
Contributor

@claravanstaden claravanstaden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! 🥳

@paritytech-cicd-pr
Copy link

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-clippy
Logs: https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/6866893

@acatangiu acatangiu added T14-system_parachains This PR/Issue is related to system parachains. T15-bridges This PR/Issue is related to bridges. labels Aug 2, 2024
fn is_waived(origin: Option<&Location>, fee_reason: FeeReason) -> bool {
let Some(loc) = origin else { return false };
if let Export { network, destination: Here } = fee_reason {
return !(network == EthereumNetwork::get())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't short-circuit when export network is not Ethereum.

Suggested change
return !(network == EthereumNetwork::get())
if network == EthereumNetwork::get() {
return false
}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@acatangiu acatangiu added this pull request to the merge queue Aug 7, 2024
Merged via the queue into paritytech:master with commit efdc1e9 Aug 7, 2024
155 of 161 checks passed
ordian added a commit that referenced this pull request Aug 7, 2024
* master:
  Umbrella crate: exclude chain-specific crates (#5173)
  Bring reference_hardware.json inline with machine used for weights (#5196)
  Snowbridge on Westend (#5074)
  Run semver check even when no prdoc (#5189)
  Export more from sc-service (#5250)
  Update the wishlist leaderboard script to handle PRs (#5256)
@@ -145,6 +145,7 @@ pub type SignedExtra = (
bridge_to_bulletin_config::OnBridgeHubRococoRefundRococoBulletinMessages,
),
cumulus_primitives_storage_weight_reclaim::StorageWeightReclaim<Runtime>,
frame_metadata_hash_extension::CheckMetadataHash<Runtime>,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yrong this breaks the bridge zombienet tests. I can either remove it here or add it to the bridge relayer in order to address this issue. So just wanted to ask if you actually need it here in order to understand how to fix this. The same for bridge hub westend.

Also I think the runtime version should be incremented

Related to: #5296

github-merge-queue bot pushed a commit that referenced this pull request Aug 9, 2024
Updating the BHR and BHW runtime versions as a result of the changes in
#5074
dharjeezy pushed a commit to dharjeezy/polkadot-sdk that referenced this pull request Aug 28, 2024
### Context

Since Rococo is now deprecated, we need another testnet to detect
bleeding-edge changes to Substrate, Polkadot, & BEEFY consensus
protocols that could brick the bridge.

It's the mirror PR of Snowfork#157
which has reviewed by Snowbridge team internally.

Synced with @acatangiu about that in channel
https://matrix.to/#/!gxqZwOyvhLstCgPJHO:matrix.parity.io/$N0CvTfDSl3cOQLEJeZBh-wlKJUXx7EDHAuNN5HuYHY4?via=matrix.parity.io&via=parity.io&via=matrix.org

---------

Co-authored-by: Clara van Staden <[email protected]>
dharjeezy pushed a commit to dharjeezy/polkadot-sdk that referenced this pull request Aug 28, 2024
Updating the BHR and BHW runtime versions as a result of the changes in
paritytech#5074
github-merge-queue bot pushed a commit that referenced this pull request Sep 20, 2024
# Description

Fix #5074 which missed
the runtime migration to initialize channels of the bridge.

---------

Co-authored-by: Adrian Catangiu <[email protected]>
github-actions bot pushed a commit that referenced this pull request Sep 20, 2024
# Description

Fix #5074 which missed
the runtime migration to initialize channels of the bridge.

---------

Co-authored-by: Adrian Catangiu <[email protected]>
(cherry picked from commit 86bb5cb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T14-system_parachains This PR/Issue is related to system parachains. T15-bridges This PR/Issue is related to bridges.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants