Skip to content

Commit

Permalink
Remove metrics from onchain web3
Browse files Browse the repository at this point in the history
  • Loading branch information
hweawer committed Dec 10, 2024
1 parent ed2e316 commit 5184aab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/transport/msg_providers/onchain_transport.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from typing import Callable, List, Optional

import variables
from blockchain.web3_extentions.middleware import add_cache_middleware, add_requests_metric_middleware
from blockchain.web3_extentions.middleware import add_cache_middleware
from eth_typing import ChecksumAddress
from eth_utils import to_bytes
from schema import Schema
Expand Down Expand Up @@ -326,4 +326,4 @@ def _parse_log(self, log: LogReceipt) -> Optional[dict]:

@staticmethod
def create_ochain_transport_w3() -> Web3:
return add_requests_metric_middleware(add_cache_middleware(Web3(FallbackProvider(variables.ONCHAIN_TRANSPORT_RPC_ENDPOINTS))))
return add_cache_middleware(Web3(FallbackProvider(variables.ONCHAIN_TRANSPORT_RPC_ENDPOINTS)))

0 comments on commit 5184aab

Please # to comment.