public async Task CrossChainServerStart_Test() { var localChainId = ChainHelper.GetChainId(1); await _grpcCrossChainServerNodePlugin.StartAsync(localChainId); Assert.True(_grpcCrossChainServer.IsStarted); await _grpcCrossChainServerNodePlugin.ShutdownAsync(); Assert.False(_grpcCrossChainServer.IsStarted); }
public async Task ShutdownAsync() { await _grpcServePlugin.ShutdownAsync(); await _grpcClientPlugin.ShutdownAsync(); }