File tree Expand file tree Collapse file tree 3 files changed +18
-2
lines changed
main/java/com/strategyobject/substrateclient/rpc/api/section
test/java/com/strategyobject/substrateclient/rpc/api/section
tests/src/main/java/com/strategyobject/substrateclient/tests/containers Expand file tree Collapse file tree 3 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -228,4 +228,8 @@ CompletableFuture<Supplier<CompletableFuture<Boolean>>> subscribeStorage(List<St
228228 @ RpcCall ("call" )
229229 @ Scale
230230 CompletableFuture <IndexU32 > retrieveAccountNonce (String method , @ Scale AccountIdScaleWrapper addressId );
231+
232+ @ RpcCall ("call" )
233+ @ Scale
234+ CompletableFuture <Byte []> getRegisteredEntitiesByName (String method , @ Scale String name );
231235}
Original file line number Diff line number Diff line change @@ -204,6 +204,18 @@ public void retrieveAccountNonce() throws Exception {
204204 }
205205 }
206206
207+ @ Test
208+ public void getRegisteredEntitiesByName () throws Exception {
209+ try (val wsProvider = connect ()) {
210+ val state = TestsHelper .createSectionFactory (wsProvider ).create (State .class );
211+ val method = "SchemasRuntimeApi_get_registered_entities_by_name" ;
212+ val intentName = "frequency.default-token-address" ;
213+
214+ CompletableFuture <Byte []> deferredResult = state .getRegisteredEntitiesByName (method , intentName );
215+ deferredResult .get ();
216+ }
217+ }
218+
207219 private WsProvider connect () throws Exception {
208220 val wsProvider = WsProvider .builder ()
209221 .setEndpoint (substrate .getWsAddress ())
Original file line number Diff line number Diff line change 11package com .strategyobject .substrateclient .tests .containers ;
22
33public class FrequencyVersion {
4- public static final String CURRENT_VERSION = "v1.17.8 " ;
5- public static final Long SPEC = 183L ;
4+ public static final String CURRENT_VERSION = "v2.0.0-rc1 " ;
5+ public static final Long SPEC = 184L ;
66
77 private FrequencyVersion () {
88 }
You can’t perform that action at this time.
0 commit comments