Refactoring Checkpoint: (WIP)

This commit is contained in:
2025-12-14 10:29:31 +03:00
parent 09735eb97a
commit c89d7cac55
1424 changed files with 6415 additions and 6064 deletions
@@ -1,5 +1,5 @@
[package]
name = "snowbridge-inbound-queue-primitives"
name = "pezsnowbridge-inbound-queue-primitives"
description = "Snowbridge Inbound Queue Primitives"
version = "0.9.0"
authors = ["Snowfork <contact@snowfork.com>"]
@@ -7,7 +7,7 @@ edition.workspace = true
repository.workspace = true
license = "Apache-2.0"
categories = ["cryptography::cryptocurrencies"]
documentation = "https://docs.rs/snowbridge-inbound-queue-primitives"
documentation = "https://docs.rs/pezsnowbridge-inbound-queue-primitives"
homepage = { workspace = true }
[lints]
@@ -33,16 +33,16 @@ xcm = { workspace = true }
xcm-builder = { workspace = true }
xcm-executor = { workspace = true }
snowbridge-beacon-primitives = { workspace = true }
snowbridge-core = { workspace = true }
snowbridge-verification-primitives = { workspace = true }
pezsnowbridge-beacon-primitives = { workspace = true }
pezsnowbridge-core = { workspace = true }
pezsnowbridge-verification-primitives = { workspace = true }
assets-common = { workspace = true }
hex-literal = { workspace = true, default-features = true }
[dev-dependencies]
snowbridge-test-utils = { workspace = true }
pezsnowbridge-test-utils = { workspace = true }
[features]
default = ["std"]
@@ -53,9 +53,9 @@ std = [
"pezframe-support/std",
"pezframe-system/std",
"scale-info/std",
"snowbridge-beacon-primitives/std",
"snowbridge-core/std",
"snowbridge-verification-primitives/std",
"pezsnowbridge-beacon-primitives/std",
"pezsnowbridge-core/std",
"pezsnowbridge-verification-primitives/std",
"pezsp-core/std",
"pezsp-io/std",
"pezsp-runtime/std",
@@ -69,10 +69,10 @@ runtime-benchmarks = [
"assets-common/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
"snowbridge-beacon-primitives/runtime-benchmarks",
"snowbridge-core/runtime-benchmarks",
"snowbridge-test-utils/runtime-benchmarks",
"snowbridge-verification-primitives/runtime-benchmarks",
"pezsnowbridge-beacon-primitives/runtime-benchmarks",
"pezsnowbridge-core/runtime-benchmarks",
"pezsnowbridge-test-utils/runtime-benchmarks",
"pezsnowbridge-verification-primitives/runtime-benchmarks",
"pezsp-io/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"xcm-builder/runtime-benchmarks",
@@ -10,7 +10,7 @@ use pezsp_std::marker::PhantomData;
use xcm::prelude::{AccountKey20, Ethereum, GlobalConsensus, Location};
use xcm_executor::traits::ConvertLocation;
pub use snowbridge_verification_primitives::*;
pub use pezsnowbridge_verification_primitives::*;
/// DEPRECATED in favor of [xcm_builder::ExternalConsensusLocationsConverterFor]
pub struct EthereumLocationsConverterFor<AccountId>(PhantomData<AccountId>);
@@ -7,7 +7,7 @@ use codec::{Decode, DecodeWithMemTracking, Encode};
use core::marker::PhantomData;
use pezframe_support::{traits::tokens::Balance as BalanceT, PalletError};
use scale_info::TypeInfo;
use snowbridge_core::TokenId;
use pezsnowbridge_core::TokenId;
use pezsp_core::{Get, RuntimeDebug, H160, H256};
use pezsp_runtime::{traits::MaybeConvert, MultiAddress};
use pezsp_std::prelude::*;
@@ -464,7 +464,7 @@ mod tests {
};
use pezframe_support::{assert_ok, parameter_types};
use hex_literal::hex;
use snowbridge_test_utils::mock_converter::{
use pezsnowbridge_test_utils::mock_converter::{
add_location_override, reanchor_to_ethereum, LocationIdConvert,
};
use pezsp_core::H160;
@@ -7,7 +7,7 @@ use crate::{v2::LOG_TARGET, CallIndex};
use codec::{Decode, DecodeLimit, Encode};
use core::marker::PhantomData;
use pezframe_support::ensure;
use snowbridge_core::{ParaId, TokenId};
use pezsnowbridge_core::{ParaId, TokenId};
use pezsp_core::{Get, RuntimeDebug, H160};
use pezsp_io::hashing::blake2_256;
use pezsp_runtime::{traits::MaybeConvert, MultiAddress};
@@ -427,8 +427,8 @@ mod tests {
use codec::Encode;
use pezframe_support::{assert_err, assert_ok, parameter_types};
use hex_literal::hex;
use snowbridge_core::TokenId;
use snowbridge_test_utils::mock_converter::{
use pezsnowbridge_core::TokenId;
use pezsnowbridge_test_utils::mock_converter::{
add_location_override, reanchor_to_ethereum, LocationIdConvert,
};
use pezsp_core::{H160, H256};
@@ -10,4 +10,4 @@ pub use converter::*;
pub use message::*;
pub use traits::*;
const LOG_TARGET: &str = "snowbridge-inbound-queue-primitives";
const LOG_TARGET: &str = "pezsnowbridge-inbound-queue-primitives";