I noticed this issue while reviewing PR 34773 where a lazy import is added in the call method of the AuthServiceProxy class in authproxy.py
There’s a circular dependency between authproxy.py and util.py due to which the former can’t use the common utility functions and thus lazy imports are used as a workaround.
This patch set breaks the dependency so that authproxy.py can use the utility functions from util.py in a standard fashion. Few tests that explicitly use get_rpc_proxy and JSONRPCException needed to have their imports updated.