Not a list
Some checks failed
Lint Checks / Run linter (pull_request) Failing after 36s
Smoke Test / Run basic test suite (pull_request) Successful in 4m24s
Webapp Test / Run webapp test suite (pull_request) Successful in 4m56s
Deploy Test / Run deploy test suite (pull_request) Successful in 5m14s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Failing after 14m38s
K8s Deployment Control Test / Run deployment control suite on kind/k8s (pull_request) Failing after 15m2s

This commit is contained in:
Thomas E Lackey 2024-08-20 14:58:06 -05:00
parent 023a640252
commit 56b010f512

View File

@ -336,12 +336,15 @@ class LaconicRegistryClient:
txHash, txHash,
] ]
parsed = [ parsed = None
AttrDict(r) for r in json.loads(logged_cmd(self.log_file, *args)) if r try:
] parsed = AttrDict(json.loads(logged_cmd(self.log_file, *args)))
if len(parsed): except:
self.cache["txs"][txHash] = parsed[0] pass
return parsed[0]
if parsed:
self.cache["txs"][txHash] = parsed
return parsed
if require: if require:
raise Exception("Cannot locate tx:", hash) raise Exception("Cannot locate tx:", hash)