We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the connect we need to add PoA dynamic checking:
def check_poa(block_id) -> bool: try: block = self.web3.eth.get_block(block_id) except ExtraDataLengthError: return True else: return ( "proofOfAuthorityData" in block or len(block.get("extraData", "")) > MAX_EXTRADATA_LENGTH ) # Handle if using PoA if any(map(check_poa, (0, "latest"))): self._web3.middleware_onion.inject(geth_poa_middleware, layer=0)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In the connect we need to add PoA dynamic checking:
The text was updated successfully, but these errors were encountered: