-
Notifications
You must be signed in to change notification settings - Fork 21
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
Feature/transaction signer service #282
Conversation
sign now returns a TxProposal
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This all looks good to me, nice work!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi! I know this is already merged but I started reviewing last week and only just got to finishing. This looks good to me, and thanks for doing this work. My only vague question was about a test that got commented out but not removed or marked at should fail.
// use diesel_migrations::{revert_latest_migration, run_pending_migrations}; | ||
// use mc_account_keys::{AccountKey, PublicAddress}; | ||
// use mc_common::logger::{test_with_logger, Logger}; | ||
// use rand::{rngs::StdRng, SeedableRng}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we commenting out this migration test?
* Latest migration tester (#281) * feature/limit offset optional (#283) * feature/update-ci-testing (#285) * Feature/switch-to-github-actions (#289) * Implement view-key management through CLI. (#290) * Make .mobconf and rust-toolchain reference mobilecoin submodule (#318) * Max Spendable MOB (#314) * Feature/transaction signer service (#282) * Add faq with precision (#324) * Add change output for zero change (#323) * Updating export VO package for normal accounts (#327) * Docs/fix new updates (#330) * Feature/vo account balance improvements (#328) * e2e tests for view only account flow + documentation updates (#333) * fixed bug (#334)
* Latest migration tester (#281) * feature/limit offset optional (#283) * feature/update-ci-testing (#285) * Feature/switch-to-github-actions (#289) * Implement view-key management through CLI. (#290) * Make .mobconf and rust-toolchain reference mobilecoin submodule (#318) * Max Spendable MOB (#314) * Feature/transaction signer service (#282) * Add faq with precision (#324) * Add change output for zero change (#323) * Updating export VO package for normal accounts (#327) * Docs/fix new updates (#330) * Feature/vo account balance improvements (#328) * e2e tests for view only account flow + documentation updates (#333) * fixed bug (#334) * Implement offline transaction signing in CLI. (#337) * updating gitignore (#341) * Add inputn and output validation (#340) * new release action (#344) * Update actions to include ARM64 build (M1 Mac) (#351) * setting db encryption key earlier (#353) * Fix linker errors related to openssl on Ubuntu 22.04. (#355) * Support BlockVersion 0->2 and mc v1.2.0 (#291) * Upgrade mobilecoin submodule to release 1.2.1. (#357) * only log tx when Token is MOB (#358) * Update cargo lock for mc v1.2.1 (#360) * Get TxLogs by range of blocks (#362) * setting flags for runners for OpenSSL (#364) * Fix build issue with macOS runners (#365)
This is a rather large PR that includes changes to:
Motivation
This is intended to be an intermediary solution for users that wish to be able to sign transactions without requiring the ledger in the cold-wallet offline flow.
Future Work
A further refactor of the transaction signer alongside potential changes to the TransactionBuilder in the mobilecoin library.