You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We had to build an Arc<RPCState> to create two jsonrpsee's RPC modules in Forest.
However, a RpcModule internally creates an Arc.
This results in having to use Arc<Arc<State>> at many places, but that would not be strictly necessary if we could create an RPC module from an Arc.
Issue summary
This is a follow-up of #3978.
We had to build an
Arc<RPCState>
to create twojsonrpsee
's RPC modules in Forest.However, a
RpcModule
internally creates anArc
.This results in having to use
Arc<Arc<State>>
at many places, but that would not be strictly necessary if we could create an RPC module from anArc
.Task summary
jsonrpsee
crateArc
level from ourData
type aliasOther information and links
https://docs.rs/jsonrpsee-core/0.21.0/src/jsonrpsee_core/server/rpc_module.rs.html#470
The text was updated successfully, but these errors were encountered: