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

Scaffold trace_ RPC name space Handler implementation #982

Closed
Tracked by #37
mattsse opened this issue Jan 23, 2023 · 1 comment
Closed
Tracked by #37

Scaffold trace_ RPC name space Handler implementation #982

mattsse opened this issue Jan 23, 2023 · 1 comment
Assignees
Labels
A-rpc Related to the RPC implementation C-enhancement New feature or request D-good-first-issue Nice and easy! A great choice to get started

Comments

@mattsse
Copy link
Collaborator

mattsse commented Jan 23, 2023

Describe the feature

Describe the feature

Introduce missing TraceApi type, implementation of rpc functions not possible atm, but can start with the type

TODO

  • add TraceApi struct
  • impl TraceApiServer
  • keep impls as todo!()

Additional context

Similar to:

/// `admin` API implementation.
///
/// This type provides the functionality for handling `admin` related requests.
pub struct AdminApi {
/// An interface to interact with the network
network: NetworkHandle,
}
impl AdminApi {
/// Creates a new instance of `AdminApi`.
pub fn new(network: NetworkHandle) -> AdminApi {
AdminApi { network }
}
}
#[async_trait]
impl AdminApiServer for AdminApi {

No response

Additional context

No response

@mattsse mattsse added C-enhancement New feature or request D-good-first-issue Nice and easy! A great choice to get started A-rpc Related to the RPC implementation labels Jan 23, 2023
@onbjerg onbjerg mentioned this issue Jan 23, 2023
8 tasks
@CryptoTurboFish
Copy link
Contributor

i can help with this and also #981 another similar task

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-rpc Related to the RPC implementation C-enhancement New feature or request D-good-first-issue Nice and easy! A great choice to get started
Projects
Archived in project
Development

No branches or pull requests

2 participants