Skip to content

Commit

Permalink
move apis to it's own folder
Browse files Browse the repository at this point in the history
  • Loading branch information
pgherveou committed Dec 23, 2024
1 parent 6dd4421 commit 7145af7
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions substrate/frame/revive/rpc/src/apis.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
mod debug_apis;
pub use debug_apis::*;

mod execution_apis;
pub use execution_apis::*;
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use super::*;
use crate::*;
use jsonrpsee::{core::RpcResult, proc_macros::rpc};

/// Debug Ethererum JSON-RPC apis.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
//! Generated JSON-RPC methods.
#![allow(missing_docs)]

use super::*;
use crate::*;
use jsonrpsee::{core::RpcResult, proc_macros::rpc};

#[rpc(server, client)]
Expand Down
4 changes: 2 additions & 2 deletions substrate/frame/revive/rpc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ pub use receipt_provider::*;
mod rpc_health;
pub use rpc_health::*;

mod rpc_methods_gen;
pub use rpc_methods_gen::*;
mod apis;
pub use apis::*;

pub const LOG_TARGET: &str = "eth-rpc";

Expand Down

0 comments on commit 7145af7

Please sign in to comment.