Skip to content
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

Addressed a few TODOs in auth #2

Merged
merged 8 commits into from
Jan 9, 2024

Conversation

pratikspatil024
Copy link
Member

More details in this Notion Doc.

Copy link

github-actions bot commented Jan 9, 2024

@pratikspatil024 your pull request is missing a changelog!

@marcello33 marcello33 merged commit 8aceb4f into mardizzone/POS-1956-auth Jan 9, 2024
28 of 43 checks passed
@pratikspatil024 pratikspatil024 deleted the psp-auth-todos branch January 10, 2024 04:35
marcello33 added a commit that referenced this pull request Apr 8, 2024
* POS-1956: solved conflicts

* POS-1956: refactor ante decorators based on heimdall

* POS-1956: remove comment

* POS-1956: revert some minor changes

* chg: rename todo comments

* chg: comments

* Addressed a few TODOs in auth (#2)

* resolved todos in keeper.go (except 1)

* updated x/auth/keeper/grpc_query.go with comments

* added comments in auth/module.go

* removed depinject from auth.ModuleInputs

* resolved TODOs in auth/keeper/genesis (created NewBaseAccount and passed to processor)

* removed some TODOs from x/auth/types/account.go

* added few comments in x/auth/ante/ante.go

* few final comments and modifications

* add: generate proto files

* chg: solve some TODOs

* chg: solve some TODOs / restore multiSign as this won't be anyway used

* chg: solve some TODOs / restore original AccAddress due to new strategy

* chg: solve some TODOs / fix some tests / continue revert on AccAddress

* chg: fix on signers loop

* chg: fix on signers loop / 2

* chg: fix some tests and skip others

* chg: regress to AccAddress for keyring record

* chg: implement Addresses as hex entities / fix build and tests (for auth)

* chg: fix build for other modules

* chg: fix build for simapp / workaround for evidence module

* chg: address more TODOs / use empty default prefix / fix build for prefix changes

* chg: minor changes

* chg: modify auth README

* chg: remove bech32 comments / fix address codec

* chg: improve comments

* chg: rename hex codecs / add 0x prefix on address strings / fix tests accordingly

* chg: add emptyness check on string method for address / restore original txBuilder tests

* chg: more meaningful comments for the upcoming PR reviews

* chg: remove bech22-related code / remove hex prefix / replace feeCollector with bankKeeper / address PR comments

* chg: address PR comments / temp comment out scheduled CI jobs

* chg: delete pulp related files / fix typo

* chg: solve some TODOs / fix some tests and provide context for skipped tests

* chg: remove SetGasMeter call and fix mempool test accordingly

* chg: remove StdTxRaw

* chg: address PR comments

* chg: unskip other tests / distinguish TODO HV2 comments from HV2 comments

* chg: fix VerifyAddressFormat / move fees reletad vars / remove ante handlers in simapp / adapt tests

* chg: skip AccountProcessors for the time being in depInject / Re-enable tests accordingly

* chg: increase test balances to pay for the DefaultMaxFee in heimdall / re-enable TestAccountRetriever test

* chg: update a comment

* chg: remove AccountProcessors until implemented at the end of migration

* chg: add a TODO comment for HV2 sigVerify

* fix typo in client/keys/show.go

Co-authored-by: Sergio Mena <[email protected]>

* chg: better comment for a TODO case

* chg: better comment on TODO action

* chg: add comment for credentials tests

* chg: simplify txFeesSum for keeper_test

* chg: fix comment on AddressBytesToString method

* chg: fix comment on AddressBytesToString method /2

* chg: disable multisig

* chg: implement cometBFT changes and adapt tests accordingly

* chg: address PR comments

* chg: better context for HV2 TODOs

* chg: address comments to remove PublicKey_Secp256K1 cases

* chg: updated cometBFT version to first 0xPolygon release

* chg: address PR comments

* chg: address PR comments

* chg: go mod tidy all

* chg: merge auth

* chg: go mod tidy

* chg: fix tests

* chg: fix TestAminoUnmarshalJSON

* chg: add DefaultFeeInMatic concept in auth README

* chg: address comments

* chg: better comment on panic

* chg: remove vesting accounts from RandomGenesisAccounts during simulation

* chg: update go deps for sdk and simapp

* chg: removed comment for HFs

* chg: remove heimdall types

* chg: fix keyring tests

* Porting: gov module (#7)

* add: port gov module

* chg: implement WeightedVoteOptions with constraints

* chg: better TODOs descriptions

* chg: POS-2135: fix some tests

* chg: POS-2135: fix more tests

* chg: POS-2135: update an address format

* chg: fix few more tests

* chg: fix few more tests

* chg: fix some tests / temp revert some others to properly tune params later on

* chg: fix TestHooks

* chg: fix burn related methods / fix tests

* chg: fix query for WeightedVoteOptions / better comments

* chg: fix all tests in gov module

* chg: fix a staking integration test

* chg: POS-2142: edit gov readme

* chg: use AccAddressFromHex in tests instead of addressCodec

* chg: enable one test / provide better context for the only skipped test

* chg: use hex acc addresses in gov tests

* chg: return empty string on ProposalType normalization

* chg: remove TextProposals / add comment for Msgs auto-execution

* chg: re-enable textProposals / TBD with team

* chg: remove comment

* chg: better context for HV2 TODOs

* chg: filter out non valid proposals msgs types and content

* chg: fix typeUrls

* chg: filter out not supported messages at time of proposals submit / fix tests accordingly

* chg: go mod tidy

* chg: address PR comments: filtering dedicated file / test msg types / edit comments

* chg: register interfaces in gov test app

* chg: better context for comments

* chg: comment for future improvements

* chg: consistent example of gov tx for submit proposal

* chg: add msgServers in testApp to allow additional MsgUpdateParams types

* chg: fix tests after merge

* chg: update go deps for sdk and simapp

* chg: comment

* chg: comment in README for further actions

---------

Co-authored-by: Raneet Debnath <[email protected]>

* Porting: bank module (#5)

* proto,x/bank: initial port of heimdall related changes for bank module

* x/bank: rm moduleName param from SubtractCoins + rm MsgSetSendEnabled,add MsgMultiSend to amino registry + rm unused commented code

* simapp,x/auth,x/bank: address PR comments

* x/bank: change feeAmount to defaultFeeAmount in test

* x/bank: address PR comments

* x/bank: use CreateRandomValidatorSet instead of manually initialising validator set in tests

* x/bank,proto: change heimdall v2 comment format

* all: fix broken simapp dep

* x/bank: rm SetCoins

* x/auth,x/bank: modify bank tests with assertions for fee_collector and account balances

* x/bank: minor code refactors

---------

Co-authored-by: Raneet Debnath <[email protected]>
Co-authored-by: Pratik Patil <[email protected]>
Co-authored-by: Sergio Mena <[email protected]>
Co-authored-by: Raneet Debnath <[email protected]>
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