From 2c612d4357aae157534390b63a657025644b0eed Mon Sep 17 00:00:00 2001 From: andri lim Date: Wed, 23 Oct 2024 21:40:48 +0700 Subject: [PATCH] Bump nim-web3, nim-serialization: no more derefType (#2771) --- nimbus/common/chain_config.nim | 7 ++----- vendor/nim-serialization | 2 +- vendor/nim-web3 | 2 +- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/nimbus/common/chain_config.nim b/nimbus/common/chain_config.nim index e08ca3d64..d618b73c4 100644 --- a/nimbus/common/chain_config.nim +++ b/nimbus/common/chain_config.nim @@ -68,13 +68,10 @@ createJsonFlavor JGenesis, allowUnknownFields = true, skipNullFields = true -template derefType(T: type): untyped = - typeof(T()[]) - NetworkParams.useDefaultReaderIn JGenesis GenesisAccount.useDefaultReaderIn JGenesis -derefType(Genesis).useDefaultReaderIn JGenesis -derefType(ChainConfig).useDefaultReaderIn JGenesis +Genesis.useDefaultReaderIn JGenesis +ChainConfig.useDefaultReaderIn JGenesis # ------------------------------------------------------------------------------ # Private helper functions diff --git a/vendor/nim-serialization b/vendor/nim-serialization index 7950ac1e8..2086c9960 160000 --- a/vendor/nim-serialization +++ b/vendor/nim-serialization @@ -1 +1 @@ -Subproject commit 7950ac1e8c9f0019c798f97ab1fe1d9367cc2e6d +Subproject commit 2086c99608b4bf472e1ef5fe063710f280243396 diff --git a/vendor/nim-web3 b/vendor/nim-web3 index a27102220..40854fb51 160000 --- a/vendor/nim-web3 +++ b/vendor/nim-web3 @@ -1 +1 @@ -Subproject commit a2710222060de4936ca582ef677614dc4585ff12 +Subproject commit 40854fb51fd444b7537da767800fbca2189eb2b7