diff --git a/tests_zemu/snapshots/fl-sign_Delegate/00000.png b/tests_zemu/snapshots/fl-sign_Delegate/00000.png new file mode 100644 index 0000000..34d186c Binary files /dev/null and b/tests_zemu/snapshots/fl-sign_Delegate/00000.png differ diff --git a/tests_zemu/snapshots/fl-sign_Delegate/00001.png b/tests_zemu/snapshots/fl-sign_Delegate/00001.png new file mode 100644 index 0000000..36eb2ba Binary files /dev/null and b/tests_zemu/snapshots/fl-sign_Delegate/00001.png differ diff --git a/tests_zemu/snapshots/fl-sign_Delegate/00002.png b/tests_zemu/snapshots/fl-sign_Delegate/00002.png new file mode 100644 index 0000000..697ecf8 Binary files /dev/null and b/tests_zemu/snapshots/fl-sign_Delegate/00002.png differ diff --git a/tests_zemu/snapshots/fl-sign_Delegate/00003.png b/tests_zemu/snapshots/fl-sign_Delegate/00003.png new file mode 100644 index 0000000..bea5187 Binary files /dev/null and b/tests_zemu/snapshots/fl-sign_Delegate/00003.png differ diff --git a/tests_zemu/snapshots/fl-sign_Output/00000.png b/tests_zemu/snapshots/fl-sign_Output/00000.png new file mode 100644 index 0000000..34d186c Binary files /dev/null and b/tests_zemu/snapshots/fl-sign_Output/00000.png differ diff --git a/tests_zemu/snapshots/fl-sign_Output/00001.png b/tests_zemu/snapshots/fl-sign_Output/00001.png new file mode 100644 index 0000000..36eb2ba Binary files /dev/null and b/tests_zemu/snapshots/fl-sign_Output/00001.png differ diff --git a/tests_zemu/snapshots/fl-sign_Output/00002.png b/tests_zemu/snapshots/fl-sign_Output/00002.png new file mode 100644 index 0000000..697ecf8 Binary files /dev/null and b/tests_zemu/snapshots/fl-sign_Output/00002.png differ diff --git a/tests_zemu/snapshots/fl-sign_Output/00003.png b/tests_zemu/snapshots/fl-sign_Output/00003.png new file mode 100644 index 0000000..bea5187 Binary files /dev/null and b/tests_zemu/snapshots/fl-sign_Output/00003.png differ diff --git a/tests_zemu/snapshots/fl-sign_Output_Delegate_Undelegate_Spend/00000.png b/tests_zemu/snapshots/fl-sign_Output_Delegate_Undelegate_Spend/00000.png new file mode 100644 index 0000000..34d186c Binary files /dev/null and b/tests_zemu/snapshots/fl-sign_Output_Delegate_Undelegate_Spend/00000.png differ diff --git a/tests_zemu/snapshots/fl-sign_Output_Delegate_Undelegate_Spend/00001.png b/tests_zemu/snapshots/fl-sign_Output_Delegate_Undelegate_Spend/00001.png new file mode 100644 index 0000000..36eb2ba Binary files /dev/null and b/tests_zemu/snapshots/fl-sign_Output_Delegate_Undelegate_Spend/00001.png differ diff --git a/tests_zemu/snapshots/fl-sign_Output_Delegate_Undelegate_Spend/00002.png b/tests_zemu/snapshots/fl-sign_Output_Delegate_Undelegate_Spend/00002.png new file mode 100644 index 0000000..697ecf8 Binary files /dev/null and b/tests_zemu/snapshots/fl-sign_Output_Delegate_Undelegate_Spend/00002.png differ diff --git a/tests_zemu/snapshots/fl-sign_Output_Delegate_Undelegate_Spend/00003.png b/tests_zemu/snapshots/fl-sign_Output_Delegate_Undelegate_Spend/00003.png new file mode 100644 index 0000000..bea5187 Binary files /dev/null and b/tests_zemu/snapshots/fl-sign_Output_Delegate_Undelegate_Spend/00003.png differ diff --git a/tests_zemu/snapshots/fl-sign_Spend/00000.png b/tests_zemu/snapshots/fl-sign_Spend/00000.png new file mode 100644 index 0000000..34d186c Binary files /dev/null and b/tests_zemu/snapshots/fl-sign_Spend/00000.png differ diff --git a/tests_zemu/snapshots/fl-sign_Spend/00001.png b/tests_zemu/snapshots/fl-sign_Spend/00001.png new file mode 100644 index 0000000..36eb2ba Binary files /dev/null and b/tests_zemu/snapshots/fl-sign_Spend/00001.png differ diff --git a/tests_zemu/snapshots/fl-sign_Spend/00002.png b/tests_zemu/snapshots/fl-sign_Spend/00002.png new file mode 100644 index 0000000..697ecf8 Binary files /dev/null and b/tests_zemu/snapshots/fl-sign_Spend/00002.png differ diff --git a/tests_zemu/snapshots/fl-sign_Spend/00003.png b/tests_zemu/snapshots/fl-sign_Spend/00003.png new file mode 100644 index 0000000..bea5187 Binary files /dev/null and b/tests_zemu/snapshots/fl-sign_Spend/00003.png differ diff --git a/tests_zemu/snapshots/fl-sign_Undelegate/00000.png b/tests_zemu/snapshots/fl-sign_Undelegate/00000.png new file mode 100644 index 0000000..34d186c Binary files /dev/null and b/tests_zemu/snapshots/fl-sign_Undelegate/00000.png differ diff --git a/tests_zemu/snapshots/fl-sign_Undelegate/00001.png b/tests_zemu/snapshots/fl-sign_Undelegate/00001.png new file mode 100644 index 0000000..36eb2ba Binary files /dev/null and b/tests_zemu/snapshots/fl-sign_Undelegate/00001.png differ diff --git a/tests_zemu/snapshots/fl-sign_Undelegate/00002.png b/tests_zemu/snapshots/fl-sign_Undelegate/00002.png new file mode 100644 index 0000000..697ecf8 Binary files /dev/null and b/tests_zemu/snapshots/fl-sign_Undelegate/00002.png differ diff --git a/tests_zemu/snapshots/fl-sign_Undelegate/00003.png b/tests_zemu/snapshots/fl-sign_Undelegate/00003.png new file mode 100644 index 0000000..bea5187 Binary files /dev/null and b/tests_zemu/snapshots/fl-sign_Undelegate/00003.png differ diff --git a/tests_zemu/snapshots/sp-sign_Delegate/00000.png b/tests_zemu/snapshots/sp-sign_Delegate/00000.png new file mode 100644 index 0000000..31051f8 Binary files /dev/null and b/tests_zemu/snapshots/sp-sign_Delegate/00000.png differ diff --git a/tests_zemu/snapshots/sp-sign_Delegate/00001.png b/tests_zemu/snapshots/sp-sign_Delegate/00001.png new file mode 100644 index 0000000..2052b49 Binary files /dev/null and b/tests_zemu/snapshots/sp-sign_Delegate/00001.png differ diff --git a/tests_zemu/snapshots/sp-sign_Delegate/00002.png b/tests_zemu/snapshots/sp-sign_Delegate/00002.png new file mode 100644 index 0000000..1e4be69 Binary files /dev/null and b/tests_zemu/snapshots/sp-sign_Delegate/00002.png differ diff --git a/tests_zemu/snapshots/sp-sign_Delegate/00003.png b/tests_zemu/snapshots/sp-sign_Delegate/00003.png new file mode 100644 index 0000000..283d3cc Binary files /dev/null and b/tests_zemu/snapshots/sp-sign_Delegate/00003.png differ diff --git a/tests_zemu/snapshots/sp-sign_Output/00000.png b/tests_zemu/snapshots/sp-sign_Output/00000.png new file mode 100644 index 0000000..31051f8 Binary files /dev/null and b/tests_zemu/snapshots/sp-sign_Output/00000.png differ diff --git a/tests_zemu/snapshots/sp-sign_Output/00001.png b/tests_zemu/snapshots/sp-sign_Output/00001.png new file mode 100644 index 0000000..2052b49 Binary files /dev/null and b/tests_zemu/snapshots/sp-sign_Output/00001.png differ diff --git a/tests_zemu/snapshots/sp-sign_Output/00002.png b/tests_zemu/snapshots/sp-sign_Output/00002.png new file mode 100644 index 0000000..1e4be69 Binary files /dev/null and b/tests_zemu/snapshots/sp-sign_Output/00002.png differ diff --git a/tests_zemu/snapshots/sp-sign_Output/00003.png b/tests_zemu/snapshots/sp-sign_Output/00003.png new file mode 100644 index 0000000..283d3cc Binary files /dev/null and b/tests_zemu/snapshots/sp-sign_Output/00003.png differ diff --git a/tests_zemu/snapshots/sp-sign_Output_Delegate_Undelegate_Spend/00000.png b/tests_zemu/snapshots/sp-sign_Output_Delegate_Undelegate_Spend/00000.png new file mode 100644 index 0000000..31051f8 Binary files /dev/null and b/tests_zemu/snapshots/sp-sign_Output_Delegate_Undelegate_Spend/00000.png differ diff --git a/tests_zemu/snapshots/sp-sign_Output_Delegate_Undelegate_Spend/00001.png b/tests_zemu/snapshots/sp-sign_Output_Delegate_Undelegate_Spend/00001.png new file mode 100644 index 0000000..2052b49 Binary files /dev/null and b/tests_zemu/snapshots/sp-sign_Output_Delegate_Undelegate_Spend/00001.png differ diff --git a/tests_zemu/snapshots/sp-sign_Output_Delegate_Undelegate_Spend/00002.png b/tests_zemu/snapshots/sp-sign_Output_Delegate_Undelegate_Spend/00002.png new file mode 100644 index 0000000..1e4be69 Binary files /dev/null and b/tests_zemu/snapshots/sp-sign_Output_Delegate_Undelegate_Spend/00002.png differ diff --git a/tests_zemu/snapshots/sp-sign_Output_Delegate_Undelegate_Spend/00003.png b/tests_zemu/snapshots/sp-sign_Output_Delegate_Undelegate_Spend/00003.png new file mode 100644 index 0000000..283d3cc Binary files /dev/null and b/tests_zemu/snapshots/sp-sign_Output_Delegate_Undelegate_Spend/00003.png differ diff --git a/tests_zemu/snapshots/sp-sign_Spend/00000.png b/tests_zemu/snapshots/sp-sign_Spend/00000.png new file mode 100644 index 0000000..31051f8 Binary files /dev/null and b/tests_zemu/snapshots/sp-sign_Spend/00000.png differ diff --git a/tests_zemu/snapshots/sp-sign_Spend/00001.png b/tests_zemu/snapshots/sp-sign_Spend/00001.png new file mode 100644 index 0000000..2052b49 Binary files /dev/null and b/tests_zemu/snapshots/sp-sign_Spend/00001.png differ diff --git a/tests_zemu/snapshots/sp-sign_Spend/00002.png b/tests_zemu/snapshots/sp-sign_Spend/00002.png new file mode 100644 index 0000000..1e4be69 Binary files /dev/null and b/tests_zemu/snapshots/sp-sign_Spend/00002.png differ diff --git a/tests_zemu/snapshots/sp-sign_Spend/00003.png b/tests_zemu/snapshots/sp-sign_Spend/00003.png new file mode 100644 index 0000000..283d3cc Binary files /dev/null and b/tests_zemu/snapshots/sp-sign_Spend/00003.png differ diff --git a/tests_zemu/snapshots/sp-sign_Undelegate/00000.png b/tests_zemu/snapshots/sp-sign_Undelegate/00000.png new file mode 100644 index 0000000..31051f8 Binary files /dev/null and b/tests_zemu/snapshots/sp-sign_Undelegate/00000.png differ diff --git a/tests_zemu/snapshots/sp-sign_Undelegate/00001.png b/tests_zemu/snapshots/sp-sign_Undelegate/00001.png new file mode 100644 index 0000000..2052b49 Binary files /dev/null and b/tests_zemu/snapshots/sp-sign_Undelegate/00001.png differ diff --git a/tests_zemu/snapshots/sp-sign_Undelegate/00002.png b/tests_zemu/snapshots/sp-sign_Undelegate/00002.png new file mode 100644 index 0000000..1e4be69 Binary files /dev/null and b/tests_zemu/snapshots/sp-sign_Undelegate/00002.png differ diff --git a/tests_zemu/snapshots/sp-sign_Undelegate/00003.png b/tests_zemu/snapshots/sp-sign_Undelegate/00003.png new file mode 100644 index 0000000..283d3cc Binary files /dev/null and b/tests_zemu/snapshots/sp-sign_Undelegate/00003.png differ diff --git a/tests_zemu/snapshots/st-sign_Delegate/00000.png b/tests_zemu/snapshots/st-sign_Delegate/00000.png new file mode 100644 index 0000000..2f78184 Binary files /dev/null and b/tests_zemu/snapshots/st-sign_Delegate/00000.png differ diff --git a/tests_zemu/snapshots/st-sign_Delegate/00001.png b/tests_zemu/snapshots/st-sign_Delegate/00001.png new file mode 100644 index 0000000..05e5fa7 Binary files /dev/null and b/tests_zemu/snapshots/st-sign_Delegate/00001.png differ diff --git a/tests_zemu/snapshots/st-sign_Delegate/00002.png b/tests_zemu/snapshots/st-sign_Delegate/00002.png new file mode 100644 index 0000000..283761c Binary files /dev/null and b/tests_zemu/snapshots/st-sign_Delegate/00002.png differ diff --git a/tests_zemu/snapshots/st-sign_Delegate/00003.png b/tests_zemu/snapshots/st-sign_Delegate/00003.png new file mode 100644 index 0000000..ce539ae Binary files /dev/null and b/tests_zemu/snapshots/st-sign_Delegate/00003.png differ diff --git a/tests_zemu/snapshots/st-sign_Output/00000.png b/tests_zemu/snapshots/st-sign_Output/00000.png new file mode 100644 index 0000000..2f78184 Binary files /dev/null and b/tests_zemu/snapshots/st-sign_Output/00000.png differ diff --git a/tests_zemu/snapshots/st-sign_Output/00001.png b/tests_zemu/snapshots/st-sign_Output/00001.png new file mode 100644 index 0000000..05e5fa7 Binary files /dev/null and b/tests_zemu/snapshots/st-sign_Output/00001.png differ diff --git a/tests_zemu/snapshots/st-sign_Output/00002.png b/tests_zemu/snapshots/st-sign_Output/00002.png new file mode 100644 index 0000000..283761c Binary files /dev/null and b/tests_zemu/snapshots/st-sign_Output/00002.png differ diff --git a/tests_zemu/snapshots/st-sign_Output/00003.png b/tests_zemu/snapshots/st-sign_Output/00003.png new file mode 100644 index 0000000..ce539ae Binary files /dev/null and b/tests_zemu/snapshots/st-sign_Output/00003.png differ diff --git a/tests_zemu/snapshots/st-sign_Output_Delegate_Undelegate_Spend/00000.png b/tests_zemu/snapshots/st-sign_Output_Delegate_Undelegate_Spend/00000.png new file mode 100644 index 0000000..2f78184 Binary files /dev/null and b/tests_zemu/snapshots/st-sign_Output_Delegate_Undelegate_Spend/00000.png differ diff --git a/tests_zemu/snapshots/st-sign_Output_Delegate_Undelegate_Spend/00001.png b/tests_zemu/snapshots/st-sign_Output_Delegate_Undelegate_Spend/00001.png new file mode 100644 index 0000000..05e5fa7 Binary files /dev/null and b/tests_zemu/snapshots/st-sign_Output_Delegate_Undelegate_Spend/00001.png differ diff --git a/tests_zemu/snapshots/st-sign_Output_Delegate_Undelegate_Spend/00002.png b/tests_zemu/snapshots/st-sign_Output_Delegate_Undelegate_Spend/00002.png new file mode 100644 index 0000000..283761c Binary files /dev/null and b/tests_zemu/snapshots/st-sign_Output_Delegate_Undelegate_Spend/00002.png differ diff --git a/tests_zemu/snapshots/st-sign_Output_Delegate_Undelegate_Spend/00003.png b/tests_zemu/snapshots/st-sign_Output_Delegate_Undelegate_Spend/00003.png new file mode 100644 index 0000000..ce539ae Binary files /dev/null and b/tests_zemu/snapshots/st-sign_Output_Delegate_Undelegate_Spend/00003.png differ diff --git a/tests_zemu/snapshots/st-sign_Spend/00000.png b/tests_zemu/snapshots/st-sign_Spend/00000.png new file mode 100644 index 0000000..2f78184 Binary files /dev/null and b/tests_zemu/snapshots/st-sign_Spend/00000.png differ diff --git a/tests_zemu/snapshots/st-sign_Spend/00001.png b/tests_zemu/snapshots/st-sign_Spend/00001.png new file mode 100644 index 0000000..05e5fa7 Binary files /dev/null and b/tests_zemu/snapshots/st-sign_Spend/00001.png differ diff --git a/tests_zemu/snapshots/st-sign_Spend/00002.png b/tests_zemu/snapshots/st-sign_Spend/00002.png new file mode 100644 index 0000000..283761c Binary files /dev/null and b/tests_zemu/snapshots/st-sign_Spend/00002.png differ diff --git a/tests_zemu/snapshots/st-sign_Spend/00003.png b/tests_zemu/snapshots/st-sign_Spend/00003.png new file mode 100644 index 0000000..ce539ae Binary files /dev/null and b/tests_zemu/snapshots/st-sign_Spend/00003.png differ diff --git a/tests_zemu/snapshots/st-sign_Undelegate/00000.png b/tests_zemu/snapshots/st-sign_Undelegate/00000.png new file mode 100644 index 0000000..2f78184 Binary files /dev/null and b/tests_zemu/snapshots/st-sign_Undelegate/00000.png differ diff --git a/tests_zemu/snapshots/st-sign_Undelegate/00001.png b/tests_zemu/snapshots/st-sign_Undelegate/00001.png new file mode 100644 index 0000000..05e5fa7 Binary files /dev/null and b/tests_zemu/snapshots/st-sign_Undelegate/00001.png differ diff --git a/tests_zemu/snapshots/st-sign_Undelegate/00002.png b/tests_zemu/snapshots/st-sign_Undelegate/00002.png new file mode 100644 index 0000000..283761c Binary files /dev/null and b/tests_zemu/snapshots/st-sign_Undelegate/00002.png differ diff --git a/tests_zemu/snapshots/st-sign_Undelegate/00003.png b/tests_zemu/snapshots/st-sign_Undelegate/00003.png new file mode 100644 index 0000000..ce539ae Binary files /dev/null and b/tests_zemu/snapshots/st-sign_Undelegate/00003.png differ diff --git a/tests_zemu/snapshots/x-sign_Delegate/00000.png b/tests_zemu/snapshots/x-sign_Delegate/00000.png new file mode 100644 index 0000000..31051f8 Binary files /dev/null and b/tests_zemu/snapshots/x-sign_Delegate/00000.png differ diff --git a/tests_zemu/snapshots/x-sign_Delegate/00001.png b/tests_zemu/snapshots/x-sign_Delegate/00001.png new file mode 100644 index 0000000..2052b49 Binary files /dev/null and b/tests_zemu/snapshots/x-sign_Delegate/00001.png differ diff --git a/tests_zemu/snapshots/x-sign_Delegate/00002.png b/tests_zemu/snapshots/x-sign_Delegate/00002.png new file mode 100644 index 0000000..1e4be69 Binary files /dev/null and b/tests_zemu/snapshots/x-sign_Delegate/00002.png differ diff --git a/tests_zemu/snapshots/x-sign_Delegate/00003.png b/tests_zemu/snapshots/x-sign_Delegate/00003.png new file mode 100644 index 0000000..283d3cc Binary files /dev/null and b/tests_zemu/snapshots/x-sign_Delegate/00003.png differ diff --git a/tests_zemu/snapshots/x-sign_Output/00000.png b/tests_zemu/snapshots/x-sign_Output/00000.png new file mode 100644 index 0000000..31051f8 Binary files /dev/null and b/tests_zemu/snapshots/x-sign_Output/00000.png differ diff --git a/tests_zemu/snapshots/x-sign_Output/00001.png b/tests_zemu/snapshots/x-sign_Output/00001.png new file mode 100644 index 0000000..2052b49 Binary files /dev/null and b/tests_zemu/snapshots/x-sign_Output/00001.png differ diff --git a/tests_zemu/snapshots/x-sign_Output/00002.png b/tests_zemu/snapshots/x-sign_Output/00002.png new file mode 100644 index 0000000..1e4be69 Binary files /dev/null and b/tests_zemu/snapshots/x-sign_Output/00002.png differ diff --git a/tests_zemu/snapshots/x-sign_Output/00003.png b/tests_zemu/snapshots/x-sign_Output/00003.png new file mode 100644 index 0000000..283d3cc Binary files /dev/null and b/tests_zemu/snapshots/x-sign_Output/00003.png differ diff --git a/tests_zemu/snapshots/x-sign_Output_Delegate_Undelegate_Spend/00000.png b/tests_zemu/snapshots/x-sign_Output_Delegate_Undelegate_Spend/00000.png new file mode 100644 index 0000000..31051f8 Binary files /dev/null and b/tests_zemu/snapshots/x-sign_Output_Delegate_Undelegate_Spend/00000.png differ diff --git a/tests_zemu/snapshots/x-sign_Output_Delegate_Undelegate_Spend/00001.png b/tests_zemu/snapshots/x-sign_Output_Delegate_Undelegate_Spend/00001.png new file mode 100644 index 0000000..2052b49 Binary files /dev/null and b/tests_zemu/snapshots/x-sign_Output_Delegate_Undelegate_Spend/00001.png differ diff --git a/tests_zemu/snapshots/x-sign_Output_Delegate_Undelegate_Spend/00002.png b/tests_zemu/snapshots/x-sign_Output_Delegate_Undelegate_Spend/00002.png new file mode 100644 index 0000000..1e4be69 Binary files /dev/null and b/tests_zemu/snapshots/x-sign_Output_Delegate_Undelegate_Spend/00002.png differ diff --git a/tests_zemu/snapshots/x-sign_Output_Delegate_Undelegate_Spend/00003.png b/tests_zemu/snapshots/x-sign_Output_Delegate_Undelegate_Spend/00003.png new file mode 100644 index 0000000..283d3cc Binary files /dev/null and b/tests_zemu/snapshots/x-sign_Output_Delegate_Undelegate_Spend/00003.png differ diff --git a/tests_zemu/snapshots/x-sign_Spend/00000.png b/tests_zemu/snapshots/x-sign_Spend/00000.png new file mode 100644 index 0000000..31051f8 Binary files /dev/null and b/tests_zemu/snapshots/x-sign_Spend/00000.png differ diff --git a/tests_zemu/snapshots/x-sign_Spend/00001.png b/tests_zemu/snapshots/x-sign_Spend/00001.png new file mode 100644 index 0000000..2052b49 Binary files /dev/null and b/tests_zemu/snapshots/x-sign_Spend/00001.png differ diff --git a/tests_zemu/snapshots/x-sign_Spend/00002.png b/tests_zemu/snapshots/x-sign_Spend/00002.png new file mode 100644 index 0000000..1e4be69 Binary files /dev/null and b/tests_zemu/snapshots/x-sign_Spend/00002.png differ diff --git a/tests_zemu/snapshots/x-sign_Spend/00003.png b/tests_zemu/snapshots/x-sign_Spend/00003.png new file mode 100644 index 0000000..283d3cc Binary files /dev/null and b/tests_zemu/snapshots/x-sign_Spend/00003.png differ diff --git a/tests_zemu/snapshots/x-sign_Undelegate/00000.png b/tests_zemu/snapshots/x-sign_Undelegate/00000.png new file mode 100644 index 0000000..31051f8 Binary files /dev/null and b/tests_zemu/snapshots/x-sign_Undelegate/00000.png differ diff --git a/tests_zemu/snapshots/x-sign_Undelegate/00001.png b/tests_zemu/snapshots/x-sign_Undelegate/00001.png new file mode 100644 index 0000000..2052b49 Binary files /dev/null and b/tests_zemu/snapshots/x-sign_Undelegate/00001.png differ diff --git a/tests_zemu/snapshots/x-sign_Undelegate/00002.png b/tests_zemu/snapshots/x-sign_Undelegate/00002.png new file mode 100644 index 0000000..1e4be69 Binary files /dev/null and b/tests_zemu/snapshots/x-sign_Undelegate/00002.png differ diff --git a/tests_zemu/snapshots/x-sign_Undelegate/00003.png b/tests_zemu/snapshots/x-sign_Undelegate/00003.png new file mode 100644 index 0000000..283d3cc Binary files /dev/null and b/tests_zemu/snapshots/x-sign_Undelegate/00003.png differ diff --git a/tests_zemu/tests/common.ts b/tests_zemu/tests/common.ts index 92766a9..2ad8069 100644 --- a/tests_zemu/tests/common.ts +++ b/tests_zemu/tests/common.ts @@ -17,10 +17,10 @@ const APP_PATH_FL = resolve('../app/output/app_flex.elf') export const models: IDeviceModel[] = [ // Due to binary size problems nanos is not supported // { name: 'nanos', prefix: 'S', path: APP_PATH_S }, - // { name: 'nanox', prefix: 'X', path: APP_PATH_X }, + { name: 'nanox', prefix: 'X', path: APP_PATH_X }, { name: 'nanosp', prefix: 'SP', path: APP_PATH_SP }, - // { name: 'stax', prefix: 'ST', path: APP_PATH_ST }, - // { name: 'flex', prefix: 'FL', path: APP_PATH_FL }, + { name: 'stax', prefix: 'ST', path: APP_PATH_ST }, + { name: 'flex', prefix: 'FL', path: APP_PATH_FL }, ] export const defaultOptions = { @@ -30,4 +30,6 @@ export const defaultOptions = { X11: false, } +export const txBlobExample = + '0abe020abb020aa8010a300a0a08c8daccb4a6f185e40612220a2029ea9c2f3371f6a487e7e95c247041f4a356f983eb064e5d2b3bcf322ca96a10122085197c5d60cf28b5ec756a657957b310072396577956fd5cd421ca62b4a6bc091a520a50890bc98e3698aa4578e419b028da5672e627c280d8b06166f4c42d5366bccf1fcf3b296cd61e8d744a21f75f2fb697183e18595d8a79008539d8fb138b405db09db65cc42d54c0e772e5d42d5f20b52f10f1a9e496d5f01d1a20732b53ee807140dd5672768ec1a38be09c531a0c6fc185d5f51c18f5f2261d012220f2e2f45f0ea734d7c11321cbf20427b379cfed6f71874ff97e8bcbbfce2d3d012a2073ec22fcaeccfadc720dd0350cf6af7ec274a74be832e8334613638edfd2fb10322093043bfea2094b0398f0e14bccc66a9ec335bbfd1f8e8b4c2c21428947f5e50d121c08cec08d8e1e1206757673762d361a0c0a0a08d6fab2e5c4f992aa0b' diff --git a/tests_zemu/tests/effect_hash.test.ts b/tests_zemu/tests/effect_hash.test.ts index f6c3af8..daf164b 100644 --- a/tests_zemu/tests/effect_hash.test.ts +++ b/tests_zemu/tests/effect_hash.test.ts @@ -15,8 +15,8 @@ ******************************************************************************* */ import Zemu from '@zondax/zemu' -import { PEN_PATH, defaultOptions, models } from './common' -import { PenumbraApp } from '@zondax/ledger-penumbra' +import { PENUMBRA_PATH, defaultOptions, models, ACCOUNT_ID } from './common' +import { PenumbraApp, AddressIndex } from '@zondax/ledger-penumbra' import { ACTIONS_TESTCASES } from './testscases/actions' jest.setTimeout(60000) @@ -40,8 +40,12 @@ describe('Standard', function () { const messageToSign = Buffer.from(data.blob, 'hex') + const addressIndex: AddressIndex = { + account: ACCOUNT_ID, + randomizer: undefined, + } // do not wait here... we need to navigate - const signatureRequest = app.sign(PEN_PATH, 0, messageToSign) + const signatureRequest = app.sign(PENUMBRA_PATH, addressIndex, messageToSign) // Wait until we are not in the main menu await sim.waitUntilScreenIsNot(sim.getMainMenuSnapshot()) diff --git a/tests_zemu/tests/standard.test.ts b/tests_zemu/tests/standard.test.ts index e5c8217..67063e4 100644 --- a/tests_zemu/tests/standard.test.ts +++ b/tests_zemu/tests/standard.test.ts @@ -15,7 +15,7 @@ ******************************************************************************* */ import Zemu, { ButtonKind, zondaxMainmenuNavigation, isTouchDevice } from '@zondax/zemu' -import { ACCOUNT_ID, PENUMBRA_PATH, defaultOptions, models, txBlobExample } from './common' +import { ACCOUNT_ID, PENUMBRA_PATH, defaultOptions, models } from './common' import { PenumbraApp, AddressIndex } from '@zondax/ledger-penumbra' jest.setTimeout(60000) @@ -206,3 +206,4 @@ describe('Standard', function () { await sim.close() } }) +})