def test_set_default_interchain_calls_storage(self, mock_get_client, mock_put_object): interchain_dao.set_default_interchain_client("something", "awful") mock_get_client.assert_called_once_with("something", "awful") mock_put_object.assert_called_once_with("INTERCHAINS/default", { "version": "1", "blockchain": "something", "name": "awful" })
def set_default_interchain_v1(blockchain: str, name: str) -> Dict[str, Any]: return _get_output_dto_v1(interchain_dao.set_default_interchain_client(blockchain, name))