Skip to content

Commit

Permalink
Fix multisig script to track PIDs correctly. (#586)
Browse files Browse the repository at this point in the history
Remove a few unneeded prints.

Signed-off-by: pfeairheller <[email protected]>
  • Loading branch information
pfeairheller authored Oct 16, 2023
1 parent a6684b0 commit 5fc7f29
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
3 changes: 2 additions & 1 deletion scripts/demo/credentials/multisig-signify-issue.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@ kli oobi resolve --name multisig2 --oobi-alias agent0 --oobi http://127.0.0.1:39
# Follow commands run in parallel
kli multisig incept --name multisig1 --alias multisig1 --group multisig --file ${KERI_DEMO_SCRIPT_DIR}/data/multisig-signify-sample.json &
pid=$!
PID_LIST+=" $pid"
PID_LIST=" $pid"
kli multisig incept --name multisig2 --alias multisig2 --group multisig --file ${KERI_DEMO_SCRIPT_DIR}/data/multisig-signify-sample.json &
pid=$!
PID_LIST+=" $pid"

wait $PID_LIST
PID_LIST=""
Expand Down
4 changes: 0 additions & 4 deletions src/keri/core/parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -1057,7 +1057,6 @@ def msgParsator(self, ims=None, framed=True, pipeline=False,
rvy.processReply(serder, tsgs=tsgs) # trans

except AttributeError as e:
print(e)
raise kering.ValidationError("No kevery to process so dropped msg"
"= {}.".format(serder.pretty()))

Expand Down Expand Up @@ -1107,11 +1106,8 @@ def msgParsator(self, ims=None, framed=True, pipeline=False,
exc.processEvent(tsgs=tsgs, **args)

except AttributeError as e:
print(e)
raise kering.ValidationError("No Exchange to process so dropped msg"
"= {}.".format(serder.pretty()))
except Exception as e:
print(e)

elif ilk in (Ilks.vcp, Ilks.vrt, Ilks.iss, Ilks.rev, Ilks.bis, Ilks.brv):
# TEL msg
Expand Down
3 changes: 1 addition & 2 deletions tests/core/test_coring.py
Original file line number Diff line number Diff line change
Expand Up @@ -5852,8 +5852,7 @@ def test_serder():
s="0001",
t="rot")
_, e4 = coring.Saider.saidify(sad=e4)
print()
print(e4)

e4s = json.dumps(e4, separators=(",", ":"), ensure_ascii=False).encode("utf-8")
assert e4s == (b'{"v":"ACDC10JSON00006f_","d":"EMFw6MEBmwWU28-7wK4SJ2kasSzVgLKkAM7iwoqJJ07Z",'
b'"i":"ABCDEFG","s":"0001","t":"rot"}')
Expand Down

0 comments on commit 5fc7f29

Please sign in to comment.