-
Notifications
You must be signed in to change notification settings - Fork 825
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
Confidential Transfers feature draft PR #1899
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1899 +/- ##
==========================================
+ Coverage 61.35% 61.37% +0.01%
==========================================
Files 263 267 +4
Lines 23328 23798 +470
==========================================
+ Hits 14314 14606 +292
- Misses 8009 8133 +124
- Partials 1005 1059 +54
|
This LGTM so far, to summarize my understanding here:
Does this sound right? Questions:
|
) | ||
|
||
func TestMsgTransfer_FromProto(t *testing.T) { | ||
testDenon := "factory/sei1ft98au55a24vnu9tvd92cz09pzcfqkm5vlx99w/TEST" |
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.
testDenom*
|
||
remainingBalance := uint64(200) | ||
|
||
// Encrypt the amount using source and destination public keys |
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.
Would it make sense to make this its own function?
func ToProto(transfer *Transfer) *MsgTransfer {}
* scaffolding for new module * keeper scaffolding * scaffold with types * go sum * comments pt1 * comments * drop prev580
* pending balance type * convert apply pending balance to a message type * close account type
* new types * add deposit to msgs * add import issues * revert evm/params to old state * withdraw with tests * small changes * refactor and add tests * comment
* Genesis draft * revert evm params * revert evm params -2 * working simple test * linting * addressing linter errors * remove creating address for now
* add genesis init/export tests * refactor store * confidential transfers queries * working draft test * more tests * refactor tests * all accounts query * formatting * add pagination to request/response * update implementation to use paginated response instead * formatting * remove redundant param * all accounts with denoms * clean up commented code * return GetAccount back to keeper * formatting
* new types * add deposit to msgs * add import issues * revert evm/params to old state * withdraw with tests * small changes * refactor and add tests * comment * refactor initialize type * types * non module account types * msg server methods with module accounts * tests scaffold * add msg server tests * codeql * test issues * test improvements * comments * todo * app
* basic cli and first draft command for ct module * add second command draft * draft of init account * close account update * lint errors
* update codec * cleanup and queryies * enable in module * add other query * fix bug * fix lint * add decryption query * cleanup * validate address * comments * rectify test failures * speed up withdraw test * make other tests slightly faster
* - fix ct account by address and denom REST query - update swagger * - regenerate with latest changes - set module version to 1
* add other tx commands * small fixes * add param validation * fix apply pending balance method * check denom for initialize * add util tests * bug * fix initialize tests
* - add acl mapping for MsgTransfer * transfer message acl dependency tests * acls for initialize account and deposit * acls for withdraw message * acls for apply pending balance * - acls for close account - fix init account test (cause of new check) * formatting * self-review teaks * address review comments
* queries work * comments * update doc * use decryptor instead of from flag * validate decryptor * lint * merge
* Add integration tests * fix test * make tests independent and add transfer test * add to github actions workflow * readability * workflow * err codes * bug
* add ct to load test framework * comment out receiver account creation for now * - add ct account population script - add ct query client - add 4 types of ct messages for load test * - script updates * - add error handling * script updates * formatting * disable state writing for transfers * add metrics * Revert "add metrics" This reverts commit a7814b1. * self review fixes
* save * backend tests passing * test * types test * acl tests * utils * codeql * lint
* save * backend tests passing * test * types test * acl tests * utils * codeql * draft * register subspace * params disable * add scaling gas * update tests * add tests for disable feature * integration tests fees bump * update close account test * lint * comments * comments
* refactor ct cli to use coin format like e.g. 1usei * update integration tests * formatting * update integration tests * update integration tests - 2
* test new verifier * update to prod version * update cryptography version * try optimize test * add optimization * small optimization
…print output (#1979) change pendingBalanceLo in decryptable account object
Describe your changes and provide context
Confidential Transfers feature draft PR
Testing performed to validate your change