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

Cargo cleanup and renames#94

Merged
claravanstaden merged 10 commits intosnowbridgefrom
cargo-cleanup-and-renames
Jan 10, 2024
Merged

Cargo cleanup and renames#94
claravanstaden merged 10 commits intosnowbridgefrom
cargo-cleanup-and-renames

Conversation

@claravanstaden
Copy link
Copy Markdown
Collaborator

@claravanstaden claravanstaden commented Jan 10, 2024

Snwobridge companion: Snowfork/snowbridge#1106

@claravanstaden claravanstaden marked this pull request as ready for review January 10, 2024 09:36
Comment on lines +121 to +132
pub mod snowbridge {
use frame_support::parameter_types;
use xcm::opaque::lts::NetworkId;

/// The pallet index of the Ethereum inbound queue pallet in the bridge hub runtime.
pub const INBOUND_QUEUE_PALLET_INDEX: u8 = 80;

parameter_types! {
/// Network and location for the Ethereum chain.
pub EthereumNetwork: NetworkId = NetworkId::Ethereum { chain_id: 11155111 };
}
}
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I moved the common config here since AH and BH should be able to access it.

@claravanstaden claravanstaden merged commit c23c50f into snowbridge Jan 10, 2024
@claravanstaden claravanstaden deleted the cargo-cleanup-and-renames branch January 10, 2024 14:21
claravanstaden added a commit that referenced this pull request Jan 10, 2024
* renames ethereum client pallet

* more renames

* renames inbound queue pallet

* more renames

* taplo

* fix imports

* fix imports

* rename again

* remove config crates and move config

* missing config import

---------

Co-authored-by: claravanstaden <Cats 4 life!>
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.

1 participant