File tree 2 files changed +4
-10
lines changed
2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -13,16 +13,16 @@ use crate::chain::{
13
13
14
14
#[ rpc]
15
15
pub trait Service {
16
- #[ rpc( name = "ping" ) ]
16
+ #[ rpc( name = "ping" , alias ( "spacesvm.ping" ) ) ]
17
17
fn ping ( & self ) -> BoxFuture < Result < PingResponse > > ;
18
18
19
- #[ rpc( name = "issue_tx" ) ]
19
+ #[ rpc( name = "issueTx" , alias ( "spacesvm.issueTx" ) ) ]
20
20
fn issue_tx ( & self , params : IssueTxArgs ) -> BoxFuture < Result < IssueTxResponse > > ;
21
21
22
- #[ rpc( name = "decode_tx" ) ]
22
+ #[ rpc( name = "decodeTx" , alias ( "spacesvm.decodeTx" ) ) ]
23
23
fn decode_tx ( & self , params : DecodeTxArgs ) -> BoxFuture < Result < DecodeTxResponse > > ;
24
24
25
- #[ rpc( name = "resolve" ) ]
25
+ #[ rpc( name = "resolve" , alias ( "spacesvm.resolve" ) ) ]
26
26
fn resolve ( & self , params : ResolveArgs ) -> BoxFuture < Result < ResolveResponse > > ;
27
27
}
28
28
Original file line number Diff line number Diff line change @@ -8,9 +8,3 @@ struct Request {
8
8
params : Option < serde_json:: Value > ,
9
9
id : serde_json:: Value ,
10
10
}
11
-
12
- #[ cfg( test) ]
13
- mod tests {
14
- #[ test]
15
- fn test_request ( ) { }
16
- }
You can’t perform that action at this time.
0 commit comments