Skip to content

Commit

Permalink
changelog, clippy, fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
claravanstaden committed Jun 28, 2024
1 parent 3887d0a commit 42ec435
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Changed

- Polkadot chains: allow arbitrary XCM execution ([polkadot-fellows/runtimes#345](https://github.com/polkadot-fellows/runtimes/pull/345))
- Snowbridge: Sync headers on demand ([polkadot-fellows/runtimes#345](https://github.com/polkadot-fellows/runtimes/pull/365))

## [1.2.7] 14.06.2024

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ use snowbridge_router_primitives::inbound::{
};
use sp_core::{H160, H256, U256};
use sp_runtime::{DispatchError::Token, FixedU128, TokenError::FundsUnavailable};
use xcm::v3::MultiLocation;
use system_parachains_constants::kusama::currency::UNITS;

const INITIAL_FUND: u128 = 5_000_000_000 * KUSAMA_ED;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ use snowbridge_router_primitives::inbound::{
};
use sp_core::{H160, H256, U256};
use sp_runtime::{DispatchError::Token, FixedU128, TokenError::FundsUnavailable};
use xcm::v3::MultiLocation;
use system_parachains_constants::polkadot::currency::UNITS;

const INITIAL_FUND: u128 = 5_000_000_000 * POLKADOT_ED;
Expand Down Expand Up @@ -78,7 +77,7 @@ pub fn send_inbound_message(fixture: InboundQueueFixture) -> DispatchResult {
fixture.finalized_header,
fixture.block_roots_root,
)
.unwrap();
.unwrap();

EthereumInboundQueue::submit(
RuntimeOrigin::signed(BridgeHubPolkadotSender::get()),
Expand Down Expand Up @@ -738,7 +737,7 @@ fn asset_hub_foreign_assets_pallet_is_configured_correctly_in_bridge_hub() {
min_balance: ASSET_MIN_BALANCE,
admin: assethub_sovereign.into(),
})
.encode();
.encode();

let bridge_hub_inbound_queue_assets_pallet_call_index = CreateAssetCall::get();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ impl snowbridge_pallet_outbound_queue::Config for Runtime {
type Channels = EthereumSystem;
}

#[cfg(not(any(feature = "std", feature = "fast-runtime", feature = "runtime-benchmarks", test)))]
#[cfg(not(any(feature = "std", feature = "runtime-benchmarks", test)))]
parameter_types! {
pub const ChainForkVersions: ForkVersions = ForkVersions {
genesis: Fork {
Expand All @@ -113,7 +113,7 @@ parameter_types! {
};
}

#[cfg(any(feature = "std", feature = "fast-runtime", feature = "runtime-benchmarks", test))]
#[cfg(any(feature = "std", feature = "runtime-benchmarks", test))]
parameter_types! {
pub const ChainForkVersions: ForkVersions = ForkVersions {
genesis: Fork {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ impl snowbridge_pallet_outbound_queue::Config for Runtime {
type Channels = EthereumSystem;
}

#[cfg(not(any(feature = "std", feature = "fast-runtime", feature = "runtime-benchmarks", test)))]
#[cfg(not(any(feature = "std", feature = "runtime-benchmarks", test)))]
parameter_types! {
pub const ChainForkVersions: ForkVersions = ForkVersions {
genesis: Fork {
Expand All @@ -113,7 +113,7 @@ parameter_types! {
};
}

#[cfg(any(feature = "std", feature = "fast-runtime", feature = "runtime-benchmarks", test))]
#[cfg(any(feature = "std", feature = "runtime-benchmarks", test))]
parameter_types! {
pub const ChainForkVersions: ForkVersions = ForkVersions {
genesis: Fork {
Expand Down

0 comments on commit 42ec435

Please sign in to comment.