LONGYKING commited on
Commit
2a8ad37
·
1 Parent(s): ae917b6

deploynent fixes

Browse files
Files changed (2) hide show
  1. requirements.txt +1 -1
  2. src/libs/rpc_client.py +1 -1
requirements.txt CHANGED
@@ -53,7 +53,7 @@ eth-utils==4.1.1
53
  eth_abi==5.1.0
54
  exceptiongroup==1.2.2
55
  executing==2.0.1
56
- fastapi==0.111.1
57
  fastapi-cli==0.0.4
58
  fastapi-sso==0.15.0
59
  fastjsonschema==2.20.0
 
53
  eth_abi==5.1.0
54
  exceptiongroup==1.2.2
55
  executing==2.0.1
56
+ fastapi>=0.110.1,<0.111.0
57
  fastapi-cli==0.0.4
58
  fastapi-sso==0.15.0
59
  fastjsonschema==2.20.0
src/libs/rpc_client.py CHANGED
@@ -10,7 +10,7 @@ async def rpc_call(
10
  method_name: str, # The name of the RPC method to be called
11
  params: Optional[Union[dict, list]] = None, # Optional parameters for the RPC method
12
  url: str = rpc_server_url, # The URL of the RPC server
13
- timeout: int = 400 # Timeout in seconds
14
  ) -> dict: # Returns the JSON response from the RPC server
15
  """
16
  This function makes an RPC call to the specified URL with the given method name and parameters.
 
10
  method_name: str, # The name of the RPC method to be called
11
  params: Optional[Union[dict, list]] = None, # Optional parameters for the RPC method
12
  url: str = rpc_server_url, # The URL of the RPC server
13
+ timeout: int = 900 # Timeout in seconds
14
  ) -> dict: # Returns the JSON response from the RPC server
15
  """
16
  This function makes an RPC call to the specified URL with the given method name and parameters.