-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
feat(x/accounts): Add schema caching feature and corresponding test case #20055
Commits on Apr 16, 2024
-
feat(x/accounts): Add schema caching feature and corresponding test case
Signed-off-by: Hwangjae Lee <meetrick@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 0070d42 - Browse repository at this point
Copy the full SHA 0070d42View commit details -
fix(x/accounts): Avoid copying queryServer in its methods
This commit modifies the queryServer struct methods to avoid copying the entire struct by adding a mutex lock. Instead of changing the receiver to a pointer, a mutex named 'mu' is introduced to synchronize access to the struct's fields. This approach minimizes the impact on other functions while ensuring safe concurrent access to the methods. Signed-off-by: Hwangjae Lee <meetrick@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 389c2f1 - Browse repository at this point
Copy the full SHA 389c2f1View commit details -
Signed-off-by: Hwangjae Lee <meetrick@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 4a20c00 - Browse repository at this point
Copy the full SHA 4a20c00View commit details
Commits on Apr 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9169303 - Browse repository at this point
Copy the full SHA 9169303View commit details -
Configuration menu - View commit details
-
Copy full SHA for 33fc9f8 - Browse repository at this point
Copy the full SHA 33fc9f8View commit details
Commits on Apr 22, 2024
-
chore(accounts): Ensure queryServer methods use pointer receivers
- Updated all methods of the queryServer struct to use pointer receivers, ensuring compliance with the v1.QueryServer interface. - Refactored the NewQueryServer function to precalculate and store schemas for efficient schema retrieval. - Initialized the schemaCache with a precomputed length based on the length of precalculated schemas, ensuring efficient memory usage. - Added a schemas field to the queryServer struct to store precalculated schemas. - Updated the AccountQuery and Schema methods to use pointer receivers. - Added comments to describe the purpose of the Schema method. - Ensured the AccountType and AccountNumber methods use pointer receivers. Signed-off-by: Hwangjae Lee <meetrick@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for fcb45ce - Browse repository at this point
Copy the full SHA fcb45ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 718cd59 - Browse repository at this point
Copy the full SHA 718cd59View commit details
Commits on Apr 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5ff10e3 - Browse repository at this point
Copy the full SHA 5ff10e3View commit details -
docs: add authz reference info in the circuit antehandler (cosmos#20146)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 8ea9ff5 - Browse repository at this point
Copy the full SHA 8ea9ff5View commit details -
build(deps): Bump github.com/prometheus/common from 0.52.2 to 0.53.0 (c…
…osmos#20115) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 1cbe3f3 - Browse repository at this point
Copy the full SHA 1cbe3f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b4e783 - Browse repository at this point
Copy the full SHA 0b4e783View commit details -
fix(client/v2): close json file (cosmos#20120)
Signed-off-by: guoguangwu <guoguangwug@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 30f9375 - Browse repository at this point
Copy the full SHA 30f9375View commit details -
Configuration menu - View commit details
-
Copy full SHA for d8ec18f - Browse repository at this point
Copy the full SHA d8ec18fView commit details -
build(deps): Bump cosmossdk.io/x/tx from 0.13.2 to 0.13.3 (cosmos#20149)
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 793c594 - Browse repository at this point
Copy the full SHA 793c594View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d90252 - Browse repository at this point
Copy the full SHA 2d90252View commit details -
refactor(lockup account): Add tests for lockup account (cosmos#19772)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: Marko <marko@baricevic.me>
Configuration menu - View commit details
-
Copy full SHA for 2d614a1 - Browse repository at this point
Copy the full SHA 2d614a1View commit details -
build(deps): Bump bufbuild/buf-setup-action from 1.30.1 to 1.31.0 (co…
…smos#20165) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for ff88c22 - Browse repository at this point
Copy the full SHA ff88c22View commit details -
build(deps): Bump amannn/action-semantic-pull-request from 5.4.0 to 5…
….5.0 (cosmos#20164) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 21a2269 - Browse repository at this point
Copy the full SHA 21a2269View commit details -
Configuration menu - View commit details
-
Copy full SHA for c604ffd - Browse repository at this point
Copy the full SHA c604ffdView commit details -
chore: fix function names (cosmos#20170)
Signed-off-by: cuithon <dscs@outlook.com>
Configuration menu - View commit details
-
Copy full SHA for fd02ae0 - Browse repository at this point
Copy the full SHA fd02ae0View commit details -
Configuration menu - View commit details
-
Copy full SHA for f58c610 - Browse repository at this point
Copy the full SHA f58c610View commit details -
chore: fix malformed struct tag (cosmos#20142)
Signed-off-by: ipangpang <arronipangpang@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 5b61fce - Browse repository at this point
Copy the full SHA 5b61fceView commit details -
Configuration menu - View commit details
-
Copy full SHA for fc9cbe4 - Browse repository at this point
Copy the full SHA fc9cbe4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 062433f - Browse repository at this point
Copy the full SHA 062433fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c7ad722 - Browse repository at this point
Copy the full SHA c7ad722View commit details -
build(deps): Bump github.com/cosmos/cosmos-sdk from 0.50.6-0.20240403…
…102038-f63e5fdf7c96 to 0.50.6 in /tools/hubl (cosmos#20183) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 964c562 - Browse repository at this point
Copy the full SHA 964c562View commit details -
Configuration menu - View commit details
-
Copy full SHA for e868c06 - Browse repository at this point
Copy the full SHA e868c06View commit details -
build(deps): Bump amannn/action-semantic-pull-request from 5.5.0 to 5…
….5.2 (cosmos#20182) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 8767a78 - Browse repository at this point
Copy the full SHA 8767a78View commit details -
fix(testsuite/sims): set all signatures (cosmos#20151)
Co-authored-by: qinglin89 <316032931@qq.com>
Configuration menu - View commit details
-
Copy full SHA for 1a203d1 - Browse repository at this point
Copy the full SHA 1a203d1View commit details -
refactor: migrate to query Consensus Params (cosmos#19600)
Co-authored-by: Julien Robert <julien@rbrt.fr> Co-authored-by: Facundo <facundomedica@gmail.com> Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com> Co-authored-by: Matt Kocubinski <mkocubinski@gmail.com> Co-authored-by: Hieu Vu <72878483+hieuvubk@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 024003f - Browse repository at this point
Copy the full SHA 024003fView commit details -
chore: fix spelling errors (cosmos#20187)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com> Co-authored-by: marbar3778 <marbar3778@yahoo.com> Co-authored-by: Marko <marko@baricevic.me> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 12c7dee - Browse repository at this point
Copy the full SHA 12c7deeView commit details -
feat(x/authz): Add
MsgRevokeAll
(cosmos#20161)Co-authored-by: Tuan Tran <tuantran@notional.ventures> Co-authored-by: Khanh Hoa <khanhoait.bka@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6a5ef16 - Browse repository at this point
Copy the full SHA 6a5ef16View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41cd7b3 - Browse repository at this point
Copy the full SHA 41cd7b3View commit details -
docs(x/auth/tx): fix typo in decodeMultisignatures function comment (c…
…osmos#20190) Signed-off-by: Hwangjae Lee <meetrick@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 426c697 - Browse repository at this point
Copy the full SHA 426c697View commit details -
Configuration menu - View commit details
-
Copy full SHA for 12ab4ca - Browse repository at this point
Copy the full SHA 12ab4caView commit details -
build(deps): Bump cosmossdk.io/x/upgrade from 0.1.2-0.20240403102038-…
…f63e5fdf7c96 to 0.1.2 in /tools/cosmovisor (cosmos#20192) Co-authored-by: Julien Robert <julien@rbrt.fr>
Configuration menu - View commit details
-
Copy full SHA for ff0cbc7 - Browse repository at this point
Copy the full SHA ff0cbc7View commit details -
build(deps): Bump cosmossdk.io/store from 1.0.2 to 1.1.0 (cosmos#20191)
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 2449560 - Browse repository at this point
Copy the full SHA 2449560View commit details -
Configuration menu - View commit details
-
Copy full SHA for 05c820a - Browse repository at this point
Copy the full SHA 05c820aView commit details -
refactor(proto): add denote version annotation (cosmos#20098)
Co-authored-by: Tuan Tran <tuantran@notional.ventures> Co-authored-by: Khanh Hoa <hoa@notional.ventures> Co-authored-by: kienn6034 <kien@notional.ventures>
Configuration menu - View commit details
-
Copy full SHA for 422dc8a - Browse repository at this point
Copy the full SHA 422dc8aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 688163c - Browse repository at this point
Copy the full SHA 688163cView commit details -
test(store/snapshot): fix flaky test (cosmos#20078)
Co-authored-by: cool-developer <51834436+cool-develope@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 8e929f7 - Browse repository at this point
Copy the full SHA 8e929f7View commit details -
docs(lockup): add documentation (cosmos#19898)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for a92ccce - Browse repository at this point
Copy the full SHA a92ccceView commit details -
Configuration menu - View commit details
-
Copy full SHA for b79de2f - Browse repository at this point
Copy the full SHA b79de2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 10fc2b8 - Browse repository at this point
Copy the full SHA 10fc2b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ddeb8d - Browse repository at this point
Copy the full SHA 1ddeb8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for fc07c2f - Browse repository at this point
Copy the full SHA fc07c2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b1c0693 - Browse repository at this point
Copy the full SHA b1c0693View commit details -
Removed mutex in each function
Signed-off-by: Hwangjae Lee <meetrick@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for fafc385 - Browse repository at this point
Copy the full SHA fafc385View commit details -
Configuration menu - View commit details
-
Copy full SHA for 90e1bc8 - Browse repository at this point
Copy the full SHA 90e1bc8View commit details -
Removed cache operation in Schema()
Signed-off-by: Hwangjae Lee <meetrick@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e15cae8 - Browse repository at this point
Copy the full SHA e15cae8View commit details -
Update x/accounts/query_server.go
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 28f3431 - Browse repository at this point
Copy the full SHA 28f3431View commit details
Commits on May 14, 2024
-
Signed-off-by: Hwangjae Lee <meetrick@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ecb8d3f - Browse repository at this point
Copy the full SHA ecb8d3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b943f6f - Browse repository at this point
Copy the full SHA b943f6fView commit details -
Removed unnecessary field from queryServer struct
Signed-off-by: Hwangjae Lee <meetrick@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for f6d2846 - Browse repository at this point
Copy the full SHA f6d2846View commit details
Commits on May 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 848540c - Browse repository at this point
Copy the full SHA 848540cView commit details