-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
master → docs-staging #7149
Merged
Merged
master → docs-staging #7149
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
* bump docs theme to 1.0.169 * enable topbar banner
* remove hybrid codec for slashing, staking and upgrade * Remove hybridcodec from params and mint * revert staking * Fix gov * Fix ibc and evidence * Fix ibc-transfer * Fix staking * remove evidence json marshaling * Fix tests Co-authored-by: Aaron Craelius <aaron@regen.network> Co-authored-by: Aaron Craelius <aaronc@users.noreply.github.com> Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update genutil collect and gentx to use TxGenerator * Remove print statement * Use Tx in genutil DeliverGenTxs * Use Tx in genutil genesis_state * Use Tx in ValidateGenesis * Use amino txJSONDecoder and txBinaryEncoder in genutil InitGenesis * Use TxConfig in place of TxGenerator * Add gentx tests * Remove commented line * Test fixes * Apply suggestions from code review Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com> * Fixes * Fixes * Fixes * Fixes * Remove unneeded test case (doesn't apply to proto marshaling) * linting * Refactor to use new TxEncodingConfig interface in genutil module * Replace golang/protobuf with gogo/protobuf package * Use TxEncodingConfig in InitTestnet * Remove old amino.go file * Use TxJSONDecoder in genutil ValidateGenesis * Add parameter to ValidateGenesis to resolve the tx JSON decoder issue * Address review feedback Co-authored-by: Jack Zampolin <jack.zampolin@gmail.com> Co-authored-by: Aaron Craelius <aaronc@users.noreply.github.com> Co-authored-by: Aaron Craelius <aaron@regen.network> Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
* Make IBC Msg types use pointers * Fix tests Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Add gRPC proxy * Make GRPC disabled by default * WIP on integration tests * WIP on integration tests * Start setting up in process tests * Start setting up in process tests * Make it compile * Add start server to network util * Add Println * Use go routine * Fix scopelint * Move to proxy_test * Add response type cache * Remove proxy * Tweaks * Use channel to handle error * Use error chan * Update server/start.go Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com> * Use %w * Add sdk.Context * Add comments * Fix lint * Add header and tests * Address comments * Factorize some code * Fix lint * Add height and prove in req metadata * Add reflection test * Fix lint * Put grpc test in server/grpc * Update baseapp/grpcserver.go * Update baseapp/grpcserver.go * Remove proof header Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com> Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com> Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com> Co-authored-by: SaReN <sahithnarahari@gmail.com>
* remove id from clients, build works * fix client state tests * fix tests * address @fedekunze review * Apply suggestions from code review Co-authored-by: colin axner <25233464+colin-axner@users.noreply.github.com> * lint * remove commented-out test case * Update x/ibc/02-client/keeper/keeper_test.go Co-authored-by: colin axner <25233464+colin-axner@users.noreply.github.com> Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com> Co-authored-by: colin axner <25233464+colin-axner@users.noreply.github.com>
* Implement ADR 024 - Coin Metadata * Fix lint * Fix proto lint * Index metadata by denom * Fix test * Fix proto comments * Add GetAllDenomMetaData help method and refactor code accordingly * Add x/bank/keeper/genesis_test.go Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
* x/ibc-transfer: use ibc testing package * coin denom failure * update handler tests * refactor first test in relay * update onrecvtest, failing tests expected due to existing bug * update on acknowledgement test, failing test is expected * refactor timeout test * revert coin validation changed, comment out tests * minor fix * update coordinator.go * update coordinator.go * add comment to fix handler test * add link to issue in handler test * fix test Co-authored-by: Colin Axner <colinaxner@berkeley.edu> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
…ion (#6835) * distribution genesis types migrated to proto * removed types from types/genesis.go * fix lint * added new line proto * staking genesis migrated to proto * fix lint * x/bank: genesis types migrated to proto * fix lint * x/mint: genesis types changed to proto * x/crisis: genesis types changed to proto * Migrate genesis state of x/crisis * add new lines * whitespace * Fix bad merge * added missing field * fixed error Co-authored-by: sahith-narahari <sahithnarahari@gmail.com> Co-authored-by: Aaron Craelius <aaron@regen.network> Co-authored-by: Aaron Craelius <aaronc@users.noreply.github.com>
* added test cases to show errors identified in 6786 * mods to fix remove zero coin mutation in slice Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
* add missing RegisterQueryService * Update generated proto files * Update grpc tests for auth,bank * Make format * fix godoc * Address suggestions * Update godoc
* fix migration * add 039 pkg * lint * Fix pkg name * add v0.39 auth types * remove file * updates * updates * update godoc Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* types: add coins to JSON * add migrate test * finish test * Add panic * fix test
* Migrate gov genesis state * Migrate ibc-transfer genesis state * format genesis proto
Bumps [github.com/golang/mock](https://github.com/golang/mock) from 1.4.3 to 1.4.4. - [Release notes](https://github.com/golang/mock/releases) - [Changelog](https://github.com/golang/mock/blob/master/.goreleaser.yml) - [Commits](golang/mock@v1.4.3...v1.4.4) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
…thPrefixed (#6877) * codec: remove unnecessary allocations in ProtoCodec.MarshalBinaryLengthPrefixed Improve ProtoCodec.MarshalBinaryLengthPrefixed by removing the need to use a *bytes.Buffer and instead use an array and invoke binary.PutUvarint, and directly create the respective length prefixed concatentation. With this change we get the following improvement in all dimenions of throughput, bytes allocated, number of allocations per operation. ```shell $ benchstat before.txt after.txt name old time/op new time/op delta ProtoCodecMarshalBinaryLengthPrefixed-8 295ns ± 2% 177ns ± 3% -39.92% (p=0.000 n=20+20) name old speed new speed delta ProtoCodecMarshalBinaryLengthPrefixed-8 505MB/s ± 2% 841MB/s ± 3% +66.44% (p=0.000 n=20+20) name old alloc/op new alloc/op delta ProtoCodecMarshalBinaryLengthPrefixed-8 576B ± 0% 336B ± 0% -41.67% (p=0.000 n=20+20) name old allocs/op new allocs/op delta ProtoCodecMarshalBinaryLengthPrefixed-8 5.00 ± 0% 3.00 ± 0% -40.00% (p=0.000 n=20+20) ``` Fixes #6875 * Address @marbar3778's feedback Use binary.MaxVarintLen64 instead of 10 Co-authored-by: Marko <marbar3778@yahoo.com> Co-authored-by: Marko <marbar3778@yahoo.com> Co-authored-by: Aaron Craelius <aaron@regen.network>
* x/capability genesis types migrated to proto * added docs * x/genutil: genesis proto migration * fixed package issue * review changes Co-authored-by: Aaron Craelius <aaron@regen.network> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
* WIP on removing StdTx from ante handler tests * Fix recheck * Fix basic_test * Don't use StdTx in ante_test * Use TxConfig sign mode handler in anteHandler * Fix TestAnteHandlerAccountNumbers * Amino don't panic * Fix more tests * All proto ante tests pass * Fix last tests * Amino register concrete * Add tests Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
* Add auth genesis.proto and related changes * Add UnpackInterfaces method to auth GenesisState * Remove unrelevant test case * Update proto/cosmos/auth/genesis.proto Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com> * Add test for auth types ConvertAccountsAny * Apply naming suggestions * Update x/auth/types/genesis_test.go Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com> Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
* Migrate evidence genesis state to proto * Fix lint error * Remove commented code * Clean up * Add UnpackInterfaces to evidence GenesisState * Add cosmos_proto.accepts_interface to evidence any and fix lint error * Add test for x/evidence ExportGenesis and use table tests * Update x/evidence/types/genesis.go Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com> * Update proto/cosmos/evidence/evidence.proto Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com> * Keep []Evidence as return type in GenEvidences * Add GenesisState Validate tests * Add test case for NewGenesisState * Add tests for GenesisState UnpackInterfaces Co-authored-by: SaReN <sahithnarahari@gmail.com> Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com> Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
* add utils * update sign cmd * update multisign cmd * update sign batch cmd * update genutil cmd * add wrap tx builder * update gentx cli * update validate sigs cmd * fix lint * add flag reader to cli * update marshaler for batchscan * add register query server * update to master * remove depricated methods * fix keyring issue * update wraptx * Fix batch scan * fix register interfaces issue * update printOutput * Update Validate Sigs test * WIP on signature JSON * Cleanup * Cleanup * Test fixes * Test fixes * Fixes * WIP on tests * Fix gov tests * fix lint * fix MultiSign tests * fix tests * refactor tests * Cleanup * Address review comments * Update encode * Test fix * Rename SignData func * Fix lint * Fix lint * Revert ReadTxCommandFlags Co-authored-by: Aaron Craelius <aaron@regen.network> Co-authored-by: Aaron Craelius <aaronc@users.noreply.github.com>
* Revert change of StdSignature.PubKey to []byte * Fixes
* x/ibc: final gRPC migration * grpc test * query client consensus states * remove dup type * query constructors * CLI queries * missing cmd * latest consensus state * parser test * register query service * Update x/ibc/02-client/client/cli/query.go Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com> * Update x/ibc/module.go Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com> * few grpc tests * fix tests * final gRPC tests * rm comment * address @colin-axner comment Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
* gen header proto file * fix tm type to proto conversion issues * fix tendermint type tests * fix remaining tests * fix lint * Update x/ibc/07-tendermint/types/header.go Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com> * Update x/ibc/07-tendermint/types/header.go Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com> * apply @fedekunze review suggestions * fix build Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
* verify client state * add client state to msgs and retrieve in handler * fix connection msgs * fixed handshake tests * fix tests * fix sim tests * revert pb edit * add ValidateClient tests * Apply suggestions from code review Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com> * fix tests * fixed msgs test * use ibctesting for client state consts * Apply suggestions from code review Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com> Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com> * address rest of comments * rename to ValidateSelfClient and update spec * lint * Update x/ibc/02-client/keeper/keeper_test.go * Update x/ibc/02-client/keeper/keeper_test.go * complete rest of review * improve cov Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com> Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
…0.7 (#7126) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ibc-transfer: sims updates * params and genesis * sim tests * update module.go * remove dontcover * Update x/ibc-transfer/simulation/decoder.go Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com> Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
* WIP test the grounds * Update ADR020 * Fix compile errors * Fix ADR * Make ante tests pass * Fix remaining ante handler tests * Simplify code * Fix x/bank app_test * Fix tests * Remove useless accSeq from signerdata * Fix test * Update simapp/helpers/test_helpers.go Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com> * Update simapp/helpers/test_helpers.go Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com> * Update x/auth/client/cli/tx_multisign.go Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com> * Address rewview * Update x/auth/ante/sigverify.go Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com> * Update x/auth/ante/sigverify_test.go Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com> * Update x/auth/tx/builder_test.go Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com> * Update x/auth/tx/builder_test.go Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com> * Update x/auth/tx/direct_test.go Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com> * Update x/auth/tx/builder_test.go Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com> * AccSeq -> Seq * Address reviews * Better variable naming * Fix variable assign * Remove old SetSignerInfo * Fix test * proto-gen * Make proto-gen * Reput gw comment * Add Changelog * Update x/bank/app_test.go Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com> * Update x/bank/app_test.go Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com> Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com> Co-authored-by: SaReN <sahithnarahari@gmail.com> Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>
* Fix skip confirm logic * Fix dry run * Update gh actions * Replace switch with if * revert liveness fix * Add key.Sum validation Co-authored-by: Alessio Treglia <alessio@tendermint.com>
* pause work until client refactor resolved * continued scaffolding * add msgs and evidence * add update and misbehaviour functionality * implement cli * various types compile issues * add sig proof and various bug fixes * added rest routes * verification funcs now update sequence number * add sm suite and header test * msgcreateclient and msgupdateclient tests * add basic evidence test * evidence validate basic test * consensus state tests * rm accidental file * add verify con state and channel state, pause work for counterparty commitment type * client state tests added * update clienttype numbers * update test added * add misbehaviour tests * update alias * update cli tx * update import alias * cleanup code * remove todo, tested by evidence tests * add info to err msg * wrapf * Update x/ibc/06-solomachine/client/cli/tx.go Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com> * Update x/ibc/06-solomachine/client/cli/tx.go Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com> * Update x/ibc/06-solomachine/client/cli/tx.go Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com> * Update x/ibc/06-solomachine/client/cli/tx.go Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com> * Update x/ibc/06-solomachine/update.go Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com> * Update x/ibc/23-commitment/types/signature.go Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com> * Update x/ibc/06-solomachine/types/header.go Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com> * apply most of the review suggestions from @fedekunze * remove alias.go * update cli context with master changes * merge selective downstream changes from colin/solomachine * fix build issues * remove signature proof * try to migrate to proto * rm go structs for consensus state and header * address @fedekunze review and continue proto migration * fix proto issues * fix compile bugs in types, proto panics on getpubkey currently * add timestamp * update pubkey to be type sdkcrypto.PublicKey * update timestamp handling * begin removing amino, migrate to proto * fix various build issues * fix most test in types * change sanitize to produce, fix bug, types test passing * begin updating cli * move solomachine into light-clients/ * fix merge issue * update proto and fix cli * more fixes and update proto again * update pubkey to be any * fix string func issue * update tests to use testing pkg * update from tm crypto keys ref to sdk * fix tests 🎉 * increase codecov * address TODOs * address most of @fedekunze comments * add test case for misbehaviour frozen client * fix lint * fix proto lint? * rename Signature to TimestampedSignature * remove chainID * rename FrozenHeight to FrozenSequence * apply verify consensus state changes requested by @AdityaSripal * remove dup check * fix typo in proto file comment Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com> Co-authored-by: Federico Kunze <federico.kunze94@gmail.com> Co-authored-by: Christopher Goes <cwgoes@pluranimity.org>
Bumps [github.com/gorilla/mux](https://github.com/gorilla/mux) from 1.7.4 to 1.8.0. - [Release notes](https://github.com/gorilla/mux/releases) - [Commits](gorilla/mux@v1.7.4...v1.8.0) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
* fix hardcoded auth sims * changelog Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Bumps [github.com/gorilla/handlers](https://github.com/gorilla/handlers) from 1.4.2 to 1.5.0. - [Release notes](https://github.com/gorilla/handlers/releases) - [Commits](gorilla/handlers@v1.4.2...v1.5.0) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Implement simulate endpoint * Add GetProtoTx() * Add signing in test * Add txBuilderFromProto * Remove stray println * Update to master * Merge master * Fix tests * Make tests pass * Integrate in router * Make proto-gen * Fix lint * Really fix lint * Refactor to fix import cycles * Rename builder -> wrapper * Update proto/cosmos/base/reflection/v1beta1/reflection.proto * Fix after merge * t->w Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
* revert localhost not being created * Update x/ibc/02-client/keeper/grpc_query_test.go Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* migrate tm evidence to proto * Update proto/ibc/tendermint/tendermint.proto Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com> Co-authored-by: Aditya <adityasripal@gmail.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
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.
To make sure that
docs-staging
(https://docs.staging-cosmos.network) is up to date.