Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor Runtime APIs Implementation and Update Import Paths #495

Merged
merged 5 commits into from
Mar 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions node/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use std::{path::Path, sync::Arc, time::Duration};

use cumulus_client_cli::CollatorOptions;
// Local Runtime Types
use laos_runtime::{opaque::Block, Hash, RuntimeApi, TransactionConverter};
use laos_runtime::{apis::RuntimeApi, opaque::Block, Hash, TransactionConverter};

// Cumulus Imports
use cumulus_client_collator::service::CollatorService;
Expand Down Expand Up @@ -48,7 +48,7 @@ impl sc_executor::NativeExecutionDispatch for ParachainNativeExecutor {
type ExtendHostFunctions = frame_benchmarking::benchmarking::HostFunctions;

fn dispatch(method: &str, data: &[u8]) -> Option<Vec<u8>> {
laos_runtime::api::dispatch(method, data)
laos_runtime::apis::api::dispatch(method, data)
}

fn native_version() -> sc_executor::NativeVersion {
Expand Down
Loading
Loading