Skip to content

Commit

Permalink
New release (#252)
Browse files Browse the repository at this point in the history
  • Loading branch information
Szegoo authored Aug 17, 2024
1 parent d51efff commit e46765e
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 39 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions pallets/orders/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ cumulus-primitives-core = { workspace = true, default-features = false }
frame-benchmarking = { workspace = true, default-features = false, optional = true }
frame-support = { workspace = true, default-features = false }
frame-system = { workspace = true, default-features = false }
sp-api = { workspace = true, default-features = false }
sp-io = { workspace = true, default-features = false }
sp-core = { workspace = true, default-features = false }
sp-runtime = { workspace = true, default-features = false }
Expand All @@ -42,7 +41,6 @@ std = [
"codec/std",
"cumulus-primitives-core/std",
"scale-info/std",
"sp-api/std",
"sp-io/std",
"sp-core/std",
"sp-runtime/std",
Expand Down
2 changes: 0 additions & 2 deletions pallets/orders/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ pub use crate::types::*;
pub mod weights;
pub use weights::WeightInfo;

pub mod runtime_api;

pub type BalanceOf<T> =
<<T as crate::Config>::Currency as Currency<<T as frame_system::Config>::AccountId>>::Balance;

Expand Down
27 changes: 0 additions & 27 deletions pallets/orders/src/runtime_api.rs

This file was deleted.

8 changes: 1 addition & 7 deletions runtime/cocos/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("regionx-parachain"),
impl_name: create_runtime_str!("regionx-parachain"),
authoring_version: 1,
spec_version: 2_002_000,
spec_version: 3_000_000,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 1,
Expand Down Expand Up @@ -1126,12 +1126,6 @@ impl_runtime_apis! {
}
}

impl pallet_orders::runtime_api::OrdersApi<Block, AccountId> for Runtime {
fn order_account(order_id: OrderId) -> AccountId {
<Runtime as pallet_orders::Config>::OrderToAccountId::convert(order_id)
}
}

#[cfg(feature = "try-runtime")]
impl frame_try_runtime::TryRuntime<Block> for Runtime {
fn on_runtime_upgrade(checks: frame_try_runtime::UpgradeCheckSelect) -> (Weight, Weight) {
Expand Down

0 comments on commit e46765e

Please sign in to comment.