Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trezor: support v2.5.2+, more tests, fix chaingen, static libusub fix #8752

Merged
merged 2 commits into from
Oct 26, 2023

Commits on Sep 29, 2023

  1. fix chaingen tests

    - fix tx create from sources, input locking. Originally, creating a synthetic transactions with chaingen could create a transaction with outputs that are still locked in the current block, thus failing chain validation by the daemon. Simple unlock check was added. Some buggy tests were fixed as well as new unlock-checking version of tx creation rejected those, fixes are simple - mostly using correct block after a rewind to construct a transaction
    ph4r05 committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    056c996 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2023

  1. trezor: support v2.5.2+, add more trezor tests, fix chaingen and tests

    - passphrase logic: remove backward compatibility for 2.4.3, code cleanup.
    - fix LibUSB cmake for static builds on OSX
    - tests: all tests now work with passphrase logic enabled. Passphrase test added with different passphrase. no_passphrase test added, Trezor pin test added. Testing wallet opening with correct and incorrect passphrase. Trezor test chain revamp, cleanup. Smaller chain, chain file versioning added.
    - tests: Trezor tests support TEST_MINING_ENABLED, TEST_MINING_TIMEOUT env vars to change mining-related tests behaviour.
    - requires protobuf@21 on osx for now (c++14), building with unlinked protobuf: `CMAKE_PREFIX_PATH=$(find /opt/homebrew/Cellar/protobuf@21 -maxdepth 1 -type d -name "21.*" -print -quit) \
    make debug-test-trezor -j8`
    ph4r05 committed Sep 30, 2023
    Configuration menu
    Copy the full SHA
    c444a7e View commit details
    Browse the repository at this point in the history