diff --git a/tests/package.json b/tests/package.json index 010af76..f53f1b5 100644 --- a/tests/package.json +++ b/tests/package.json @@ -15,7 +15,7 @@ "@ledgerhq/hw-app-eth": "^6.9.0", "@ledgerhq/hw-transport-http": "^4.74.2", "@ledgerhq/logs": "^5.50.0", - "@zondax/zemu": "0.21.1", + "@zondax/zemu": "0.22.0", "bignumber.js": "^9.0.0", "bip32-path": "^0.4.2", "core-js": "^3.7.0", diff --git a/tests/src/downgrade.test.js b/tests/src/downgrade.test.js index 158d335..3119ac6 100644 --- a/tests/src/downgrade.test.js +++ b/tests/src/downgrade.test.js @@ -12,11 +12,11 @@ const devices = [ label: "Nano S", steps: 6, // <= Define the number of steps for this test case and this device }, - // { - // name: "nanox", - // label: "Nano X", - // steps: 6, // <= Define the number of steps for this test case and this device - // }, + { + name: "nanox", + label: "Nano X", + steps: 6, // <= Define the number of steps for this test case and this device + }, ]; var contractAddrs = { "DAIx": "0x1305f6b6df9dc47159d12eb7ac2804d4a33173c2", diff --git a/tests/src/downgrade_to_eth.test.js b/tests/src/downgrade_to_eth.test.js index e1364fe..4fbcd02 100644 --- a/tests/src/downgrade_to_eth.test.js +++ b/tests/src/downgrade_to_eth.test.js @@ -11,11 +11,11 @@ const devices = [ label: "Nano S", steps: 6, // <= Define the number of steps for this test case and this device }, - // { - // name: "nanox", - // label: "Nano X", - // steps: 6, // <= Define the number of steps for this test case and this device - // }, + { + name: "nanox", + label: "Nano X", + steps: 6, // <= Define the number of steps for this test case and this device + }, ]; var contractAddrs = { "MATICx": "0x3ad736904e9e65189c3000c7dd2c8ac8bb7cd4e3", diff --git a/tests/src/edit.test.js b/tests/src/edit.test.js index 4aa7663..785d290 100644 --- a/tests/src/edit.test.js +++ b/tests/src/edit.test.js @@ -12,11 +12,11 @@ const devices = [ label: "Nano S", steps: 8, // <= Define the number of steps for this test case and this device }, - // { - // name: "nanox", - // label: "Nano X", - // steps: 6, // <= Define the number of steps for this test case and this device - // }, + { + name: "nanox", + label: "Nano X", + steps: 6, // <= Define the number of steps for this test case and this device + }, ]; var contractAddrs = { "DAIx-ETHx": "0x39255d5b0000000000000000000000006eee6060f715257b970700bc2656de21dedf074c0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000a450209a620000000000000000000000001305f6b6df9dc47159d12eb7ac2804d4a33173c20000000000000000000000009bef427fa1ff5269b824eed9415f7622b81244f500000000000000000000000000000000000000000000000000000059d39e7f100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", diff --git a/tests/src/second_start.test.js b/tests/src/second_start.test.js index 2aaaee8..446ce9b 100644 --- a/tests/src/second_start.test.js +++ b/tests/src/second_start.test.js @@ -12,11 +12,11 @@ const devices = [ label: "Nano S", steps: 8, // <= Define the number of steps for this test case and this device }, - // { - // name: "nanox", - // label: "Nano X", - // steps: 6, // <= Define the number of steps for this test case and this device - // }, + { + name: "nanox", + label: "Nano X", + steps: 6, // <= Define the number of steps for this test case and this device + }, ]; var contractAddrs = { // "DAIx-ETHx": "0x39255d5b0000000000000000000000006eee6060f715257b970700bc2656de21dedf074c0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000a450209a620000000000000000000000001305f6b6df9dc47159d12eb7ac2804d4a33173c20000000000000000000000009bef427fa1ff5269b824eed9415f7622b81244f500000000000000000000000000000000000000000000000000000059d39e7f100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", diff --git a/tests/src/start.test.js b/tests/src/start.test.js index f641cef..b9624a9 100644 --- a/tests/src/start.test.js +++ b/tests/src/start.test.js @@ -12,11 +12,11 @@ const devices = [ label: "Nano S", steps: 8, // <= Define the number of steps for this test case and this device }, - // { - // name: "nanox", - // label: "Nano X", - // steps: 6, // <= Define the number of steps for this test case and this device - // }, + { + name: "nanox", + label: "Nano X", + steps: 6, // <= Define the number of steps for this test case and this device + }, ]; var contractAddrs = { "MATICx-USDCx": "0x6ad3ca7d000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000022000000000000000000000000000000000000000000000000000000000000003e000000000000000000000000000000000000000000000000000000000000000c9000000000000000000000000b0aabba4b2783a72c52956cdef62d438eca2d7a1000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000a4acf4a6c20000000000000000000000001305f6b6df9dc47159d12eb7ac2804d4a33173c200000000000000000000000093d2d0812c9856141b080e9ef6e97c7a7b342d7f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c9000000000000000000000000b0aabba4b2783a72c52956cdef62d438eca2d7a1000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000a4acf4a6c2000000000000000000000000263026e7e53dbfdce5ae55ade22493f82892296500000000000000000000000093d2d0812c9856141b080e9ef6e97c7a7b342d7f00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c90000000000000000000000006eee6060f715257b970700bc2656de21dedf074c000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000a462fc305e0000000000000000000000003ad736904e9e65189c3000c7dd2c8ac8bb7cd4e300000000000000000000000093d2d0812c9856141b080e9ef6e97c7a7b342d7f000000000000000000000000000000000000000000000000000000b3a73cfe2000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", diff --git a/tests/src/stop.test.js b/tests/src/stop.test.js index e95f413..7be0995 100644 --- a/tests/src/stop.test.js +++ b/tests/src/stop.test.js @@ -11,11 +11,11 @@ const devices = [ label: "Nano S", steps: 6, // <= Define the number of steps for this test case and this device }, - // { - // name: "nanox", - // label: "Nano X", - // steps: 6, // <= Define the number of steps for this test case and this device - // }, + { + name: "nanox", + label: "Nano X", + steps: 6, // <= Define the number of steps for this test case and this device + }, ]; var contractAddrs = { "DAIx-ETHx": "0x39255d5b0000000000000000000000006eee6060f715257b970700bc2656de21dedf074c0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000a4b4b333c60000000000000000000000001305f6b6df9dc47159d12eb7ac2804d4a33173c20000000000000000000000009db0996956491b68aca1f3909edcc778cb0f5f7e0000000000000000000000009bef427fa1ff5269b824eed9415f7622b81244f500000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", diff --git a/tests/src/upgrade.test.js b/tests/src/upgrade.test.js index f9dbb24..f11ba47 100644 --- a/tests/src/upgrade.test.js +++ b/tests/src/upgrade.test.js @@ -12,11 +12,11 @@ const devices = [ label: "Nano S", steps: 6, // <= Define the number of steps for this test case and this device }, - // { - // name: "nanox", - // label: "Nano X", - // steps: 6, // <= Define the number of steps for this test case and this device - // }, + { + name: "nanox", + label: "Nano X", + steps: 6, // <= Define the number of steps for this test case and this device + }, ]; var contractAddrs = { "DAI": "0x1305f6b6df9dc47159d12eb7ac2804d4a33173c2", diff --git a/tests/src/upgrade_by_eth.test.js b/tests/src/upgrade_by_eth.test.js index 0490228..5102491 100644 --- a/tests/src/upgrade_by_eth.test.js +++ b/tests/src/upgrade_by_eth.test.js @@ -11,11 +11,11 @@ const devices = [ label: "Nano S", steps: 6, // <= Define the number of steps for this test case and this device }, - // { - // name: "nanox", - // label: "Nano X", - // steps: 6, // <= Define the number of steps for this test case and this device - // }, + { + name: "nanox", + label: "Nano X", + steps: 6, // <= Define the number of steps for this test case and this device + }, ]; var contractAddrs = { "MATIC": "0x3ad736904e9e65189c3000c7dd2c8ac8bb7cd4e3", diff --git a/tests/yarn.lock b/tests/yarn.lock index 883b6e2..4fa72ff 100644 --- a/tests/yarn.lock +++ b/tests/yarn.lock @@ -1879,10 +1879,10 @@ dependencies: "@types/yargs-parser" "*" -"@zondax/zemu@0.21.1": - version "0.21.1" - resolved "https://registry.yarnpkg.com/@zondax/zemu/-/zemu-0.21.1.tgz#528861c8c0908f88d9104406519b5468dd440d91" - integrity sha512-lWsh4ih/BMaEQYbsjXfia1sw2ouXu2nCSNV5QfeCVdvMfmFC9s95imA16P5QwKR1ISAZ55IndwPtmuxTT+xIcA== +"@zondax/zemu@0.22.0": + version "0.22.0" + resolved "https://registry.yarnpkg.com/@zondax/zemu/-/zemu-0.22.0.tgz#4512729d4df4aed435242b4889e186df106ea6a0" + integrity sha512-sQ1CCPvwhrYd5Cc0NAfbPV0m9uqx3FvgJkvo+FzJQmEW60D3IfsSoxw4lCKEyMzCEKWQ1JEcsC3pCkqdo9Zp6g== dependencies: "@grpc/grpc-js" "^1.3.4" "@grpc/proto-loader" "^0.6.4"