From 7a32e8ecf93b26b1f02f939da44a14070dd8f351 Mon Sep 17 00:00:00 2001 From: BobTheBuidler <70677534+BobTheBuidler@users.noreply.github.com> Date: Mon, 8 Jul 2024 15:38:46 -0400 Subject: [PATCH] fix: erigon_getHeaderByNumber (#203) * fix: erigon_getHeaderByNumber new field * chore: bump version to 4.20.94 --- dank_mids/types.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dank_mids/types.py b/dank_mids/types.py index 49060c57..0d5911ca 100644 --- a/dank_mids/types.py +++ b/dank_mids/types.py @@ -85,7 +85,7 @@ class Error(_DictStruct): "eth_getTransactionCount": str, "eth_getTransactionByHash": Transaction, "eth_getTransactionReceipt": Dict[str, Union[str, None, List[Log]]], - "erigon_getHeaderByNumber": Dict[str, Optional[str]], + "erigon_getHeaderByNumber": Dict[str, Union[str, int, bool, None]], } decoder_logger = logging.getLogger('dank_mids.decoder') diff --git a/pyproject.toml b/pyproject.toml index 9c81b494..686b2cb4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "dank-mids" -version = "0.1.0" +version = "4.20.94" description = "Multicall batching middleware for asynchronous scripts using web3.py" authors = ["BobTheBuidler "] homepage = "https://github.com/BobTheBuidler/dank_mids"