Bump nim-web3, nim-serialization: no more derefType (#2771)

This commit is contained in:
andri lim 2024-10-23 21:40:48 +07:00 committed by GitHub
parent 5fc4c13ab1
commit 2c612d4357
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 7 deletions

View File

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

@ -1 +1 @@
Subproject commit 7950ac1e8c9f0019c798f97ab1fe1d9367cc2e6d
Subproject commit 2086c99608b4bf472e1ef5fe063710f280243396

2
vendor/nim-web3 vendored

@ -1 +1 @@
Subproject commit a2710222060de4936ca582ef677614dc4585ff12
Subproject commit 40854fb51fd444b7537da767800fbca2189eb2b7