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

Test/ldg 662 nano app migrate tests from rust to python rag #3

Open
wants to merge 33 commits into
base: develop
Choose a base branch
from

Conversation

keiff3r
Copy link

@keiff3r keiff3r commented Feb 6, 2025

No description provided.

- Modify public key tests to use account number instead of derivation path
- Switch to Ed25519Slip curve for public key calculation
- Update response unpacking to handle 32-byte public keys
- Add snapshot images for confirmation tests
- Add active test scope markers
- Implement test cases for address retrieval across different wallet types
- Add support for non-confirmation and confirmation modes of address retrieval
- Create test scenarios for address review acceptance and rejection
- Extend command sender and response unpacker to handle address-related operations
- Add snapshot images for address confirmation tests
…complete)

- Implement test cases for signing transactions and messages
- Update transaction and command sender classes to support new signing methods
- Add placeholder tests with TODO comments for future implementation
- Modify response unpacking and transaction serialization logic
- Simplify signing methods with account number and wallet type parameters
- Refactor test_sign_tx_short_tx to test_sign_tx_transfer
- Update transaction signing method to remove account number and wallet type
- Add navigation utility function for cross-device screenshot comparison
- Update command sender to use new SIGN_TRANSACTION instruction
- Add snapshot images for NanoSP and NanoX devices
Minor UI text adjustment in the sign flow to add a period at the end of the "message" text to create a difference between first screen and validation screen
- Update sign_message test with new payload and signature
- Modify command sender to simplify message signing method
- Add screenshot navigation for cross-device testing
- Remove account number and wallet type from signing flow
- Add snapshot images for NanoSP and NanoX devices
- Remove TODO comment for raw transaction and signature
- Add TODO comment for testing other transaction types
- Delete cflite_cron.yml GitHub workflow for periodic fuzzing
- Remove cflite_pr.yml GitHub workflow for PR-based fuzzing
- Delete documentation_generation.yml workflow for generating project docs
src/cell.c Fixed Show fixed Hide fixed
src/cell.c Fixed Show fixed Hide fixed
src/contract.c Fixed Show fixed Hide fixed
src/main.c Fixed Show fixed Hide fixed
src/message.c Fixed Show fixed Hide fixed
src/message.c Fixed Show fixed Hide fixed
src/message.c Fixed Show fixed Hide fixed
src/message.c Fixed Show fixed Hide fixed
src/message.c Fixed Show fixed Hide fixed
src/utils.c Fixed Show fixed Hide fixed
@keiff3r keiff3r requested a review from a team February 13, 2025 08:46
@keiff3r keiff3r marked this pull request as ready for review February 13, 2025 08:46
SliceData_t slice;
SliceData_init(&slice, data, sizeof(bc->public_key_cell_data));
SliceData_move_by(&slice, bc->public_key_label_size_bits);
SliceData_append(&slice, public_key, PUBLIC_KEY_LENGTH * 8, true);

for (int16_t i = bc->public_key_cell_index; i >= 0; --i) {
Cell_t* cell = &bc->cells[i];
Cell_t *cell = &bc->cells[i];

Check notice

Code scanning / CodeQL

Declaration hides variable Note

Variable cell hides another variable of the same name (on
line 311
).
- Introduce `run_test` function to reduce code duplication
- Add new test cases for USDT burn and transaction confirmation
- Maintain existing test coverage for transaction signing
- Improve test structure and readability
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants