From cba5d166f42a75c58840e329fe202eb6f8dda97d Mon Sep 17 00:00:00 2001 From: andri lim Date: Tue, 23 Jan 2024 22:29:12 +0700 Subject: [PATCH] Bump websock (#1982) * Bump nim-websock to 475ad35c89b0c6e63d8fda556c108a02b5f5e447 * Fix obsolete Rng cast * Fix copyright year * Remove obsolete comments --- nimbus/nimbus.nim | 6 ++---- vendor/nim-json-rpc | 2 +- vendor/nim-websock | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/nimbus/nimbus.nim b/nimbus/nimbus.nim index 6fff144f7..1182bb65a 100644 --- a/nimbus/nimbus.nim +++ b/nimbus/nimbus.nim @@ -1,5 +1,5 @@ # Nimbus -# Copyright (c) 2018 Status Research & Development GmbH +# Copyright (c) 2018-2024 Status Research & Development GmbH # Licensed under either of # * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE)) # * MIT license ([LICENSE-MIT](LICENSE-MIT)) @@ -311,9 +311,7 @@ proc localServices(nimbus: NimbusNode, conf: NimbusConf, nimbus.wsRpcServer = newRpcWebSocketServer( initTAddress(conf.wsAddress, conf.wsPort), authHooks = hooks, - # yuck, we should remove this ugly cast when - # we fix nim-websock - rng = cast[ws.Rng](nimbus.ctx.rng) + rng = nimbus.ctx.rng ) setupCommonRpc(nimbus.ethNode, conf, nimbus.wsRpcServer) diff --git a/vendor/nim-json-rpc b/vendor/nim-json-rpc index 8d79d5284..dad0255c7 160000 --- a/vendor/nim-json-rpc +++ b/vendor/nim-json-rpc @@ -1 +1 @@ -Subproject commit 8d79d528412d7cdd022ff91fb6bacd4f5bb01d58 +Subproject commit dad0255c71779cad67e356b7e71d3076aedbea03 diff --git a/vendor/nim-websock b/vendor/nim-websock index fea05cde8..475ad35c8 160000 --- a/vendor/nim-websock +++ b/vendor/nim-websock @@ -1 +1 @@ -Subproject commit fea05cde8b123b38d1a0a8524b77efbc84daa848 +Subproject commit 475ad35c89b0c6e63d8fda556c108a02b5f5e447