class AergoClientImpl implements AergoClient {

  @Override
  public void cacheChainIdHash(final ChainIdHash chainIdHash) {
    assertNotNull(chainIdHash);
    final Context context = contextStorage.get();
    final ChainIdHashHolder chainIdHashHolder = context.get(GRPC_VALUE_CHAIN_ID_HASH_HOLDER);
    if (null == chainIdHashHolder) {
      throw new HerajException("No chain id hash holder in context");
    }
    chainIdHashHolder.put(chainIdHash);
  }

    AergoClientImpl(final ContextStorage<Context> contextStorage);

}