mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-09-11 21:20:39 +02:00
7be0d6fa18test: remove the lazy import of util in authproxy (rkrux)779f444680test: move out JSONRPCException from authproxy to util (rkrux) Pull request description: I noticed this issue while reviewing #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. ACKs for top commit: maflcko: review ACK7be0d6fa18🏽 Tree-SHA512: 56775cb13d989342ba9482edb255170d695ce5c2d5efbbd64586e0d5463af16467dbf9efe8a0411bde4dfb9bb531839284b2d6f5d828080171d847b70570977d