Skip to content

Commit

Permalink
update zemu tests
Browse files Browse the repository at this point in the history
  • Loading branch information
abenso committed Jan 10, 2025
1 parent 0242da6 commit 8e9df74
Show file tree
Hide file tree
Showing 238 changed files with 25 additions and 7 deletions.
Binary file added tests_zemu/snapshots/fl-sign_Delegate/00001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added tests_zemu/snapshots/fl-sign_Delegate/00002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added tests_zemu/snapshots/fl-sign_Delegate/00003.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added tests_zemu/snapshots/fl-sign_Delegate/00004.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed tests_zemu/snapshots/fl-sign_Swap/00000.png
Diff not rendered.
Binary file removed tests_zemu/snapshots/fl-sign_Swap/00001.png
Diff not rendered.
Binary file removed tests_zemu/snapshots/fl-sign_Swap/00002.png
Diff not rendered.
Binary file added tests_zemu/snapshots/fl-sign_Undelegate/00000.png
Binary file added tests_zemu/snapshots/fl-sign_Undelegate/00001.png
Binary file added tests_zemu/snapshots/fl-sign_Undelegate/00002.png
Binary file added tests_zemu/snapshots/fl-sign_Undelegate/00003.png
Binary file added tests_zemu/snapshots/fl-sign_Undelegate/00004.png
Binary file added tests_zemu/snapshots/fl-sign_Undelegate/00005.png
Binary file added tests_zemu/snapshots/sp-sign_Delegate/00001.png
Binary file added tests_zemu/snapshots/sp-sign_Delegate/00002.png
Binary file added tests_zemu/snapshots/sp-sign_Delegate/00003.png
Binary file added tests_zemu/snapshots/sp-sign_Delegate/00004.png
Binary file added tests_zemu/snapshots/sp-sign_Delegate/00005.png
Binary file added tests_zemu/snapshots/sp-sign_Delegate/00006.png
Binary file added tests_zemu/snapshots/sp-sign_Delegate/00007.png
Binary file added tests_zemu/snapshots/sp-sign_Delegate/00008.png
Binary file added tests_zemu/snapshots/sp-sign_Delegate/00009.png
Binary file added tests_zemu/snapshots/sp-sign_Delegate/00010.png
Binary file added tests_zemu/snapshots/sp-sign_Delegate/00011.png
Binary file added tests_zemu/snapshots/sp-sign_Delegate/00012.png
Binary file added tests_zemu/snapshots/sp-sign_DelegatorVote/00001.png
Binary file added tests_zemu/snapshots/sp-sign_DelegatorVote/00002.png
Binary file added tests_zemu/snapshots/sp-sign_DelegatorVote/00004.png
Binary file added tests_zemu/snapshots/sp-sign_DelegatorVote/00005.png
Binary file added tests_zemu/snapshots/sp-sign_DelegatorVote/00006.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed tests_zemu/snapshots/sp-sign_Swap/00002.png
Diff not rendered.
Binary file removed tests_zemu/snapshots/sp-sign_Swap/00003.png
Diff not rendered.
Binary file removed tests_zemu/snapshots/sp-sign_Swap/00004.png
Diff not rendered.
Binary file added tests_zemu/snapshots/sp-sign_Undelegate/00002.png
Binary file added tests_zemu/snapshots/sp-sign_Undelegate/00003.png
Binary file added tests_zemu/snapshots/sp-sign_Undelegate/00004.png
Binary file added tests_zemu/snapshots/sp-sign_Undelegate/00005.png
Binary file added tests_zemu/snapshots/sp-sign_Undelegate/00006.png
Binary file added tests_zemu/snapshots/sp-sign_Undelegate/00007.png
Binary file added tests_zemu/snapshots/sp-sign_Undelegate/00008.png
Binary file added tests_zemu/snapshots/sp-sign_Undelegate/00009.png
Binary file added tests_zemu/snapshots/st-sign_Delegate/00000.png
Binary file added tests_zemu/snapshots/st-sign_Delegate/00001.png
Binary file added tests_zemu/snapshots/st-sign_Delegate/00002.png
Binary file added tests_zemu/snapshots/st-sign_Delegate/00003.png
Binary file added tests_zemu/snapshots/st-sign_Delegate/00004.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed tests_zemu/snapshots/st-sign_Swap/00000.png
Diff not rendered.
Binary file removed tests_zemu/snapshots/st-sign_Swap/00001.png
Diff not rendered.
Binary file removed tests_zemu/snapshots/st-sign_Swap/00002.png
Diff not rendered.
Binary file added tests_zemu/snapshots/st-sign_Undelegate/00000.png
Binary file added tests_zemu/snapshots/st-sign_Undelegate/00002.png
Binary file added tests_zemu/snapshots/st-sign_Undelegate/00003.png
Binary file added tests_zemu/snapshots/st-sign_Undelegate/00004.png
Binary file added tests_zemu/snapshots/st-sign_Undelegate/00005.png
File renamed without changes
Binary file added tests_zemu/snapshots/x-sign_Delegate/00001.png
Binary file added tests_zemu/snapshots/x-sign_Delegate/00002.png
Binary file added tests_zemu/snapshots/x-sign_Delegate/00003.png
Binary file added tests_zemu/snapshots/x-sign_Delegate/00004.png
Binary file added tests_zemu/snapshots/x-sign_Delegate/00005.png
Binary file added tests_zemu/snapshots/x-sign_Delegate/00006.png
Binary file added tests_zemu/snapshots/x-sign_Delegate/00007.png
Binary file added tests_zemu/snapshots/x-sign_Delegate/00008.png
Binary file added tests_zemu/snapshots/x-sign_Delegate/00009.png
Binary file added tests_zemu/snapshots/x-sign_Delegate/00010.png
Binary file added tests_zemu/snapshots/x-sign_Delegate/00011.png
Binary file added tests_zemu/snapshots/x-sign_Delegate/00012.png
File renamed without changes
File renamed without changes
Binary file added tests_zemu/snapshots/x-sign_DelegatorVote/00000.png
Binary file added tests_zemu/snapshots/x-sign_DelegatorVote/00001.png
Binary file added tests_zemu/snapshots/x-sign_DelegatorVote/00002.png
Binary file added tests_zemu/snapshots/x-sign_DelegatorVote/00003.png
Binary file added tests_zemu/snapshots/x-sign_DelegatorVote/00004.png
Binary file added tests_zemu/snapshots/x-sign_DelegatorVote/00005.png
Binary file added tests_zemu/snapshots/x-sign_DelegatorVote/00006.png
Binary file added tests_zemu/snapshots/x-sign_DelegatorVote/00007.png
Binary file added tests_zemu/snapshots/x-sign_DelegatorVote/00008.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed tests_zemu/snapshots/x-sign_Swap/00001.png
Diff not rendered.
Binary file removed tests_zemu/snapshots/x-sign_Swap/00002.png
Diff not rendered.
Binary file removed tests_zemu/snapshots/x-sign_Swap/00003.png
Diff not rendered.
Binary file removed tests_zemu/snapshots/x-sign_Swap/00004.png
Diff not rendered.
Binary file added tests_zemu/snapshots/x-sign_Undelegate/00000.png
Binary file added tests_zemu/snapshots/x-sign_Undelegate/00002.png
Binary file added tests_zemu/snapshots/x-sign_Undelegate/00003.png
Binary file added tests_zemu/snapshots/x-sign_Undelegate/00004.png
Binary file added tests_zemu/snapshots/x-sign_Undelegate/00005.png
Binary file added tests_zemu/snapshots/x-sign_Undelegate/00006.png
Binary file added tests_zemu/snapshots/x-sign_Undelegate/00007.png
Binary file added tests_zemu/snapshots/x-sign_Undelegate/00008.png
Binary file added tests_zemu/snapshots/x-sign_Undelegate/00009.png
Binary file added tests_zemu/snapshots/x-sign_Undelegate/00010.png
Binary file added tests_zemu/snapshots/x-sign_Undelegate/00011.png
32 changes: 25 additions & 7 deletions tests_zemu/tests/testscases/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,32 @@ export const ACTIONS_TESTCASES: TestCase[] = [
// },
{
idx: 3,
name: "Ics20_Withdrawal",
name: "Ics20Withdrawal",
blob: "0aa802c20ca4020a0a089ac1a69ed6899eb20a12170a156555696136517031326662333046327071304e67411a8f0170656e756d62726131357a376c717a30667578716c3363746168717a6a687365726d6b74756c327a376e716b3074673364787876656b793076327574706130373474377174766e6a3036796d33756c6771766a6c356b6a7271686c32636464736866306a337a79666e30746c733974397736677975616e363263376e61613239747a3238353430323970716563776d22520a507d1ae84746eeca2356ab7d18a7597b3b0e3a91fdb701b3003df15e90d2f6b2775d41893e37ccd1afd4d8cd170838f2f3ff69a99baa1384cca876c0ed7ff7771956f46197af3fc6f9b10aa671ff53e46e2a0c08f6baf1db0310fe97bafb013a096368616e6e656c2d30123808e188091224796469667779697573666f6b737777627166656e6b2d33323234363639343633383737331a0c0a0a08fae384879bc48c890a2a91030aec020a520a50738391f16c9d87ecf88aaa28f6dc7cc4eb413594adfb83ae85fb2fd5dd6c9709c3899b3a15f6a5a4dd8fdd5c10d0ea84dccaa02f20bb5476e1646b18fd54f657a8b1906f67995f40834f9c44440f22e01295025820452032386a31547520204868303147652033554c52375a532020383575782079492072202063597165202020206168346631583079306e6c3255453737313020544774506b5a514766766e4f4678314f2020346920393768207056204f203120544c6f697659706e794630774a506b3733556f3573336e205a76652078623774613136642064207738734d436a2053207730314a6b37204962452078616d2020654a392042205455203066566a634e204437554d684e4b4d71717a2036656d492046376c457431546e376578674f4f71546667387050386c204e203352333139764774706b4820455520344320754b30306f4170332020204d6f35204634353820383774356f58396562204f4520644f5553201220dd9b6fc0592cbdc2d6680301d529a5448f72b0ba63451979351d7d2ada963950",
expected_effect_hash: "462717be27e0ecf1a4d9d52537fb3729d4328f1867a97fa7c374a6c02a44ee58ca0acb2f2702693946e5d4dfbd6c014238231b27556938bb2f0c2ffd2b3e3d0b"
},
// {
// idx: 4,
// name: "Ics20_Withdrawal_Output_Output_Swap",
// blob: "0ab202c20cae020a0908a3f7bf85dee4834112220a20383434336737366e68464b50415330655a4158325357325a3279686e37466d681a8f0170656e756d627261317634357632707737736334366d786c717964306472757832716a347834306b64376e6e30397475667875687835766c6e643261786b347970327a64746a713472736b34686679356135343933346e397673656c716a736a33796635366d68373966323372307839366b3078657036326c7774716a61366561723673637333646330667167647922520a50e36d2527859acb08cf24cfd2d0a33ab885a1f620ffabd8e04b55a8ec318296cc353086b43ae2464e41b1ca82e07d49e65d37a3942df18ef1e82fb82b0e1e33e27066c17c57dcb3b27d8cb8fc88674aca2a0c08eb86ef870310f4d7faa4033a096368616e6e656c2d300a9102128e020a300a0a08999ed385d8b9dbe20812220a2029ea9c2f3371f6a487e7e95c247041f4a356f983eb064e5d2b3bcf322ca96a1012520a50fc48056bc3fa38105dec3bbf85360034324a68f5f9ad7b1b5b6796f97d8279ae15308df6d619d93aab071c2ea360d09dd0f3fa4d3a8a49b9f9b208ee42e491efff1162c3525990477dfc81a681b7d7c11a20e6c8f1315f134443f8b2fbcf8eb261133e630baabc514d8d97527ea7fc5c4698222052e3247b8af144014822c6a1640d65a80d9285c22bea5fef5e5dd220ce6a76012a20b0dcd8596fa908795337c88329cc1599ac327069b48b79f64d089db5a9642d10322041ee25a60f43df71b28c8677fc19bc1e0fd41433132ffee0b9bde222cde616120a9102128e020a300a0a08d9bacf9082a1d2a80612220a2029ea9c2f3371f6a487e7e95c247041f4a356f983eb064e5d2b3bcf322ca96a1012520a500fa1c90b7b5a37c415800fffe133ff58900ddf87f2bb554f2738c51f0f1591e1b88f33afcaec891632dee4a24400335c453618299673c680b467043c271cdd71bbeb9eebc86f98e5896de26658df64181a20ade0c63b41986930e31b4944cbe0a246eabae9ac2dab3f2ce21daefa03b408f722206da3f56a8ff35a1167c9a5447974588fbce628bb0e428ca2cfcb4fcaf75d61032a20fc8e31cf4ed1ae3821db366157a27106af1bf1e93525b717caf5204dc11aec0132206348b4e143b548762d272f38ea6f6ef868e9234e987607a058e4e66238d51d060abe021abb020ad2010a480a220a2029ea9c2f3371f6a487e7e95c247041f4a356f983eb064e5d2b3bcf322ca96a1012220a2029ea9c2f3371f6a487e7e95c247041f4a356f983eb064e5d2b3bcf322ca96a1012001a0a08cab2f7869ceecc8e0d22020a002a520a50695c4366531a04c83a71e70d31ad399b6f8df14e4f581aa936c920048236096eb6ee116e1d16f71a92773093c031be6646653ea5a6d46c85f23d61ee577e2d3aad2ab3dc6f9661250457c809f8753c313220b4dbd903a787e8c3ee9e81f1dce34585f4f3e73e367fb5a20795ab1d9e85607612200cc3557010bf5d416661d60f6f101c59fb8a11e56523f1c991e90240c4b944031a20c0ca8df9502ba597ea371f4ee2b558bacc61c6e4670f2a31bd0625310d280a072220467109e81b74d93152a4f06e9e852eb008f0a01fb530e72979837f659810a400121e08b4ff38120a70656e756d6272612d311a0c0a0a08d6c6ecba9d88dda304",
// expected_effect_hash: "33e570e3d3f30d17aee23e51cc25de5d95c3a22d54861ebca7039d3480b157e9edc255f79476dfd40f68ec778d7365d2e56b11b557d7f86f40700b68f8b39996"
// },
{
idx: 4,
name: "Delegate",
blob: "0a42c2023f0a220a20bd30b041b9d37a77a957f04ef9e2c3e05e9cf867ac5d29bf279add7f3a6c0820109d111a0a08e595edf6b2d2b8ff04220a08f0a0a7c7908d91bf03121c120c727367696972696e2d3938361a0c0a0a08d4eebca3988d97d6052afa010ad5010a520a504a35e7797cc43d82a00f9d1fc30bd3a992aa468b247087ffda673d6395ab28b578116c904b8eb1cc99bf5dde68abe85e7d65e5c10f6c12f543887c9c49896266c1492a56519c4d8cf2b62340ead3af7b127f3655504445432039696d692032473530334f3936756f393557344d616b4b31625920206d4765364d20204a362039204c52374775424b6f4167355270207645347674205a2030636733335035316f72434c6b68204c3177585a6120206e32394a59205620796e77762032433579396470555549306459453671354b7a58507612208b319dacec1b2edc2def894065c6b0c8747b37c89142ee7be703ad0537b8282b",
expected_effect_hash: "7f6e91e1be24b5aeecd818f2cfbe1688ceffc0a22dbbabecc97411e35d20990a67f877cd6bfcfd197d52462393c49e7a08ccb084cd42efa242db42350c179121"
},
{
idx: 5,
name: "Undelegate",
blob: "0a47ca02440a220a20a7da1d5092a6b103602fe6272a5d1ec254154e3360ce62ed8c747efba44b70ab1a0a08abb690acb7fbb2b804220a08c8d6acd5a6babea00d2a0608aa1c10aa1c121e08ebe72a120a70656e756d6272612d311a0c0a0a08958af3b0b7b5d38d0c",
expected_effect_hash: "ed0081067149c571beb429f323e96117e7c67aeee1bb8dfc0fbfa553d1466be486003fc951ab529a101d3f7fbbb261a749fd311daddebe2de2d3e4e4d6dca15b"
},
{
idx: 6,
name: "UndelegateClaim",
blob: "0ac201d202be010a220a2050ca94ebf6bfa6ad2835722badc4bae194233172697d25e47658607b40d7931e22220a2000000000000000000000000000000000fdd2f1a9fbe76c8b4395810624dd2f1b2a0a08e2afcdbdaeb0e0fb0b32207652527988969af0622e8decfa5aaf661b2415661ef17e0868fe560af1590e033a2086b2b92c2037d47667f5707eea03b5d5796c003df35c254c18ba5d3ad321d10d422021548e600203ea70804405d6e771c75097bfc5f0712e343d03c35a24b7089c1048a8a503122608cfc61b1212622d383238343530373533303331353430341a0c0a0a08d6dd92b6aba59ca40d",
expected_effect_hash: "1bcd7ef231e7425aa462587d44677caaf5462fc108b1e28f866d1316ee62be42a662db729382f152e07a4a11469b638b489e7f74007dde040f979691af6960c9"
},
{
idx: 7,
name: "DelegatorVote",
blob: "0ab202aa01ae020888f3fcb0011084e6051a02080322a8010a300a0a08d9e3b3d398a4d2e40c12220a2029ea9c2f3371f6a487e7e95c247041f4a356f983eb064e5d2b3bcf322ca96a101220312db57827e962c06fa81a850cda4234d78b8913b90edb10bfbcdad43992df371a520a50676815834d1a4f9120bd7ad738a506eb7aeda387f0eaf13ac9f160f2abaa091f6c7875ef42854ff2c3df4eb6227fe6708c4f818b8e26c8ac8380558f863d54b652724e7925d4db5c7a73e82e92304be828ad9d04320908fff3a9ebce83cb7c3a203baa137a008a9949e23d6d145ce0a5c67bdf9ad386d97538e88a6f470bec89004220be1319b1eedb394d9a8a516b76f5ef247d85759554473e5dcd07e68e7b1431074a20b62a3d8fbba4515f1c59776ede7ad82970108794c65443d6d85c1c9bbcc5d206123c122c776c64726669677777666a6f786f74736675672d3933343338333036373235363934303734393039373736321a0c0a0a089d9d90b088a981f70b",
expected_effect_hash: "9a2e37b113746b63eb6aaf649b8f7851b697f461848303a9ee44f2c4690cb28fd817e2cae175b1cdf7f56eecfddb7b58f76e909ffd505c151eb296945f058237"
},
]

0 comments on commit 8e9df74

Please sign in to comment.