-
Notifications
You must be signed in to change notification settings - Fork 828
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
Add Confidential Transfers Module #1980
Open
mj850
wants to merge
70
commits into
main
Choose a base branch
from
feature/ct_module
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* 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
- update kryptology version
* - remove dead code - add test for keys * - basic test for transfer object * - transfer invalid inputs * - wrong private key test * - refactor tests * - refactor tests - tests for createTransferPartyParams * - add more checks to transfers * - tests for VerifyTransferProofs * - tests for VerifyTransferProofs * fix tests
* change key devrivation * hash again * version * issues * types test * add tests * bump unit test timeout * add fixed prefix before hashing denom * mertge issues
* Consume gas before verifying range proof * bump timeout * uint64 * test issue
* - transfer precompile draft * - formating * - flatten abi.json * - refactor test * - more tests * - self-review tweaks
* - transfer precompile draft * - formating * - flatten abi.json * - refactor test * - more tests * - add transfer with auditors, old tests passing * - add auditors to sol and abi * - self-review tweaks * - transfer with auditors draft * - move auditor conversion logic to a separate method * - tests * - move get account to utils * - add transfer with auditors payload cli support * - fix auditors payload cli * - fix lint warnings * - fix slice size * - add check for empty auditor array * - add panic recover logic to getAuditorsFromArg
* - add sol init account * - precompile + basic tests * self-review tweaks * ct init account payload cli * caller should = the user address * add caller check for transfers * refactor address retrieval logic. Add more tests
* - add sol init account * - precompile + basic tests * self-review tweaks * ct init account payload cli * caller should = the user address * add caller check for transfers * refactor address retrieval logic. Add more tests * support Sei addresses in transfer precompile * add tests for Sei addresses * update tests * self-review tweaks
* - add sol init account * - precompile + basic tests * deposit precompile * refactor test
* - add sol init account * - precompile + basic tests * deposit precompile * refactor test * use caller instead of from address * add amount field comment * few tweaks * roll back init-account changes * remove unintended changes * remove unintended changes - 2 * use caller in transfer * init account precompile integration test * deposit precompile integration test * transfer precompile integration test * self review
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Describe your changes and provide context
This is the working branch for adding the Confidential Transfers module.
Testing performed to validate your change
Associated unit and integration tests have been added here.