Skip to content

Minor improvements#2018

Draft
ImplOfAnImpl wants to merge 6 commits intomasterfrom
minor_improvements
Draft

Minor improvements#2018
ImplOfAnImpl wants to merge 6 commits intomasterfrom
minor_improvements

Conversation

@ImplOfAnImpl
Copy link
Contributor

Another bunch of minor improvements extracted from my other branch:

  • Chainstate order tests didn't check order operations (except creation) with frozen tokens, so I added a separate test for that.

  • common/src/primitives/error.rs contained an unused error type MintlayerError so I removed it.

  • The phrase "hex encoded" was replaced with "hex-encoded" everywhere.

  • In test/functional/wallet_multisig_address.py the call to cli_check_orders_with_filters was erroneously omitted, so I added it back. Also, freeze_order/conclude_order calls in the test were not checking whether the corresponding tx has been submitted successfully or not, this is also fixed.

  • In wallet/src/account/mod.rs I removed the methods process_send_request and process_send_request_and_sign and their callers are now calling select_inputs_for_send_request directly. The reason for the removal is that they were not only redundant, but also inappropriately named, because e.g. process_send_request_and_sign didn't sign anything.

  • Renamed some existing types in wallet/wallet-cli-commands/src/helper_types.rs, so that they all have the "Cli" prefix and introduced more "Cli" types, which are now used in WalletCommand instead of plain strings. Also added more tests.

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.

1 participant