forked from paritytech/polkadot-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
84 changed files
with
9,322 additions
and
2,800 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
[package] | ||
name = "snowbridge-pallet-inbound-queue-v2" | ||
description = "Snowbridge Inbound Queue Pallet V2" | ||
version = "0.2.0" | ||
authors = ["Snowfork <[email protected]>"] | ||
edition.workspace = true | ||
repository.workspace = true | ||
license = "Apache-2.0" | ||
categories = ["cryptography::cryptocurrencies"] | ||
|
||
[lints] | ||
workspace = true | ||
|
||
[package.metadata.docs.rs] | ||
targets = ["x86_64-unknown-linux-gnu"] | ||
|
||
[dependencies] | ||
serde = { optional = true, workspace = true, default-features = true } | ||
codec = { features = ["derive"], workspace = true } | ||
scale-info = { features = ["derive"], workspace = true } | ||
hex-literal = { optional = true, workspace = true, default-features = true } | ||
log = { workspace = true } | ||
alloy-primitives = { features = ["rlp"], workspace = true } | ||
alloy-sol-types = { workspace = true } | ||
|
||
frame-benchmarking = { optional = true, workspace = true } | ||
frame-support = { workspace = true } | ||
frame-system = { workspace = true } | ||
pallet-balances = { workspace = true } | ||
sp-core = { workspace = true } | ||
sp-std = { workspace = true } | ||
sp-io = { workspace = true } | ||
sp-runtime = { workspace = true } | ||
|
||
xcm = { workspace = true } | ||
xcm-executor = { workspace = true } | ||
|
||
snowbridge-core = { workspace = true } | ||
snowbridge-router-primitives = { workspace = true } | ||
snowbridge-beacon-primitives = { workspace = true } | ||
snowbridge-pallet-inbound-queue-fixtures-v2 = { optional = true, workspace = true } | ||
|
||
[dev-dependencies] | ||
frame-benchmarking = { workspace = true, default-features = true } | ||
sp-keyring = { workspace = true, default-features = true } | ||
snowbridge-pallet-ethereum-client = { workspace = true, default-features = true } | ||
hex-literal = { workspace = true, default-features = true } | ||
|
||
[features] | ||
default = ["std"] | ||
std = [ | ||
"alloy-primitives/std", | ||
"alloy-sol-types/std", | ||
"codec/std", | ||
"frame-benchmarking/std", | ||
"frame-support/std", | ||
"frame-system/std", | ||
"log/std", | ||
"pallet-balances/std", | ||
"scale-info/std", | ||
"serde", | ||
"snowbridge-beacon-primitives/std", | ||
"snowbridge-core/std", | ||
"snowbridge-pallet-inbound-queue-fixtures-v2?/std", | ||
"snowbridge-router-primitives/std", | ||
"sp-core/std", | ||
"sp-io/std", | ||
"sp-runtime/std", | ||
"sp-std/std", | ||
"xcm-executor/std", | ||
"xcm/std", | ||
] | ||
runtime-benchmarks = [ | ||
"frame-benchmarking", | ||
"frame-benchmarking/runtime-benchmarks", | ||
"frame-support/runtime-benchmarks", | ||
"frame-system/runtime-benchmarks", | ||
"hex-literal", | ||
"pallet-balances/runtime-benchmarks", | ||
"snowbridge-core/runtime-benchmarks", | ||
"snowbridge-pallet-ethereum-client/runtime-benchmarks", | ||
"snowbridge-pallet-inbound-queue-fixtures-v2/runtime-benchmarks", | ||
"snowbridge-router-primitives/runtime-benchmarks", | ||
"sp-runtime/runtime-benchmarks", | ||
"xcm-executor/runtime-benchmarks", | ||
] | ||
try-runtime = [ | ||
"frame-support/try-runtime", | ||
"frame-system/try-runtime", | ||
"pallet-balances/try-runtime", | ||
"snowbridge-pallet-ethereum-client/try-runtime", | ||
"sp-runtime/try-runtime", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Ethereum Inbound Queue | ||
|
||
Reads messages from Ethereum and sends it to intended destination on Polkadot, using XCM. |
34 changes: 34 additions & 0 deletions
34
bridges/snowbridge/pallets/inbound-queue-v2/fixtures/Cargo.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
[package] | ||
name = "snowbridge-pallet-inbound-queue-fixtures-v2" | ||
description = "Snowbridge Inbound Queue Test Fixtures V2" | ||
version = "0.10.0" | ||
authors = ["Snowfork <[email protected]>"] | ||
edition.workspace = true | ||
repository.workspace = true | ||
license = "Apache-2.0" | ||
categories = ["cryptography::cryptocurrencies"] | ||
|
||
[lints] | ||
workspace = true | ||
|
||
[package.metadata.docs.rs] | ||
targets = ["x86_64-unknown-linux-gnu"] | ||
|
||
[dependencies] | ||
hex-literal = { workspace = true, default-features = true } | ||
sp-core = { workspace = true } | ||
sp-std = { workspace = true } | ||
snowbridge-core = { workspace = true } | ||
snowbridge-beacon-primitives = { workspace = true } | ||
|
||
[features] | ||
default = ["std"] | ||
std = [ | ||
"snowbridge-beacon-primitives/std", | ||
"snowbridge-core/std", | ||
"sp-core/std", | ||
"sp-std/std", | ||
] | ||
runtime-benchmarks = [ | ||
"snowbridge-core/runtime-benchmarks", | ||
] |
7 changes: 7 additions & 0 deletions
7
bridges/snowbridge/pallets/inbound-queue-v2/fixtures/src/lib.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// SPDX-License-Identifier: Apache-2.0 | ||
// SPDX-FileCopyrightText: 2023 Snowfork <[email protected]> | ||
#![cfg_attr(not(feature = "std"), no_std)] | ||
|
||
pub mod register_token; | ||
pub mod send_token; | ||
pub mod send_token_to_penpal; |
Oops, something went wrong.