From 4ac86f99d825efaa3c32a9e0f1a5126eccf79a37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Palmer?= Date: Mon, 5 Feb 2024 14:19:42 +0100 Subject: [PATCH] Tests: add test check HWM after signing when no chain has been setup --- .../sign_1_0/app_context/chain_id.png | Bin 0 -> 285 bytes .../sign_1_0/app_context/high_watermark.png | Bin 0 -> 345 bytes .../app_context/public_key_hash_1.png | Bin 0 -> 559 bytes .../app_context/public_key_hash_2.png | Bin 0 -> 569 bytes .../sign_2_0/app_context/chain_id.png | Bin 0 -> 285 bytes .../sign_2_0/app_context/high_watermark.png | Bin 0 -> 354 bytes .../app_context/public_key_hash_1.png | Bin 0 -> 559 bytes .../app_context/public_key_hash_2.png | Bin 0 -> 569 bytes .../sign_1_0/app_context/chain_id.png | Bin 0 -> 320 bytes .../sign_1_0/app_context/high_watermark.png | Bin 0 -> 400 bytes .../sign_1_0/app_context/public_key_hash.png | Bin 0 -> 792 bytes .../sign_2_0/app_context/chain_id.png | Bin 0 -> 320 bytes .../sign_2_0/app_context/high_watermark.png | Bin 0 -> 413 bytes .../sign_2_0/app_context/public_key_hash.png | Bin 0 -> 792 bytes .../sign_1_0/app_context/chain_id.png | Bin 0 -> 320 bytes .../sign_1_0/app_context/high_watermark.png | Bin 0 -> 400 bytes .../sign_1_0/app_context/public_key_hash.png | Bin 0 -> 792 bytes .../sign_2_0/app_context/chain_id.png | Bin 0 -> 320 bytes .../sign_2_0/app_context/high_watermark.png | Bin 0 -> 413 bytes .../sign_2_0/app_context/public_key_hash.png | Bin 0 -> 792 bytes .../sign_1_0/app_context/app_context.png | Bin 0 -> 14491 bytes .../sign_2_0/app_context/app_context.png | Bin 0 -> 14624 bytes test/python/test_instructions.py | 65 +++++++++++++++++- 23 files changed, 63 insertions(+), 2 deletions(-) create mode 100644 test/python/snapshots/nanos/test_sign_when_no_chain_setup/sign_1_0/app_context/chain_id.png create mode 100644 test/python/snapshots/nanos/test_sign_when_no_chain_setup/sign_1_0/app_context/high_watermark.png create mode 100644 test/python/snapshots/nanos/test_sign_when_no_chain_setup/sign_1_0/app_context/public_key_hash_1.png create mode 100644 test/python/snapshots/nanos/test_sign_when_no_chain_setup/sign_1_0/app_context/public_key_hash_2.png create mode 100644 test/python/snapshots/nanos/test_sign_when_no_chain_setup/sign_2_0/app_context/chain_id.png create mode 100644 test/python/snapshots/nanos/test_sign_when_no_chain_setup/sign_2_0/app_context/high_watermark.png create mode 100644 test/python/snapshots/nanos/test_sign_when_no_chain_setup/sign_2_0/app_context/public_key_hash_1.png create mode 100644 test/python/snapshots/nanos/test_sign_when_no_chain_setup/sign_2_0/app_context/public_key_hash_2.png create mode 100644 test/python/snapshots/nanosp/test_sign_when_no_chain_setup/sign_1_0/app_context/chain_id.png create mode 100644 test/python/snapshots/nanosp/test_sign_when_no_chain_setup/sign_1_0/app_context/high_watermark.png create mode 100644 test/python/snapshots/nanosp/test_sign_when_no_chain_setup/sign_1_0/app_context/public_key_hash.png create mode 100644 test/python/snapshots/nanosp/test_sign_when_no_chain_setup/sign_2_0/app_context/chain_id.png create mode 100644 test/python/snapshots/nanosp/test_sign_when_no_chain_setup/sign_2_0/app_context/high_watermark.png create mode 100644 test/python/snapshots/nanosp/test_sign_when_no_chain_setup/sign_2_0/app_context/public_key_hash.png create mode 100644 test/python/snapshots/nanox/test_sign_when_no_chain_setup/sign_1_0/app_context/chain_id.png create mode 100644 test/python/snapshots/nanox/test_sign_when_no_chain_setup/sign_1_0/app_context/high_watermark.png create mode 100644 test/python/snapshots/nanox/test_sign_when_no_chain_setup/sign_1_0/app_context/public_key_hash.png create mode 100644 test/python/snapshots/nanox/test_sign_when_no_chain_setup/sign_2_0/app_context/chain_id.png create mode 100644 test/python/snapshots/nanox/test_sign_when_no_chain_setup/sign_2_0/app_context/high_watermark.png create mode 100644 test/python/snapshots/nanox/test_sign_when_no_chain_setup/sign_2_0/app_context/public_key_hash.png create mode 100644 test/python/snapshots/stax/test_sign_when_no_chain_setup/sign_1_0/app_context/app_context.png create mode 100644 test/python/snapshots/stax/test_sign_when_no_chain_setup/sign_2_0/app_context/app_context.png diff --git a/test/python/snapshots/nanos/test_sign_when_no_chain_setup/sign_1_0/app_context/chain_id.png b/test/python/snapshots/nanos/test_sign_when_no_chain_setup/sign_1_0/app_context/chain_id.png new file mode 100644 index 0000000000000000000000000000000000000000..a13210c52a6eb3a2f15d18a824724d6551fb962e GIT binary patch literal 285 zcmV+&0pk9NP)PW&?q5fLd4OA%{Crx26D00000NkvXXu0mjfpvrS# literal 0 HcmV?d00001 diff --git a/test/python/snapshots/nanos/test_sign_when_no_chain_setup/sign_1_0/app_context/high_watermark.png b/test/python/snapshots/nanos/test_sign_when_no_chain_setup/sign_1_0/app_context/high_watermark.png new file mode 100644 index 0000000000000000000000000000000000000000..0cccb5b4aca404479c52128b4de8509cf54e81ad GIT binary patch literal 345 zcmV-f0jBFBFgn0000OW#8l?t5=%T9_<@124d~~ zV{1-eSvy;aL*2Kk!B}B>`MP_^A!7kzl~;8tt!1^+w`jR6ifxbo)H|t6g&0zzC_lNr z`GchSTgLQQJT?@qHGL_mQfX_q+Dumfn;@<TY@DXU9;J3hxK6|hAfrW4%i2li5nqu9DktByTf*CD4BRg+5Fk?>`wiz7 zc0zqELIe<$n}G(Agk>Q>f%~u($}Teh1~Ym0+9ZUPwZNP)>XbRG!X z0Sze|9qs3pEGd z#JP8&v*W*!Z$@<}Yu21djtt#Iddtii=yLPA+th7KH^;}M_dTyb+QG#Q2<)6$1LPK2_Im(> z4JPzcz^K)yWiB61RU{j_#xF5>X(DU?{Zbl+SOMnB_0GeoIm9O8g`thJ?3i7^3NZ0X xm=`p`;m|lbzi;A@4>E-`TqAi|C=?18#RJ!@m~(NYZ)5-f002ovPDHLkV1fe>`k?>- literal 0 HcmV?d00001 diff --git a/test/python/snapshots/nanos/test_sign_when_no_chain_setup/sign_1_0/app_context/public_key_hash_2.png b/test/python/snapshots/nanos/test_sign_when_no_chain_setup/sign_1_0/app_context/public_key_hash_2.png new file mode 100644 index 0000000000000000000000000000000000000000..a30fbd958349d4762e483737696ec94262127b42 GIT binary patch literal 569 zcmV-90>=G`P)sI5;qIy?%dHPC#^tSD6_D zcqN!KcR`Iqq{!7aFOYGhp;aOlZ?=1O0#piEB@Fnga+o$fzV-hRiDHQ`Y?8THmCTm4 z36WnK08E;R)&y8kvr@pdlqfMkc@9)P>O&`^97Lck%gG$8kWY*Nmw;tYhib8_A{DU% z8k!?(o&F}ZTmn{}N|}QpyQ`I_AqQB*ukh*Hehp#{@M=$GAUBd29sSVt4!}JRFeP`} zVoT?MVP;@8NL8K1i3A;iRNIo0F|F%lEH-jfTdYx@?te+E&v`!o5P$2 zbtq^F7DHXU9XVpOHU-94#etnUg=jIE7}7Uk(!(p8i~~0H{xYM(xn8&5-vgb1ynzMh zDAMB%mPeZuuRQ5*kOf}LyfTzKy2sJW2BiZxmEvix;JS)RPVjm#(4By{+?=JK0PPW&?q5fLd4OA%{Crx26D00000NkvXXu0mjfpvrS# literal 0 HcmV?d00001 diff --git a/test/python/snapshots/nanos/test_sign_when_no_chain_setup/sign_2_0/app_context/high_watermark.png b/test/python/snapshots/nanos/test_sign_when_no_chain_setup/sign_2_0/app_context/high_watermark.png new file mode 100644 index 0000000000000000000000000000000000000000..b117e76a7d4f6a1ccfb2a4c9f48a01ace58205a6 GIT binary patch literal 354 zcmV-o0iFJdP)&;r~Q1>lq&{vqd{JXahTqYbOGHZ3>)`D8+UA4@UYTfwBd?zzg!G|+Y@GImO ze~>nRxliL{Tv4@FY%3EgGj;7&o9PM=6QnCe`?ouA#j@Sp?;nCVJVdmkMmAB}$+DdW z{WoFGvR3q4jMH@3t)$Kf^?0lRGFk+wsC~-Z(w66es#Dvkw}h`z7<^q< z#0mAYC?0@Q9tIkC;ueJfIqt(IZUPwZNP)>XbRG!X z0Sze|9qs3pEGd z#JP8&v*W*!Z$@<}Yu21djtt#Iddtii=yLPA+th7KH^;}M_dTyb+QG#Q2<)6$1LPK2_Im(> z4JPzcz^K)yWiB61RU{j_#xF5>X(DU?{Zbl+SOMnB_0GeoIm9O8g`thJ?3i7^3NZ0X xm=`p`;m|lbzi;A@4>E-`TqAi|C=?18#RJ!@m~(NYZ)5-f002ovPDHLkV1fe>`k?>- literal 0 HcmV?d00001 diff --git a/test/python/snapshots/nanos/test_sign_when_no_chain_setup/sign_2_0/app_context/public_key_hash_2.png b/test/python/snapshots/nanos/test_sign_when_no_chain_setup/sign_2_0/app_context/public_key_hash_2.png new file mode 100644 index 0000000000000000000000000000000000000000..a30fbd958349d4762e483737696ec94262127b42 GIT binary patch literal 569 zcmV-90>=G`P)sI5;qIy?%dHPC#^tSD6_D zcqN!KcR`Iqq{!7aFOYGhp;aOlZ?=1O0#piEB@Fnga+o$fzV-hRiDHQ`Y?8THmCTm4 z36WnK08E;R)&y8kvr@pdlqfMkc@9)P>O&`^97Lck%gG$8kWY*Nmw;tYhib8_A{DU% z8k!?(o&F}ZTmn{}N|}QpyQ`I_AqQB*ukh*Hehp#{@M=$GAUBd29sSVt4!}JRFeP`} zVoT?MVP;@8NL8K1i3A;iRNIo0F|F%lEH-jfTdYx@?te+E&v`!o5P$2 zbtq^F7DHXU9XVpOHU-94#etnUg=jIE7}7Uk(!(p8i~~0H{xYM(xn8&5-vgb1ynzMh zDAMB%mPeZuuRQ5*kOf}LyfTzKy2sJW2BiZxmEvix;JS)RPVjm#(4By{+?=JK0P&a_tk zVP)OGo1bRj{c3gxYsG@{V>iSepDK#pAC;|{`ZYvjemeVyS)pvF`=4%;SRB@@-1K{D zitL6>)4#Y(Dm}0w-*lq=hvh=z52TdD7QBCX_Dt?^R(1x459<~@XZ-%nk0VU`afH$j z3BA?xzHems-W~Z*Zu!i%G|v~SmCiMNOOdb1^SaD9`Pa|zX+dkP6^fR}Cw%y+^6$<1 z>n!!%cRw^8x7GjGo#P^5|3b3!+ltfI6k1=ucbfRO`~JfXOT>YJ00sZfm|N6!$?~jV QNe78|y85}Sb4q9e0LMg&z5oCK literal 0 HcmV?d00001 diff --git a/test/python/snapshots/nanosp/test_sign_when_no_chain_setup/sign_1_0/app_context/high_watermark.png b/test/python/snapshots/nanosp/test_sign_when_no_chain_setup/sign_1_0/app_context/high_watermark.png new file mode 100644 index 0000000000000000000000000000000000000000..a970fc01303e21c32f0db20b1130eeeee3e1d660 GIT binary patch literal 400 zcmeAS@N?(olHy`uVBq!ia0vp^4M6O`!2~2@x4h6`U||>c0$z4^E>BgPkk5s z(CX}&Nl{{|hqM01JKkC=TlKDR?~9=2wRJ1LHO!BT{>z`Z_G!er*?Bi&*6s9D<|?QW zwOem2F;}T-%L>~+5ff)!(WyKgd-%)jl$`?N21)D+i~mh8;QZ{$$l$Q_Om0{Awa4fF z%!)kspFJsZcC7RL^8Q&R*@DEc;OCdW5JEglf*RU;#An+5(`+ce z_;#QI`M%yBC>%@-VHmwD@_i>5K9~0lh8=r0;jgCA{N(+B7XI178#7L3brB>*fD~hy zto_%QUMQ53gk5&t2P}991-?_qtzmKXWGr6@Oxb#yVS(di1pEWz*%g2<95W}zuYvgU*JZY1Dj{oH8P7V|Aowu_BM5TIvE=?D~Ta7t|p|2wcy@$cQn^o`|r^p zd)O7=g9w*x?`Am6h1p@iG4$dxTPGL<27>9e@GnO%?!v1#6yc#;xdfS(ZZ^)PNfTfQ z5^}EgmHm+W=0JEJ*o8!8kYvrlQG9xl8p@oDho`jgu`BF_)sVRgE-rk;U(ZODsxZ5jQ8>-7S=z!P57*L;>c9Klj}T% zi3uRT4y(!+zvvda@Km?UI?DU+aHlf!%Cs0VzYV=jNZB0Gcdw!dbK9$U%Z07~Q@;(p z=mVR-mrez|^ZJNk?!&AsX)|RzCMB>#J6jfm6|j7e0#(E4mp-|8bYmY%s*HyGz3&a_tk zVP)OGo1bRj{c3gxYsG@{V>iSepDK#pAC;|{`ZYvjemeVyS)pvF`=4%;SRB@@-1K{D zitL6>)4#Y(Dm}0w-*lq=hvh=z52TdD7QBCX_Dt?^R(1x459<~@XZ-%nk0VU`afH$j z3BA?xzHems-W~Z*Zu!i%G|v~SmCiMNOOdb1^SaD9`Pa|zX+dkP6^fR}Cw%y+^6$<1 z>n!!%cRw^8x7GjGo#P^5|3b3!+ltfI6k1=ucbfRO`~JfXOT>YJ00sZfm|N6!$?~jV QNe78|y85}Sb4q9e0LMg&z5oCK literal 0 HcmV?d00001 diff --git a/test/python/snapshots/nanosp/test_sign_when_no_chain_setup/sign_2_0/app_context/high_watermark.png b/test/python/snapshots/nanosp/test_sign_when_no_chain_setup/sign_2_0/app_context/high_watermark.png new file mode 100644 index 0000000000000000000000000000000000000000..3a5efb2f7b5ec6498d48ea403dd988ff611863c0 GIT binary patch literal 413 zcmeAS@N?(olHy`uVBq!ia0vp^4M6O`!2~2@x4h6`U|>w~ba4!+nDh2VbkSi29*4k7 zC;hhkSKT8IetS2Orl@_Tiys?L3Qx7MXtlwGm2owcs?&yM^IPhZ(67nPXB_Op`ZlKOVf zi2u3jnry(PFHR|i9jXs!T|Y5B_z`Z_G!er*?Bi&*6s9D=6bN7 zYyEXen>k8VTb!%^Y*aE`8Tn~iHP7YpNl%?(4s^&i^!$oHq&R*@DEc;OCdW5JEglf*RU;#An+5(`+ce z_;#QI`M%yBC>%@-VHmwD@_i>5K9~0lh8=r0;jgCA{N(+B7XI178#7L3brB>*fD~hy zto_%QUMQ53gk5&t2P}991-?_qtzmKXWGr6@Oxb#yVS(di1pEWz*%g2<95W}zuYvgU*JZY1Dj{oH8P7V|Aowu_BM5TIvE=?D~Ta7t|p|2wcy@$cQn^o`|r^p zd)O7=g9w*x?`Am6h1p@iG4$dxTPGL<27>9e@GnO%?!v1#6yc#;xdfS(ZZ^)PNfTfQ z5^}EgmHm+W=0JEJ*o8!8kYvrlQG9xl8p@oDho`jgu`BF_)sVRgE-rk;U(ZODsxZ5jQ8>-7S=z!P57*L;>c9Klj}T% zi3uRT4y(!+zvvda@Km?UI?DU+aHlf!%Cs0VzYV=jNZB0Gcdw!dbK9$U%Z07~Q@;(p z=mVR-mrez|^ZJNk?!&AsX)|RzCMB>#J6jfm6|j7e0#(E4mp-|8bYmY%s*HyGz3&a_tk zVP)OGo1bRj{c3gxYsG@{V>iSepDK#pAC;|{`ZYvjemeVyS)pvF`=4%;SRB@@-1K{D zitL6>)4#Y(Dm}0w-*lq=hvh=z52TdD7QBCX_Dt?^R(1x459<~@XZ-%nk0VU`afH$j z3BA?xzHems-W~Z*Zu!i%G|v~SmCiMNOOdb1^SaD9`Pa|zX+dkP6^fR}Cw%y+^6$<1 z>n!!%cRw^8x7GjGo#P^5|3b3!+ltfI6k1=ucbfRO`~JfXOT>YJ00sZfm|N6!$?~jV QNe78|y85}Sb4q9e0LMg&z5oCK literal 0 HcmV?d00001 diff --git a/test/python/snapshots/nanox/test_sign_when_no_chain_setup/sign_1_0/app_context/high_watermark.png b/test/python/snapshots/nanox/test_sign_when_no_chain_setup/sign_1_0/app_context/high_watermark.png new file mode 100644 index 0000000000000000000000000000000000000000..a970fc01303e21c32f0db20b1130eeeee3e1d660 GIT binary patch literal 400 zcmeAS@N?(olHy`uVBq!ia0vp^4M6O`!2~2@x4h6`U||>c0$z4^E>BgPkk5s z(CX}&Nl{{|hqM01JKkC=TlKDR?~9=2wRJ1LHO!BT{>z`Z_G!er*?Bi&*6s9D<|?QW zwOem2F;}T-%L>~+5ff)!(WyKgd-%)jl$`?N21)D+i~mh8;QZ{$$l$Q_Om0{Awa4fF z%!)kspFJsZcC7RL^8Q&R*@DEc;OCdW5JEglf*RU;#An+5(`+ce z_;#QI`M%yBC>%@-VHmwD@_i>5K9~0lh8=r0;jgCA{N(+B7XI178#7L3brB>*fD~hy zto_%QUMQ53gk5&t2P}991-?_qtzmKXWGr6@Oxb#yVS(di1pEWz*%g2<95W}zuYvgU*JZY1Dj{oH8P7V|Aowu_BM5TIvE=?D~Ta7t|p|2wcy@$cQn^o`|r^p zd)O7=g9w*x?`Am6h1p@iG4$dxTPGL<27>9e@GnO%?!v1#6yc#;xdfS(ZZ^)PNfTfQ z5^}EgmHm+W=0JEJ*o8!8kYvrlQG9xl8p@oDho`jgu`BF_)sVRgE-rk;U(ZODsxZ5jQ8>-7S=z!P57*L;>c9Klj}T% zi3uRT4y(!+zvvda@Km?UI?DU+aHlf!%Cs0VzYV=jNZB0Gcdw!dbK9$U%Z07~Q@;(p z=mVR-mrez|^ZJNk?!&AsX)|RzCMB>#J6jfm6|j7e0#(E4mp-|8bYmY%s*HyGz3&a_tk zVP)OGo1bRj{c3gxYsG@{V>iSepDK#pAC;|{`ZYvjemeVyS)pvF`=4%;SRB@@-1K{D zitL6>)4#Y(Dm}0w-*lq=hvh=z52TdD7QBCX_Dt?^R(1x459<~@XZ-%nk0VU`afH$j z3BA?xzHems-W~Z*Zu!i%G|v~SmCiMNOOdb1^SaD9`Pa|zX+dkP6^fR}Cw%y+^6$<1 z>n!!%cRw^8x7GjGo#P^5|3b3!+ltfI6k1=ucbfRO`~JfXOT>YJ00sZfm|N6!$?~jV QNe78|y85}Sb4q9e0LMg&z5oCK literal 0 HcmV?d00001 diff --git a/test/python/snapshots/nanox/test_sign_when_no_chain_setup/sign_2_0/app_context/high_watermark.png b/test/python/snapshots/nanox/test_sign_when_no_chain_setup/sign_2_0/app_context/high_watermark.png new file mode 100644 index 0000000000000000000000000000000000000000..3a5efb2f7b5ec6498d48ea403dd988ff611863c0 GIT binary patch literal 413 zcmeAS@N?(olHy`uVBq!ia0vp^4M6O`!2~2@x4h6`U|>w~ba4!+nDh2VbkSi29*4k7 zC;hhkSKT8IetS2Orl@_Tiys?L3Qx7MXtlwGm2owcs?&yM^IPhZ(67nPXB_Op`ZlKOVf zi2u3jnry(PFHR|i9jXs!T|Y5B_z`Z_G!er*?Bi&*6s9D=6bN7 zYyEXen>k8VTb!%^Y*aE`8Tn~iHP7YpNl%?(4s^&i^!$oHq&R*@DEc;OCdW5JEglf*RU;#An+5(`+ce z_;#QI`M%yBC>%@-VHmwD@_i>5K9~0lh8=r0;jgCA{N(+B7XI178#7L3brB>*fD~hy zto_%QUM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jvxJ? zhQ4QAd#h{_IsMNJM^!j3aFlUt2;CfK7e|XO#O*4ZDs+JmOI%k0halNCx_R$+{<_jX z*HHS+*IRi z7j^-Y!=_7L-{*KTWAo)=sY?hYi@W^jezvf=$|=2GMnS5XfK4A<--Gjp2fU!dP&Qu{ z-LS=(p~{m%cWIVGCFQj)c*uDTIAe}An}mN-f%P>>L=@^^e|8|Dwr+Ucu{VZ6zp zA7aj*gA779?KFT}jiU-L+a89ydBC~lyi}jnvlH@}alJy%d(D@#hI)Fn(TK^vhfLFS zLRfh$#JY!d=Q9_UxTA%Yjs6+|=xhDu!ztuy)mw%!=U7j6ytXooihyJc945O$i6-15{(9m61cNl}x$ggL zGKsBk`1b$VWK@~FxFc6z0t`f3^f$y_{crR?J3e#s^y^{ZwJs$~XLxV&n0So5uE#%v z6-BqH9SmkHXd}KRq1J4X*d|SWEwn z?R4MP?!!iO6Q~5gBmLhXc6M#fiz_Vusbe;8Mf~?zk&=w#u;jg9W8((;Y2SaYAv@I5 z7-;h(!S&}6JE!)4Pt-sqDd~}D+o?02+|TRjqK%)OtBL>S5#LYN+#;A#_0pWGQUBeD ze}hZdb(d3uND4J>^d{qd|GBYgyW{YXxBc|3Wya)5#Zn+&8LM>}Cn$*rjh&@(fM_jx z_x+a)Bi9+B8FmrV?tVaI&qt(h`^2lWr-jciyvG;$X9kTIsgXi*4!-I_atxebl&JSj zslf&0=0y_I=p*LeD|>_Bo_scWgrRLl)ywAA(Yuh9AMeUP4&LWhr=9-b;QXTeq>6sR zPCEWOCt2CF42K2!&axIK2!b}j$%sfF8&{yI&~}v>t;jQhQ8JM1VlQn|AdwY#x5%6X nvCJfSHXQy>zQpjm<-F@7*_rRJOo5jUS-=K&Zj@hle*C`x%co^6 literal 0 HcmV?d00001 diff --git a/test/python/snapshots/stax/test_sign_when_no_chain_setup/sign_2_0/app_context/app_context.png b/test/python/snapshots/stax/test_sign_when_no_chain_setup/sign_2_0/app_context/app_context.png new file mode 100644 index 0000000000000000000000000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}E#?v4WY15!)2YoP127<&#Q?Y&7MdqIt1mM#Wi7RX zxDz@M)>Cg?joz`Tt%|-fNhbnBecUJ7JPYiZ8m717OYrFP@Ik(#@F|?AnVRLP_TX!6 zK(K7D7VbRRxf!%~Z>iE@b2&!}aiV>IOmy&@q;Vco)L zdFWR5c+WJxk5&jLJj4o+fz3fbQY`$eLhRL$-rZHn-5~t~U+eN$z{{ma_X)h|s~<=# zOScZTCqvd3(7<trI=AZQCyIFV%ni5GjG~o)u1(^Tgg>mF_i~2tC_VQ{Qh^DkuU9y0)HTL z-0Rru6{))xE{XR2cV&j^oc(*9U8zMc=`4}+JV7`M*=u|NS0^ aQlqSs_tTpYd%!;*8FaM`?;`HlzxZ$EMz0?L literal 0 HcmV?d00001 diff --git a/test/python/test_instructions.py b/test/python/test_instructions.py index 50653a95..8746c631 100644 --- a/test/python/test_instructions.py +++ b/test/python/test_instructions.py @@ -177,7 +177,7 @@ def test_setup_app_context(account: Account, tezos_navigator: TezosNavigator) -> """Test the SETUP instruction.""" snap_path = Path(f"{account}") - main_chain_id = "NetXH12AexHqTQa" + main_chain_id = "NetXH12AexHqTQa" # Chain = 1 main_hwm = Hwm(1) test_hwm = Hwm(2) @@ -588,7 +588,7 @@ def test_sign_level_authorized( def test_sign_not_authorized_key( client: TezosClient, tezos_navigator: TezosNavigator) -> None: - """Check that signing with a key different from the authorized key is not authorized..""" + """Check that signing with a key different from the authorized key is not authorized.""" account_1 = DEFAULT_ACCOUNT account_2 = DEFAULT_ACCOUNT_2 @@ -608,6 +608,67 @@ def test_sign_not_authorized_key( client.sign_message(account_2, attestation) +def test_sign_when_no_chain_setup( + client: TezosClient, + tezos_navigator: TezosNavigator) -> None: + """Check that signing when no chain has been setup change main HWM.""" + + account = DEFAULT_ACCOUNT + + tezos_navigator.setup_app_context( + account, + DEFAULT_CHAIN_ID, # Chain = 0 + main_hwm=Hwm(0), + test_hwm=Hwm(0) + ) + + attestation = build_attestation( + 1, 0, + DEFAULT_CHAIN_ID # Chain = 0 + ) + + client.sign_message(account, attestation) + + tezos_navigator.check_app_context( + account, + chain_id=DEFAULT_CHAIN_ID, + main_hwm=Hwm(1, 0), + test_hwm=Hwm(0, 0), + snap_path=Path("sign_1_0") + ) + + attestation = build_attestation( + 2, 0, + "NetXH12AexHqTQa" # Chain = 1 + ) + + client.sign_message(account, attestation) + + tezos_navigator.check_app_context( + account, + chain_id=DEFAULT_CHAIN_ID, + main_hwm=Hwm(2, 0), + test_hwm=Hwm(0, 0), + snap_path=Path("sign_2_0") + ) + + attestation = build_attestation( + 2, 0, + "NetXH12Af5mrXhq" # Chain = 2 + ) + + with StatusCode.WRONG_VALUES.expected(): + client.sign_message(account, attestation) + + tezos_navigator.check_app_context( + account, + chain_id=DEFAULT_CHAIN_ID, + main_hwm=Hwm(2, 0), + test_hwm=Hwm(0, 0), + snap_path=Path("sign_2_0") + ) + + # Data generated by the old application itself HMAC_TEST_SET = [ (DEFAULT_ACCOUNT,