maintenance bumps

Maintenance bumps of several dependencies - broadly address security
issues, 1.6+ compatibility, bugfixes etc to catch up with Nimbus'
development

The extra try/catch is due to increased exception safety requirements in
`chronicles`, where `fmt` allows dynamic format strings and therefore
may raise `ValueError` in theory.
This commit is contained in:
Jacek Sieka 2024-01-02 17:47:26 +01:00 committed by Jonathan Rainville
parent cd11a2ac81
commit 1315911587
21 changed files with 36 additions and 29 deletions

View File

@ -84,12 +84,15 @@ type
success*: bool
proc `$`*(self: TransactionMinedArgs): string =
result = fmt"""TransactionMinedArgs(
transactionHash: {$self.transactionHash},
chainId: {$self.chainId},
success: {$self.success},
data: {self.data},
]"""
try:
fmt"""TransactionMinedArgs(
transactionHash: {$self.transactionHash},
chainId: {$self.chainId},
success: {$self.success},
data: {self.data},
)"""
except ValueError:
raiseAssert "static fmt"
type
TransactionSentArgs* = ref object of Args

View File

@ -18,7 +18,11 @@ type
error*: RpcError
proc `$`*(self: RpcError): string =
result = fmt"""RpcError(
code: {self.code},
message: {self.message},
]"""
try:
fmt"""RpcError(
code: {self.code},
message: {self.message},
)"""
except ValueError:
raiseAssert "static fmt"

2
vendor/nim-bearssl vendored

@ -1 +1 @@
Subproject commit acf9645e328bdcab481cfda1c158e07ecd46bd7b
Subproject commit d55d3a86d7ec3ad11b244e17b3bad490bfbd076d

@ -1 +1 @@
Subproject commit 14e8537e4aefda832996a187c4acfef8eadb2aeb
Subproject commit ccbb7566d1a06bfc1ec42dd8da74a47f1d3b3f4b

@ -1 +1 @@
Subproject commit 674c9e4c8e0cad2b7193cc9a59c12d39a397750f
Subproject commit 7568f1b7c3142d8e87c1f3dd42924238926affbe

2
vendor/nim-eth vendored

@ -1 +1 @@
Subproject commit 72c98589278aec949c13435d9bcacdb306faa5a8
Subproject commit 5aaeb67ebedbefaae2f719f245a96c1a80c42f81

@ -1 +1 @@
Subproject commit 814f8927e1f356f39219f37f069b83066bcc893a
Subproject commit 720fc5e5c8e428d9d0af618e1e27c44b42350309

@ -1 +1 @@
Subproject commit a85bd52ae0a956983ca6b3267c72961d2ec0245f
Subproject commit 77a59297ad635d91a6352ef48ee09c6bde0c5d86

2
vendor/nim-json-rpc vendored

@ -1 +1 @@
Subproject commit 07e4705b1fcff917b1eec37c11b3f8001017a76d
Subproject commit 33360528d208aaa70a6ed914619fe76321760d54

2
vendor/nim-libp2p vendored

@ -1 +1 @@
Subproject commit c1a3bd8fee464661ebfa842922c3a4c4e82a915f
Subproject commit e3c967ad1939fb33b8e13759037d193734acd202

2
vendor/nim-metrics vendored

@ -1 +1 @@
Subproject commit a2293e8a34f2a6cf264aec47e4becf2f53a0e467
Subproject commit 51f1227d0fd04ce84b1ef784b11280cb7875348c

2
vendor/nim-result vendored

@ -1 +1 @@
Subproject commit bd668d16efbc41db8b3d8fa2142a444b0a7e5876
Subproject commit 113d433f48894ee8e7da3e340c8fe19ad7b9db4d

@ -1 +1 @@
Subproject commit 4c41c5029ffc73b732233f06018cd52f3ed47dce
Subproject commit 7246d91c667f4cc3759fdd50339caa45a2ecd8be

@ -1 +1 @@
Subproject commit 5b7cea55efeb074daa8abd8146a03a34adb4521a
Subproject commit 4d541ec43454809904fc4c3c0a7436410ad597d2

2
vendor/nim-stew vendored

@ -1 +1 @@
Subproject commit e18f5a62af2ade7a1fd1d39635d4e04d944def08
Subproject commit 2c2544aec13536304438be045bfdd22452741466

2
vendor/nim-stint vendored

@ -1 +1 @@
Subproject commit eb1f32c6752478e18dff9256ea45538ab3312cd3
Subproject commit 711cda4456c32d3ba3c6c4524135b3453dffeb9c

2
vendor/nim-websock vendored

@ -1 +1 @@
Subproject commit fea05cde8b123b38d1a0a8524b77efbc84daa848
Subproject commit f8ed9b40a5ff27ad02a3c237c4905b0924e3f982

2
vendor/nim-zlib vendored

@ -1 +1 @@
Subproject commit 826e2fc013f55b4478802d4f2e39f187c50d520a
Subproject commit a2f44bb7f65571a894227ff6fde9298a104e03a5

2
vendor/nimPNG vendored

@ -1 +1 @@
Subproject commit e49f3c7bd0f71f9843ad5469f2841e0caeccc120
Subproject commit aa63abd78baa28a09f3fd8dc96e1f92af1cbfc1f

2
vendor/nimcrypto vendored

@ -1 +1 @@
Subproject commit 4014ef939b51e02053c2e16dd3481d47bc9267dd
Subproject commit a079df92424968d46a6ac258299ce9380aa153f2

2
vendor/semver.nim vendored

@ -1 +1 @@
Subproject commit 11a49067315c2ba5b8bcbf6f620442004c419817
Subproject commit 8616e5697da48ab548f0a0018f363ed831c22db8