Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion test/scripts/e2e_subs/e2e-teal-multisig.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ ${gcmd} clerk send --amount 100000 --from ${ACCOUNT_MSIG} --to ${ACCOUNT_A} -L $
echo "Auto-detection correctly used new mode on future consensus"

# Verify auto-detection used new mode (LMsig field)
if ! cat ${TEMPDIR}/auto2.lsig | msgpacktool -d | grep -q '"lmsig"'; then
msgpacktool -d < ${TEMPDIR}/auto2.lsig > ${TEMPDIR}/auto2.json
if ! grep -q '"lmsig"' ${TEMPDIR}/auto2.json; then
echo "ERROR: Auto-detection did not use new mode (LMsig field not found)"
exit 1
fi
Expand Down
3 changes: 2 additions & 1 deletion test/scripts/e2e_subs/v32/e2e-teal-multisig.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ if [ $? -ne 0 ]; then
exit 1
fi
echo "Auto-detection correctly used legacy mode on v32"
if ! cat ${TEMPDIR}/auto2.lsig | msgpacktool -d | grep -q '"msig"'; then
msgpacktool -d < ${TEMPDIR}/auto2.lsig > ${TEMPDIR}/auto2.json
if ! grep -q '"msig"' ${TEMPDIR}/auto2.json; then
echo "ERROR: Auto-detection did not use legacy mode (Msig field not found)"
exit 1
fi
Expand Down
Loading