Bump websock (#1982)

* Bump nim-websock to 475ad35c89b0c6e63d8fda556c108a02b5f5e447

* Fix obsolete Rng cast

* Fix copyright year

* Remove obsolete comments
This commit is contained in:
andri lim 2024-01-23 22:29:12 +07:00 committed by GitHub
parent 107d81dbc9
commit cba5d166f4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 6 deletions

View File

@ -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)

2
vendor/nim-json-rpc vendored

@ -1 +1 @@
Subproject commit 8d79d528412d7cdd022ff91fb6bacd4f5bb01d58
Subproject commit dad0255c71779cad67e356b7e71d3076aedbea03

2
vendor/nim-websock vendored

@ -1 +1 @@
Subproject commit fea05cde8b123b38d1a0a8524b77efbc84daa848
Subproject commit 475ad35c89b0c6e63d8fda556c108a02b5f5e447