Skip to content

Commit

Permalink
correct more screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
jleni committed Jun 6, 2024
1 parent 729b225 commit 5ba8952
Show file tree
Hide file tree
Showing 15 changed files with 13 additions and 13 deletions.
Binary file modified tests_zemu/snapshots/sp-get-fvk/00004.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 modified tests_zemu/snapshots/sp-get-ivk/00004.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 modified tests_zemu/snapshots/sp-get-ovk/00004.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 modified tests_zemu/snapshots/st-get-fvk/00000.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 modified tests_zemu/snapshots/st-get-fvk/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 modified tests_zemu/snapshots/st-get-ivk/00000.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 modified tests_zemu/snapshots/st-get-ivk/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 modified tests_zemu/snapshots/st-get-ovk/00000.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 modified tests_zemu/snapshots/st-get-ovk/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 modified tests_zemu/snapshots/x-get-fvk/00004.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 modified tests_zemu/snapshots/x-get-ivk/00004.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 modified tests_zemu/snapshots/x-get-ovk/00004.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions tests_zemu/tests/_config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ const APP_PATH_ST = resolve('../app/output/app_stax.elf')

export const models: IDeviceModel[] = [
{ name: 'nanos', prefix: 'S', path: APP_PATH_S },
// { 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: 'nanox', prefix: 'X', path: APP_PATH_X },
{ name: 'nanosp', prefix: 'SP', path: APP_PATH_SP },
{ name: 'stax', prefix: 'ST', path: APP_PATH_ST },
]

