Skip to content

App cleanup - #9

Merged
ImplOfAnImpl merged 62 commits into
feature/refactor-too-bigfrom
app_cleanup
Jul 2, 2026
Merged

ImplOfAnImpl merged 62 commits into
feature/refactor-too-bigfrom
app_cleanup

Conversation

@ImplOfAnImpl

@ImplOfAnImpl ImplOfAnImpl commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator
  1. The app can now sign transactions without outputs.
  2. General cleanup was done:
    • Mentions of boilerplate app were removed.
    • Various types were renamed.
    • Mintlayer-specific hashing was encapsulated in the Hasher struct, which implements parity_scale_codec::Output, so temporary allocations during encoding are no longer needed.
    • Documentation was cleaned up.
    • Some cleanup in tests, e.g.: Transaction now contains non-encoded data, unused types were removed from tests/application_client/__init__.py etc.
    • Some other cleanup.

P.S.

  • I left a bunch of FIXMEs, I plan to create an issue for each of them.
  • tools/get_target_id.py was copied from the latest version of the boilerplate app.

…sig); 2) remove unused utils, move Transaction to mintlayer_utils; 3) Transaction now contains unencoded data; 4) tx sig check now expects the proper number of signatures and also checks the returned indices.
…e cleanup; 3) add tx signing tests with large output/input/commitment.
@ImplOfAnImpl
ImplOfAnImpl requested a review from anyxem June 30, 2026 10:49
@ImplOfAnImpl
ImplOfAnImpl force-pushed the app_cleanup branch 2 times, most recently from 40961a5 to 2af4e2a Compare July 2, 2026 10:06
@ImplOfAnImpl
ImplOfAnImpl marked this pull request as ready for review July 2, 2026 10:51
@ImplOfAnImpl
ImplOfAnImpl merged commit 0b975aa into feature/refactor-too-big Jul 2, 2026
33 checks passed
@ImplOfAnImpl
ImplOfAnImpl deleted the app_cleanup branch July 2, 2026 11:10
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