mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-03-20 06:08:39 +01:00
53 lines
1.2 KiB
TypeScript
53 lines
1.2 KiB
TypeScript
const legacyResults = [
|
|
{
|
|
// Not supported in T1B1.
|
|
rules: ['1'],
|
|
success: false,
|
|
},
|
|
];
|
|
|
|
export default {
|
|
method: 'tezosGetAddress',
|
|
setup: {
|
|
mnemonic: 'mnemonic_12',
|
|
},
|
|
tests: [
|
|
{
|
|
description: "m/44'/1729'/0'",
|
|
params: {
|
|
path: "m/44'/1729'/0'",
|
|
showOnTrezor: false,
|
|
},
|
|
result: {
|
|
address: 'tz1ckrgqGGGBt4jGDmwFhtXc1LNpZJUnA9F2',
|
|
},
|
|
},
|
|
{
|
|
description: "m/44'/1729'/1'",
|
|
params: {
|
|
path: "m/44'/1729'/1'",
|
|
showOnTrezor: false,
|
|
},
|
|
result: {
|
|
address: 'tz1cTfmc5uuBr2DmHDgkXTAoEcufvXLwq5TP',
|
|
},
|
|
},
|
|
{
|
|
description: "m/44'/1729'",
|
|
params: {
|
|
path: "m/44'/1729'",
|
|
showOnTrezor: false,
|
|
},
|
|
result: false,
|
|
},
|
|
{
|
|
description: "m/44'/1729'/0",
|
|
params: {
|
|
path: "m/44'/1729'/0",
|
|
showOnTrezor: false,
|
|
},
|
|
result: false,
|
|
},
|
|
].map(fixture => ({ ...fixture, legacyResults })),
|
|
} satisfies TestCase;
|