We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d85475 commit 19ede17Copy full SHA for 19ede17
faster_web3/middleware/validation.py
@@ -84,7 +84,9 @@ def _check_extradata_length(val: Any) -> Any:
84
return val
85
86
87
-def _transaction_normalizer(transaction: TxParams) -> TxParams:
+def _transaction_normalizer(transaction: Any) -> Any: # TxParams) -> TxParams:
88
+ if not isinstance(transaction, dict):
89
+ raise TypeError(f"{transaction} is not a dict")
90
return dissoc(transaction, "chainId")
91
92
0 commit comments