Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Prepare for Crab<>Crab Parachain #76

Merged
merged 5 commits into from
May 17, 2022

Conversation

furoxr
Copy link
Collaborator

@furoxr furoxr commented May 16, 2022

No description provided.

@furoxr furoxr marked this pull request as ready for review May 17, 2022 05:50

#![cfg_attr(not(feature = "std"), no_std)]

mod copy_paste_from_darwinia {
Copy link
Contributor

Choose a reason for hiding this comment

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

better name?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Comment on lines +31 to +32
spec_version: 4,
impl_version: 1,
Copy link
Contributor

@hackfisher hackfisher May 17, 2022

Choose a reason for hiding this comment

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

How this settings be used? What if crab parachain's spec changes?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Bridger has a startegy related to this setting. If the strategy is Auto, bridger will try to use the latest spec version on the Crab, and ignore this setting. If the strategy is Bundle, bridger will use this setting to communicate with Crab. And if the strategy is Custom, bridger can custom spec_version with the local config file.

CC @fewensa

Copy link
Contributor

Choose a reason for hiding this comment

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

Clean and move this to bridger if it is only used by bridger.

@hackfisher hackfisher merged commit 3944739 into darwinia-v0.12.2 May 17, 2022
@hackfisher hackfisher deleted the nada-crab-parachain-bridge branch May 17, 2022 09:28
furoxr added a commit that referenced this pull request Jun 1, 2022
* Add PARAS_PALLET_NAME to bp-kusama

* Add bp-crab-parachain

* Add relay-crab-parachain-client

* Add CRAB_PARACHAIN_CHAIN_ID crap

* Update lane id
AurevoirXavier pushed a commit that referenced this pull request Jun 1, 2022
* Add PARAS_PALLET_NAME to bp-kusama

* Add bp-crab-parachain

* Add relay-crab-parachain-client

* Add CRAB_PARACHAIN_CHAIN_ID crap

* Update lane id
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants