Skip to content

Commit

Permalink
feat(rpc): introduce entry point routing
Browse files Browse the repository at this point in the history
  • Loading branch information
dancoombs committed Mar 14, 2024
1 parent 2ee72e0 commit 639d1e1
Show file tree
Hide file tree
Showing 23 changed files with 1,480 additions and 922 deletions.
38 changes: 0 additions & 38 deletions bin/tools/src/bin/get_example_ops.rs

This file was deleted.

3 changes: 1 addition & 2 deletions crates/rpc/src/debug.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ use futures_util::StreamExt;
use jsonrpsee::{core::RpcResult, proc_macros::rpc, types::error::INTERNAL_ERROR_CODE};
use rundler_builder::{BuilderServer, BundlingMode};
use rundler_pool::PoolServer;
use rundler_types::v0_6;

use crate::{
error::rpc_err,
Expand Down Expand Up @@ -127,7 +126,7 @@ where
.await
.map_err(|e| rpc_err(INTERNAL_ERROR_CODE, e.to_string()))?
.into_iter()
.map(|pop| v0_6::UserOperation::from(pop.uo).into())
.map(|pop| pop.uo.into())
.collect::<Vec<RpcUserOperation>>())
}

Expand Down
Loading

0 comments on commit 639d1e1

Please sign in to comment.