mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 11:01:01 +00:00
Update Snowbridge versions and prep for publishing (#2894)
- updates snowbridge crates to `0.9.0` - updates Cargo.toml files in preparation for publishing to crates.io - adds Kusama and Polkadot Snowbridge runtime config crates - moves runtime tests from the Snowbridge subtree into the bridge hub tests dir --------- Co-authored-by: claravanstaden <Cats 4 life!> Co-authored-by: Ron <yrong1997@gmail.com>
This commit is contained in:
@@ -1,11 +1,15 @@
|
||||
[package]
|
||||
name = "snowbridge-system"
|
||||
description = "Snowbridge System"
|
||||
version = "0.1.1"
|
||||
name = "snowbridge-pallet-system"
|
||||
description = "Snowbridge System Pallet"
|
||||
version = "0.9.0"
|
||||
authors = ["Snowfork <contact@snowfork.com>"]
|
||||
edition = "2021"
|
||||
repository = "https://github.com/Snowfork/snowbridge"
|
||||
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"]
|
||||
@@ -39,7 +43,7 @@ pallet-balances = { path = "../../../../../substrate/frame/balances" }
|
||||
sp-keyring = { path = "../../../../../substrate/primitives/keyring" }
|
||||
polkadot-primitives = { path = "../../../../../polkadot/primitives" }
|
||||
pallet-message-queue = { path = "../../../../../substrate/frame/message-queue" }
|
||||
snowbridge-outbound-queue = { path = "../outbound-queue" }
|
||||
snowbridge-pallet-outbound-queue = { path = "../outbound-queue" }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
@@ -68,7 +72,7 @@ runtime-benchmarks = [
|
||||
"pallet-message-queue/runtime-benchmarks",
|
||||
"polkadot-primitives/runtime-benchmarks",
|
||||
"snowbridge-core/runtime-benchmarks",
|
||||
"snowbridge-outbound-queue/runtime-benchmarks",
|
||||
"snowbridge-pallet-outbound-queue/runtime-benchmarks",
|
||||
"sp-runtime/runtime-benchmarks",
|
||||
"xcm-builder/runtime-benchmarks",
|
||||
"xcm-executor/runtime-benchmarks",
|
||||
@@ -78,6 +82,6 @@ try-runtime = [
|
||||
"frame-system/try-runtime",
|
||||
"pallet-balances/try-runtime",
|
||||
"pallet-message-queue/try-runtime",
|
||||
"snowbridge-outbound-queue/try-runtime",
|
||||
"snowbridge-pallet-outbound-queue/try-runtime",
|
||||
"sp-runtime/try-runtime",
|
||||
]
|
||||
|
||||
@@ -1 +1,3 @@
|
||||
License: MIT-0
|
||||
# Ethereum System
|
||||
|
||||
Contains management functions to manage functions on Ethereum. For example, creating agents and channels.
|
||||
|
||||
@@ -1,11 +1,15 @@
|
||||
[package]
|
||||
name = "snowbridge-system-runtime-api"
|
||||
description = "Snowbridge System Runtime API"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
version = "0.9.0"
|
||||
authors = ["Snowfork <contact@snowfork.com>"]
|
||||
repository = "https://github.com/Snowfork/snowbridge"
|
||||
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"]
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
# Ethereum System Runtime API
|
||||
|
||||
Provides an API for looking up an agent ID on Ethereum.
|
||||
@@ -79,6 +79,8 @@ use xcm_executor::traits::ConvertLocation;
|
||||
#[cfg(feature = "runtime-benchmarks")]
|
||||
use frame_support::traits::OriginTrait;
|
||||
|
||||
pub use pallet::*;
|
||||
|
||||
pub type BalanceOf<T> =
|
||||
<<T as pallet::Config>::Token as Inspect<<T as frame_system::Config>::AccountId>>::Balance;
|
||||
pub type AccountIdOf<T> = <T as frame_system::Config>::AccountId;
|
||||
|
||||
@@ -89,7 +89,7 @@ frame_support::construct_runtime!(
|
||||
System: frame_system,
|
||||
Balances: pallet_balances::{Pallet, Call, Storage, Config<T>, Event<T>},
|
||||
XcmOrigin: pallet_xcm_origin::{Pallet, Origin},
|
||||
OutboundQueue: snowbridge_outbound_queue::{Pallet, Call, Storage, Event<T>},
|
||||
OutboundQueue: snowbridge_pallet_outbound_queue::{Pallet, Call, Storage, Event<T>},
|
||||
EthereumSystem: snowbridge_system,
|
||||
MessageQueue: pallet_message_queue::{Pallet, Call, Storage, Event<T>}
|
||||
}
|
||||
@@ -167,7 +167,7 @@ parameter_types! {
|
||||
pub const OwnParaId: ParaId = ParaId::new(1013);
|
||||
}
|
||||
|
||||
impl snowbridge_outbound_queue::Config for Test {
|
||||
impl snowbridge_pallet_outbound_queue::Config for Test {
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
type Hashing = Keccak256;
|
||||
type MessageQueue = MessageQueue;
|
||||
|
||||
Reference in New Issue
Block a user