export const defaultOptions = {
Expand Down
15 changes: 7 additions & 8 deletions tests_zemu/tests/txs_advanced.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ describe('End to end transactions', function () {

// const req = await app.initNewTx(ledgerblob_initdata);
console.log(req)
expect(req.txdata.length).toEqual(32)
expect(req.txdata.length).toEqual(64)

// Check the hash of the return
let hash = crypto.createHash('sha256')
Expand Down Expand Up @@ -516,7 +516,7 @@ describe('End to end transactions', function () {
// const req = await app.initNewTx(ledgerblob_initdata);
console.log(req)

expect(req.txdata.length).toEqual(32)
expect(req.txdata.length).toEqual(64)

/*
Check the hash of the return
Expand Down Expand Up @@ -751,7 +751,6 @@ describe('End to end transactions', function () {
const testname = `${m.prefix.toLowerCase()}-1-tr-in-1-tr-out-1-spend-2-sh-out`
const last_index = await sim.navigateUntilText('.', testname, sim.startOptions.approveKeyword)
await sim.deleteEvents()
expect(last_index).toEqual(1)

const req = await reqinit

Expand Down Expand Up @@ -960,7 +959,7 @@ describe('End to end transactions', function () {
await sim.deleteEvents()

const req = await reqinit
expect(req.txdata.length).toEqual(32)
expect(req.txdata.length).toEqual(64)

let hash = crypto.createHash('sha256')
hash.update(Buffer.from(ledgerblob_initdata))
Expand Down Expand Up @@ -1059,7 +1058,7 @@ describe('End to end transactions', function () {
await sim.deleteEvents()

const req = await reqinit
expect(req.txdata.length).toEqual(32)
expect(req.txdata.length).toEqual(64)

const req2 = await app.extractSpendData()
console.log(req2)
Expand Down Expand Up @@ -1128,7 +1127,7 @@ describe('Failing transactions', function () {

const req = await reqinit

expect(req.txdata.length).toEqual(32)
expect(req.txdata.length).toEqual(64)

const req4 = await app.extractOutputData()
console.log(req4)
Expand Down Expand Up @@ -1182,7 +1181,7 @@ describe('Failing transactions', function () {
await sim.compareSnapshotsAndApprove('.', `${m.prefix.toLowerCase()}-ext-more-sigs-than-needed-for-tx`)

const req = await reqinit
expect(req.txdata.length).toEqual(32)
expect(req.txdata.length).toEqual(64)

// Now we start building the transaction using the builder.
//
Expand Down Expand Up @@ -1798,7 +1797,7 @@ describe('Failing transactions', function () {

console.log(req)

expect(req.txdata.length).toEqual(32)
expect(req.txdata.length).toEqual(64)

const hash = crypto.createHash('sha256')
hash.update(Buffer.from(ledgerblob_initdata))
Expand Down
5 changes: 3 additions & 2 deletions tests_zemu/tests/txs_basic.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,8 @@ describe('tx methods', function () {

await sim.waitUntilScreenIsNot(sim.getMainMenuSnapshot())
const testname = `${m.prefix.toLowerCase()}-2-spend-2-out`
const last_index = await sim.navigateUntilText('.', testname, sim.startOptions.approveKeyword)
await sim.navigateUntilText('.', testname, sim.startOptions.approveKeyword)
await sim.deleteEvents()
expect(last_index).toEqual(23)

const req = await reqinit

Expand Down Expand Up @@ -335,6 +334,8 @@ describe('tx methods', function () {
// The builder returns a txdata blob.
// The ledger needs this blob to validate the correctness of the tx.

console.log('Now call the builder....')

const ledgerblob_txdata = Buffer.from(builder.build(SPEND_PATH, OUTPUT_PATH, tx_version))
expect(ledgerblob_txdata).toBeDefined()

Expand Down

1 comment on commit 5ba8952

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cpp-Linter Report ⚠️

Some files did not pass the configured checks!

clang-tidy reports: 78 concern(s)
  • app/rust/include/zip32.h:3:14: error: [clang-diagnostic-error]

    unknown type name 'uint32_t'

    void get_pkd(uint32_t zip32_account, const uint8_t *diversifier_ptr, uint8_t *pkd);
                 ^
  • app/rust/include/zip32.h:3:44: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

    void get_pkd(uint32_t zip32_account, const uint8_t *diversifier_ptr, uint8_t *pkd);
                                               ^
  • app/rust/include/zip32.h:3:70: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

    void get_pkd(uint32_t zip32_account, const uint8_t *diversifier_ptr, uint8_t *pkd);
                                                                         ^
  • app/rust/include/zip32.h:5:24: error: [clang-diagnostic-error]

    unknown type name 'uint32_t'

    void get_pkd_from_seed(uint32_t zip32_account, const uint8_t *start_index, uint8_t *diversifier_ptr, uint8_t *pkd);
                           ^
  • app/rust/include/zip32.h:5:54: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

    void get_pkd_from_seed(uint32_t zip32_account, const uint8_t *start_index, uint8_t *diversifier_ptr, uint8_t *pkd);
                                                         ^
  • app/rust/include/zip32.h:5:76: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

    void get_pkd_from_seed(uint32_t zip32_account, const uint8_t *start_index, uint8_t *diversifier_ptr, uint8_t *pkd);
                                                                               ^
  • app/rust/include/zip32.h:5:102: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

    void get_pkd_from_seed(uint32_t zip32_account, const uint8_t *start_index, uint8_t *diversifier_ptr, uint8_t *pkd);
                                                                                                         ^
  • app/rust/include/zip32.h:7:1: error: [clang-diagnostic-error]

    unknown type name 'bool'

    bool diversifier_is_valid(const uint8_t *diversifier);
    ^
  • app/rust/include/zip32.h:7:33: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

    bool diversifier_is_valid(const uint8_t *diversifier);
                                    ^
  • app/rust/include/zip32.h:9:27: error: [clang-diagnostic-error]

    unknown type name 'uint32_t'

    void diversifier_get_list(uint32_t zip32_account, const uint8_t *startindex, uint8_t *diversifier_list);
                              ^
  • app/rust/include/zip32.h:9:57: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

    void diversifier_get_list(uint32_t zip32_account, const uint8_t *startindex, uint8_t *diversifier_list);
                                                            ^
  • app/rust/include/zip32.h:9:78: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

    void diversifier_get_list(uint32_t zip32_account, const uint8_t *startindex, uint8_t *diversifier_list);
                                                                                 ^
  • app/rust/include/zip32.h:11:29: error: [clang-diagnostic-error]

    unknown type name 'uint32_t'

    void diversifier_find_valid(uint32_t zip32_account, uint8_t *default_diversifier);
                                ^
  • app/rust/include/zip32.h:11:53: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

    void diversifier_find_valid(uint32_t zip32_account, uint8_t *default_diversifier);
                                                        ^
  • app/rust/include/zip32.h:15:26: error: [clang-diagnostic-error]

    unknown type name 'uint32_t'

    void zip32_child_ask_nsk(uint32_t account, uint8_t *ask, uint8_t *nsk);
                             ^
  • app/rust/include/zip32.h:15:44: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

    void zip32_child_ask_nsk(uint32_t account, uint8_t *ask, uint8_t *nsk);
                                               ^
  • app/rust/include/zip32.h:15:58: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

    void zip32_child_ask_nsk(uint32_t account, uint8_t *ask, uint8_t *nsk);
                                                             ^
  • app/rust/include/zip32.h:17:28: error: [clang-diagnostic-error]

    unknown type name 'uint32_t'

    void zip32_child_proof_key(uint32_t account, uint8_t *ak_ptr, uint8_t *nsk_ptr);
                               ^
  • app/rust/include/zip32.h:17:46: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

    void zip32_child_proof_key(uint32_t account, uint8_t *ak_ptr, uint8_t *nsk_ptr);
                                                 ^
  • app/rust/include/notes.h:3:30: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

    void rseed_get_esk_epk(const uint8_t *rseed_ptr, uint8_t *d_ptr, uint8_t *output_esk_ptr, uint8_t *output_epk_ptr);
                                 ^
  • app/rust/include/notes.h:3:50: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

    void rseed_get_esk_epk(const uint8_t *rseed_ptr, uint8_t *d_ptr, uint8_t *output_esk_ptr, uint8_t *output_epk_ptr);
                                                     ^
  • app/rust/include/notes.h:3:66: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

    void rseed_get_esk_epk(const uint8_t *rseed_ptr, uint8_t *d_ptr, uint8_t *output_esk_ptr, uint8_t *output_epk_ptr);
                                                                     ^
  • app/rust/include/notes.h:3:91: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

    void rseed_get_esk_epk(const uint8_t *rseed_ptr, uint8_t *d_ptr, uint8_t *output_esk_ptr, uint8_t *output_epk_ptr);
                                                                                              ^
  • app/rust/include/notes.h:5:26: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

    void rseed_get_rcm(const uint8_t *rseed_ptr, uint8_t *output_ptr);
                             ^
  • app/rust/include/notes.h:5:46: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

    void rseed_get_rcm(const uint8_t *rseed_ptr, uint8_t *output_ptr);
                                                 ^
  • app/rust/include/notes.h:7:16: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

    void ka_to_key(uint8_t *esk_ptr, uint8_t *pkd_ptr, uint8_t *epk_ptr, uint8_t *output_ptr);
                   ^
  • app/rust/include/notes.h:7:34: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

    void ka_to_key(uint8_t *esk_ptr, uint8_t *pkd_ptr, uint8_t *epk_ptr, uint8_t *output_ptr);
                                     ^
  • app/rust/include/notes.h:7:52: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

    void ka_to_key(uint8_t *esk_ptr, uint8_t *pkd_ptr, uint8_t *epk_ptr, uint8_t *output_ptr);
                                                       ^
  • app/rust/include/notes.h:7:70: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

    void ka_to_key(uint8_t *esk_ptr, uint8_t *pkd_ptr, uint8_t *epk_ptr, uint8_t *output_ptr);
                                                                         ^
  • app/rust/include/notes.h:9:27: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

    void prepare_compact_note(uint8_t *d, uint64_t value, uint8_t *rcm_ptr, uint8_t memotype, uint8_t *out_ptr);
                              ^
  • app/rust/include/notes.h:9:39: error: [clang-diagnostic-error]

    unknown type name 'uint64_t'

    void prepare_compact_note(uint8_t *d, uint64_t value, uint8_t *rcm_ptr, uint8_t memotype, uint8_t *out_ptr);
                                          ^
  • app/rust/include/notes.h:9:55: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

    void prepare_compact_note(uint8_t *d, uint64_t value, uint8_t *rcm_ptr, uint8_t memotype, uint8_t *out_ptr);
                                                          ^
  • app/rust/include/notes.h:9:73: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

    void prepare_compact_note(uint8_t *d, uint64_t value, uint8_t *rcm_ptr, uint8_t memotype, uint8_t *out_ptr);
                                                                            ^
  • app/rust/include/notes.h:9:91: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

    void prepare_compact_note(uint8_t *d, uint64_t value, uint8_t *rcm_ptr, uint8_t memotype, uint8_t *out_ptr);
                                                                                              ^
  • app/rust/include/commitments.h:3:24: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

    void compute_nullifier(uint8_t *ncm_ptr, uint64_t note_pos, const uint8_t *nsk_ptr, uint8_t *out_ptr);
                           ^
  • app/rust/include/commitments.h:3:42: error: [clang-diagnostic-error]

    unknown type name 'uint64_t'

    void compute_nullifier(uint8_t *ncm_ptr, uint64_t note_pos, const uint8_t *nsk_ptr, uint8_t *out_ptr);
                                             ^
  • app/rust/include/commitments.h:3:67: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

    void compute_nullifier(uint8_t *ncm_ptr, uint64_t note_pos, const uint8_t *nsk_ptr, uint8_t *out_ptr);
                                                                      ^
  • app/rust/include/commitments.h:3:85: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

    void compute_nullifier(uint8_t *ncm_ptr, uint64_t note_pos, const uint8_t *nsk_ptr, uint8_t *out_ptr);
                                                                                        ^
  • app/rust/include/commitments.h:6:11: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

        const uint8_t *rcm_ptr, const uint64_t value, const uint8_t *diversifier_ptr, const uint8_t *pkd, uint8_t *out_ptr);
              ^
    /__w/ledger-zcash/ledger-zcash/app/rust/include/commitments.h:6:29: error: parameter 'value' is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions [readability-avoid-const-params-in-decls,-warnings-as-errors]
        const uint8_t *rcm_ptr, const uint64_t value, const uint8_t *diversifier_ptr, const uint8_t *pkd, uint8_t *out_ptr);
                                ^~~~~~
  • app/rust/include/commitments.h:6:35: error: [clang-diagnostic-error]

    unknown type name 'uint64_t'

        const uint8_t *rcm_ptr, const uint64_t value, const uint8_t *diversifier_ptr, const uint8_t *pkd, uint8_t *out_ptr);
                                      ^
  • app/rust/include/commitments.h:6:57: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

        const uint8_t *rcm_ptr, const uint64_t value, const uint8_t *diversifier_ptr, const uint8_t *pkd, uint8_t *out_ptr);
                                                            ^
  • app/rust/include/commitments.h:6:89: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

        const uint8_t *rcm_ptr, const uint64_t value, const uint8_t *diversifier_ptr, const uint8_t *pkd, uint8_t *out_ptr);
                                                                                            ^
  • app/rust/include/commitments.h:6:103: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

        const uint8_t *rcm_ptr, const uint64_t value, const uint8_t *diversifier_ptr, const uint8_t *pkd, uint8_t *out_ptr);
                                                                                                          ^
  • app/rust/include/commitments.h:9:11: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

        const uint8_t *rcm_ptr, const uint64_t value, const uint8_t *diversifier_ptr, const uint8_t *pkd, uint8_t *out_ptr);
              ^
    /__w/ledger-zcash/ledger-zcash/app/rust/include/commitments.h:9:29: error: parameter 'value' is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions [readability-avoid-const-params-in-decls,-warnings-as-errors]
        const uint8_t *rcm_ptr, const uint64_t value, const uint8_t *diversifier_ptr, const uint8_t *pkd, uint8_t *out_ptr);
                                ^~~~~~
  • app/rust/include/commitments.h:9:35: error: [clang-diagnostic-error]

    unknown type name 'uint64_t'

        const uint8_t *rcm_ptr, const uint64_t value, const uint8_t *diversifier_ptr, const uint8_t *pkd, uint8_t *out_ptr);
                                      ^
  • app/rust/include/commitments.h:9:57: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

        const uint8_t *rcm_ptr, const uint64_t value, const uint8_t *diversifier_ptr, const uint8_t *pkd, uint8_t *out_ptr);
                                                            ^
  • app/rust/include/commitments.h:9:89: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

        const uint8_t *rcm_ptr, const uint64_t value, const uint8_t *diversifier_ptr, const uint8_t *pkd, uint8_t *out_ptr);
                                                                                            ^
  • app/rust/include/commitments.h:9:103: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

        const uint8_t *rcm_ptr, const uint64_t value, const uint8_t *diversifier_ptr, const uint8_t *pkd, uint8_t *out_ptr);
                                                                                                          ^
  • app/rust/include/commitments.h:11:37: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

    void compute_value_commitment(const uint8_t *rcm_ptr, const uint64_t value, uint8_t *out_ptr);
                                        ^
    /__w/ledger-zcash/ledger-zcash/app/rust/include/commitments.h:11:55: error: parameter 'value' is const-qualified in the function declaration; const-qualification of parameters only has an effect in function definitions [readability-avoid-const-params-in-decls,-warnings-as-errors]
    void compute_value_commitment(const uint8_t *rcm_ptr, const uint64_t value, uint8_t *out_ptr);
                                                          ^~~~~~
  • app/rust/include/commitments.h:11:61: error: [clang-diagnostic-error]

    unknown type name 'uint64_t'

    void compute_value_commitment(const uint8_t *rcm_ptr, const uint64_t value, uint8_t *out_ptr);
                                                                ^
  • app/rust/include/commitments.h:11:77: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

    void compute_value_commitment(const uint8_t *rcm_ptr, const uint64_t value, uint8_t *out_ptr);
                                                                                ^
  • app/src/key.h:25:5: error: [clang-diagnostic-error]

    unknown type name 'key_type_e'

        key_type_e kind;
        ^
  • app/src/key.h:26:5: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

        uint8_t len;
        ^
  • app/src/key.h:30:25: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

    zxerr_t key_getNumItems(uint8_t *num_items);
                            ^
  • app/src/key.h:33:21: error: [clang-diagnostic-error]

    unknown type name 'int8_t'

    zxerr_t key_getItem(int8_t displayIdx,
                        ^
  • app/src/key.h:35:21: error: [clang-diagnostic-error]

    unknown type name 'uint16_t'

                        uint16_t outKeyLen,
                        ^
  • app/src/key.h:37:21: error: [clang-diagnostic-error]

    unknown type name 'uint16_t'

                        uint16_t outValueLen,
                        ^
  • app/src/key.h:38:21: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

                        uint8_t pageIdx,
                        ^
  • app/src/key.h:39:21: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

                        uint8_t *pageCount);
                        ^
  • app/src/refactor/txid.h:19:1: error: [clang-diagnostic-error]

    unknown type name 'zxerr_t'

    zxerr_t nu5_transparent_prevouts_hash(const uint8_t *input, uint8_t *output);
    ^
  • app/src/refactor/txid.h:19:45: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

    zxerr_t nu5_transparent_prevouts_hash(const uint8_t *input, uint8_t *output);
                                                ^
  • app/src/refactor/txid.h:19:61: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

    zxerr_t nu5_transparent_prevouts_hash(const uint8_t *input, uint8_t *output);
                                                                ^
  • app/src/refactor/txid.h:21:1: error: [clang-diagnostic-error]

    unknown type name 'zxerr_t'

    zxerr_t nu5_transparent_sequence_hash(const uint8_t *input, uint8_t *output);
    ^
  • app/src/refactor/txid.h:21:45: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

    zxerr_t nu5_transparent_sequence_hash(const uint8_t *input, uint8_t *output);
                                                ^
  • app/src/refactor/txid.h:21:61: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

    zxerr_t nu5_transparent_sequence_hash(const uint8_t *input, uint8_t *output);
                                                                ^
  • app/src/refactor/txid.h:23:1: error: [clang-diagnostic-error]

    unknown type name 'zxerr_t'

    zxerr_t nu5_transparent_outputs_hash(uint8_t *output);
    ^
  • app/src/refactor/txid.h:23:38: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

    zxerr_t nu5_transparent_outputs_hash(uint8_t *output);
                                         ^
  • app/src/refactor/txid.h:25:1: error: [clang-diagnostic-error]

    unknown type name 'zxerr_t'

    zxerr_t nu5_hash_sapling_spends(const uint8_t *input, uint8_t *output);
    ^
  • app/src/refactor/txid.h:25:39: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

    zxerr_t nu5_hash_sapling_spends(const uint8_t *input, uint8_t *output);
                                          ^
  • app/src/refactor/txid.h:25:55: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

    zxerr_t nu5_hash_sapling_spends(const uint8_t *input, uint8_t *output);
                                                          ^
  • app/src/refactor/txid.h:27:1: error: [clang-diagnostic-error]

    unknown type name 'zxerr_t'

    zxerr_t nu5_hash_sapling_outputs(const uint8_t *input, uint8_t *output);
    ^
  • app/src/refactor/txid.h:27:40: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

    zxerr_t nu5_hash_sapling_outputs(const uint8_t *input, uint8_t *output);
                                           ^
  • app/src/refactor/txid.h:27:56: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

    zxerr_t nu5_hash_sapling_outputs(const uint8_t *input, uint8_t *output);
                                                           ^
  • app/src/refactor/txid.h:29:1: error: [clang-diagnostic-error]

    unknown type name 'zxerr_t'

    zxerr_t hash_header_txid_data(const uint8_t *input, uint8_t *output);
    ^
  • app/src/refactor/txid.h:29:37: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

    zxerr_t hash_header_txid_data(const uint8_t *input, uint8_t *output);
                                        ^
  • app/src/refactor/txid.h:29:53: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

    zxerr_t hash_header_txid_data(const uint8_t *input, uint8_t *output);
                                                        ^
  • app/src/refactor/txid.h:31:1: error: [clang-diagnostic-error]

    unknown type name 'zxerr_t'

    zxerr_t hash_transparent_txid_data(const uint8_t *input, uint8_t *output);
    ^
  • app/src/refactor/txid.h:31:42: error: [clang-diagnostic-error]

    unknown type name 'uint8_t'

    zxerr_t hash_transparent_txid_data(const uint8_t *input, uint8_t *output);
                                             ^

Have any feedback or feature suggestions? Share it here.

Please sign in to comment.