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

Chains/band/cosmos sdk v0.50 #21

Merged
merged 246 commits into from
Sep 30, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
246 commits
Select commit Hold shift + click to select a range
660df4e
build(deps): bump github.com/pelletier/go-toml from 1.9.4 to 1.9.5 (#…
dependabot[bot] Apr 22, 2022
0a0d3ba
build(deps): bump amannn/action-semantic-pull-request from 4.3.0 to 4…
dependabot[bot] Apr 26, 2022
cddd94b
build(deps): bump forbole/juno to v3.2.0 (#400)
huichiaotsou Apr 28, 2022
3b45675
build(deps): bump amannn/action-semantic-pull-request from 4.4.0 to 4…
dependabot[bot] May 5, 2022
07aa008
build(deps): bump github.com/cosmos/gaia/v7 from 7.0.1 to 7.0.2 (#404)
dependabot[bot] May 10, 2022
d0e978f
build(deps): bump golangci/golangci-lint-action from 3.1.0 to 3.2.0 (…
dependabot[bot] May 12, 2022
faecb51
build(deps): bump github.com/prometheus/client_golang from 1.12.1 to …
dependabot[bot] May 16, 2022
7d460ab
build(deps): bump github.com/lib/pq from 1.10.5 to 1.10.6 (#409)
dependabot[bot] May 17, 2022
30e1f3a
fix: save all coins from total supply query (#410)
huichiaotsou May 26, 2022
7d7337c
build(deps): bump forbole/juno to v3.2.1 (#412)
MonikaCat May 27, 2022
37daff5
build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2 (#416)
dependabot[bot] Jun 7, 2022
3af94ce
build(deps): bump github.com/rs/zerolog from 1.26.1 to 1.27.0 (#417)
dependabot[bot] Jun 13, 2022
77cd3b0
build(deps): bump github.com/go-co-op/gocron from 1.13.0 to 1.14.0 (#…
dependabot[bot] Jun 16, 2022
6d75333
build(deps): bump github.com/stretchr/testify from 1.7.2 to 1.7.4 (#424)
dependabot[bot] Jun 21, 2022
443af04
build(deps): bump github.com/spf13/cobra from 1.4.0 to 1.5.0 (#423)
dependabot[bot] Jun 21, 2022
e13edfe
build(deps): bump technote-space/get-diff-action from 6.0.1 to 6.1.0 …
dependabot[bot] Jun 21, 2022
c3d890b
fix: update proposal to latest status in parse proposal cmd (#401)
huichiaotsou Jun 22, 2022
50e9794
build(deps): bump github.com/stretchr/testify from 1.7.4 to 1.7.5 (#425)
dependabot[bot] Jun 24, 2022
b584c6a
build(deps): bump github.com/stretchr/testify from 1.7.5 to 1.8.0 (#428)
dependabot[bot] Jul 1, 2022
73c0ac8
build(deps): bump github.com/go-co-op/gocron from 1.14.0 to 1.15.0 (#…
dependabot[bot] Jul 1, 2022
661c62e
fix: missing go.sum entry when building container image (#429)
maiquanghiep Jul 4, 2022
f9eaebd
feat: Add workflow to build bdjuno container image (#431)
maiquanghiep Jul 6, 2022
49e3089
feat: update proposals that have invalid status but can still be in v…
huichiaotsou Jul 6, 2022
52ce0df
feat: update inflation following mint param change proposal passed (#…
huichiaotsou Jul 6, 2022
e8f3d2e
build: updated Mergify config to also work on chains branches
RiccardoM Jul 19, 2022
3687dcf
build(deps): bump github.com/go-co-op/gocron from 1.15.0 to 1.15.1 (#…
dependabot[bot] Jul 21, 2022
adf2b22
build(deps): bump forbole/juno to v3.3.0 (#440)
MonikaCat Jul 28, 2022
2bbc921
build(deps): bump github.com/go-co-op/gocron from 1.15.1 to 1.16.1 (#…
dependabot[bot] Aug 1, 2022
2a3e297
chore: release v3.2.0
RiccardoM Aug 3, 2022
ad67aeb
build(deps): bump github.com/go-co-op/gocron from 1.16.1 to 1.16.2 (#…
dependabot[bot] Aug 5, 2022
413ffe6
build(deps): bump github.com/prometheus/client_golang from 1.12.2 to …
dependabot[bot] Aug 8, 2022
ea65fc9
fix: remove tombstone from `validator_status` (already exists in `val…
huichiaotsou Aug 8, 2022
d3574df
build(ci): replace DOCKERHUB_TOKEN with DOCKERHUB_PASSWORD
RiccardoM Aug 15, 2022
f6e0cfc
build: go v1.18 (#452)
huichiaotsou Aug 16, 2022
f2847a2
build(deps): bump github.com/go-co-op/gocron from 1.16.2 to 1.16.3 (#…
dependabot[bot] Aug 23, 2022
c01e1de
feat: updated staking pool values (#455)
MonikaCat Aug 24, 2022
9c9712a
build(deps): bump github.com/go-co-op/gocron from 1.16.3 to 1.17.0 (#…
dependabot[bot] Aug 25, 2022
c946ce2
feat: add daily refetch module (#454)
MonikaCat Aug 26, 2022
faa7f4d
build(deps): bump github.com/rs/zerolog from 1.27.0 to 1.28.0 (#460)
dependabot[bot] Aug 29, 2022
bc93e79
fix: parse gov genesis with `doc.InitialHeight` instead of height 1 (…
huichiaotsou Aug 29, 2022
a108238
build(deps): bump github.com/lib/pq from 1.10.6 to 1.10.7 (#463)
dependabot[bot] Sep 7, 2022
48f05f0
build(deps): bump forbole/juno to v3.4.0 (#462)
MonikaCat Sep 12, 2022
4dccf53
fix: get open proposal ids in deposit/voting period by block time ins…
huichiaotsou Sep 15, 2022
f48289c
build(deps): bump amannn/action-semantic-pull-request from 4.5.0 to 4…
dependabot[bot] Sep 28, 2022
696b0ff
build(deps): bump Dockerfile Go version to 1.18 (backport #466) (#474)
mergify[bot] Oct 1, 2022
739acc8
feat: store software upgrade plan and refresh data at upgrade height …
huichiaotsou Oct 4, 2022
80b8862
build(deps): bump github.com/spf13/cobra from 1.5.0 to 1.6.0 (#478)
dependabot[bot] Oct 13, 2022
4b866dc
build(deps): bump amannn/action-semantic-pull-request from 4.6.0 to 5…
dependabot[bot] Oct 13, 2022
f586bd1
build(deps): bump technote-space/get-diff-action from 6.1.0 to 6.1.1 …
dependabot[bot] Oct 17, 2022
f1dbcb5
build(deps): bump amannn/action-semantic-pull-request from 5.0.0 to 5…
dependabot[bot] Oct 17, 2022
3ffdef7
build(deps): Bump amannn/action-semantic-pull-request from 5.0.1 to 5…
dependabot[bot] Oct 18, 2022
26854db
build(deps): bump github.com/go-co-op/gocron from 1.17.0 to 1.17.1 (#…
dependabot[bot] Oct 18, 2022
2b8145e
fix: support building bdjuno image for chains with CosmWasm (#485)
maiquanghiep Oct 24, 2022
a739aa2
build(deps): bump golangci/golangci-lint-action from 3.2.0 to 3.3.0 (…
dependabot[bot] Oct 24, 2022
5d34331
build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1 (#487)
dependabot[bot] Oct 24, 2022
ea862d4
build(deps): bump github.com/spf13/cobra from 1.6.0 to 1.6.1 (#488)
dependabot[bot] Oct 25, 2022
0fe206a
fix: improve Hasura permissions (#473)
MonikaCat Oct 25, 2022
c999075
feat: remove block height foreign key from propoval vote and deposit,…
huichiaotsou Oct 27, 2022
e7d9375
feat: add host address to hasura actions (#491)
huichiaotsou Oct 31, 2022
2422612
build(deps): bump github.com/prometheus/client_golang from 1.13.0 to …
dependabot[bot] Nov 4, 2022
2db82c1
build(deps): bump github.com/prometheus/client_golang from 1.13.1 to …
dependabot[bot] Nov 9, 2022
1147d3b
build(deps): bump github.com/go-co-op/gocron from 1.17.1 to 1.18.0 (#…
dependabot[bot] Nov 9, 2022
a7aa04d
feat: manually trigger periodic task (#492)
huichiaotsou Nov 13, 2022
d326199
fix: check if proposal has passed voting end time before marking it a…
huichiaotsou Nov 14, 2022
6823035
build(deps): bump golangci/golangci-lint-action from 3.3.0 to 3.3.1 (…
dependabot[bot] Nov 15, 2022
d378f58
build(ci): upgrade golangci version (#508)
huichiaotsou Dec 16, 2022
c2728e3
build(deps): bump technote-space/get-diff-action from 6.1.1 to 6.1.2 …
dependabot[bot] Dec 16, 2022
5033d62
build(deps): bump github.com/rs/zerolog from 1.28.0 to 1.29.0 (#516)
dependabot[bot] Jan 30, 2023
20cbb0e
build(deps): bump golangci/golangci-lint-action from 3.3.1 to 3.4.0 (…
dependabot[bot] Jan 30, 2023
4f4508a
build(deps): bump docker/build-push-action from 3 to 4 (#518)
dependabot[bot] Feb 3, 2023
eaac03a
updated cosmos-sdk to v0.46.x and juno to v4
MonikaCat Feb 8, 2023
0ee50ec
updated bdjuno paths to v4
MonikaCat Feb 8, 2023
2bce237
updated migrate cmd desc
MonikaCat Feb 8, 2023
50b77c1
updated golangci.yaml
MonikaCat Feb 9, 2023
b12d56b
build(deps): bump amannn/action-semantic-pull-request from 5.0.2 to 5…
dependabot[bot] Feb 13, 2023
eedd9f6
feat: update proposal snapshots handling on block (#523)
MonikaCat Feb 14, 2023
e1b5ef4
feat: update proposal snapshots handling on block (#523)
MonikaCat Feb 14, 2023
9869cde
fix: fix docker authentication & determine Dockerfile at run time (#524)
maiquanghiep Feb 16, 2023
8573e2f
fix: correct docker/build-push-action's input (#525)
maiquanghiep Feb 17, 2023
83a54c6
Merge branch 'cosmos/v0.44.x' of https://github.com/forbole/bdjuno in…
MonikaCat Feb 17, 2023
3f86471
build(deps): bump golang.org/x/text from 0.3.7 to 0.3.8 (#526)
dependabot[bot] Feb 23, 2023
0dc24f3
build(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2 (#528)
dependabot[bot] Feb 27, 2023
825643f
build(deps): bump golang.org/x/crypto from 0.0.0-20220214200702-86341…
dependabot[bot] Feb 27, 2023
4f63f9b
build(deps): bump golang.org/x/net from 0.1.0 to 0.7.0 (#535)
dependabot[bot] Mar 10, 2023
1c05dd2
build(deps): bump actions/setup-go from 3 to 4 (#538)
dependabot[bot] Mar 16, 2023
26aba2e
build(deps): bump amannn/action-semantic-pull-request from 5.1.0 to 5…
dependabot[bot] Mar 17, 2023
4e03eaa
fix: sdkmath type in PoolSnapshot (#536)
saiSunkari19 Mar 17, 2023
171152c
build(deps): bump forbole/juno and forbole/bdjuno to v4 (#542)
MonikaCat Mar 20, 2023
7ed8123
build(deps): bump github.com/go-co-op/gocron from 1.18.0 to 1.19.0 (#…
dependabot[bot] Mar 20, 2023
16aad0d
build(deps): bump google.golang.org/grpc from 1.50.0 to 1.53.0 (#544)
dependabot[bot] Mar 22, 2023
f529266
build(deps): bump google.golang.org/grpc from 1.53.0 to 1.54.0 (#546)
dependabot[bot] Mar 22, 2023
69ddb3c
Merge branch 'cosmos/v0.44.x' of https://github.com/forbole/bdjuno in…
MonikaCat Mar 27, 2023
e60ca2f
build(deps): bump github.com/spf13/cobra from 1.6.1 to 1.7.0 (#551)
dependabot[bot] Apr 6, 2023
d68d481
build(deps): bump golangci-lint from v1.50.1 to v1.51.1 (#559)
MonikaCat Apr 15, 2023
2443c67
build(deps): bump github.com/go-co-op/gocron from 1.19.0 to 1.22.0 (#…
dependabot[bot] Apr 15, 2023
8143c7f
build(deps): bump github.com/rs/zerolog from 1.29.0 to 1.29.1 (#558)
dependabot[bot] Apr 15, 2023
9620604
build(deps): bump github.com/prometheus/client_golang from 1.14.0 to …
dependabot[bot] Apr 15, 2023
578b589
build(deps): bump github.com/lib/pq from 1.10.7 to 1.10.8 (#561)
dependabot[bot] Apr 17, 2023
98b218f
build(deps): bump github.com/go-co-op/gocron from 1.22.0 to 1.22.1 (#…
dependabot[bot] Apr 17, 2023
64f28db
build(deps): bump github.com/tendermint/tendermint from 0.34.22 to 0.…
dependabot[bot] Apr 18, 2023
e993231
build(deps): bump github.com/go-co-op/gocron from 1.22.1 to 1.22.2 (#…
dependabot[bot] Apr 18, 2023
60b9ef6
build(deps): bump github.com/go-co-op/gocron from 1.22.2 to 1.22.4 (#…
dependabot[bot] Apr 20, 2023
584fe1d
Merge branch 'cosmos/v0.44.x' of https://github.com/forbole/bdjuno in…
MonikaCat Apr 21, 2023
db47fd0
build(deps): bump github.com/go-co-op/gocron from 1.22.4 to 1.23.0 (#…
dependabot[bot] Apr 24, 2023
365f862
Merge branch 'cosmos/v0.44.x' of https://github.com/forbole/bdjuno in…
MonikaCat Apr 27, 2023
8be91a4
build(deps): bump github.com/lib/pq from 1.10.8 to 1.10.9 (#571)
dependabot[bot] Apr 27, 2023
c1e6251
build(deps): bump github.com/prometheus/client_golang from 1.15.0 to …
dependabot[bot] May 4, 2023
cb3249c
build(deps): bump google.golang.org/grpc from 1.54.0 to 1.55.0 (#574)
dependabot[bot] May 5, 2023
5488f36
build(deps): bump github.com/go-co-op/gocron from 1.23.0 to 1.24.0 (#…
dependabot[bot] May 5, 2023
e1d1299
build(ci): update Mergify to only require 1 review
RiccardoM May 5, 2023
b3f0aa9
build(deps): bump github.com/go-co-op/gocron from 1.24.0 to 1.25.0 (#…
dependabot[bot] May 8, 2023
95cb933
build(deps): bump github.com/go-co-op/gocron from 1.25.0 to 1.26.0 (#…
dependabot[bot] May 10, 2023
f103ec7
build(deps): bump github.com/go-co-op/gocron from 1.26.0 to 1.27.0 (#…
dependabot[bot] May 12, 2023
edcf055
build(deps): bump github.com/go-co-op/gocron from 1.27.0 to 1.27.1 (#…
dependabot[bot] May 18, 2023
da02572
chore: update dependabot reviewers & bug report assignees (#579)
MonikaCat May 18, 2023
dff462d
Merge branch 'cosmos/v0.44.x' of https://github.com/forbole/bdjuno in…
MonikaCat May 18, 2023
eacaace
build(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.3 (#582)
dependabot[bot] May 19, 2023
b53a474
Merge branch 'cosmos/v0.44.x' of https://github.com/forbole/bdjuno in…
MonikaCat May 19, 2023
c31ab78
build(deps): bump github.com/go-co-op/gocron from 1.27.1 to 1.28.0 (#…
dependabot[bot] May 25, 2023
2df4fac
Merge branch 'cosmos/v0.44.x' of https://github.com/forbole/bdjuno in…
MonikaCat May 25, 2023
1b86557
build(deps): bump github.com/go-co-op/gocron from 1.28.0 to 1.28.1 (#…
dependabot[bot] May 31, 2023
beb2b93
build(deps): bump github.com/stretchr/testify from 1.8.3 to 1.8.4 (#588)
dependabot[bot] May 31, 2023
58d811f
build(deps): bump github.com/go-co-op/gocron from 1.28.1 to 1.28.2 (#…
dependabot[bot] Jun 2, 2023
0430e8b
build(deps): bump golangci/golangci-lint-action from 3.4.0 to 3.5.0 (…
dependabot[bot] Jun 5, 2023
471cdb3
update juno to v5
MonikaCat Jun 9, 2023
f224f4e
Merge branch 'cosmos/v0.46.x' of https://github.com/forbole/bdjuno in…
MonikaCat Jun 9, 2023
122d038
replace tendermint with cometbft pkg
MonikaCat Jun 9, 2023
05010ea
build(deps): replace github.com/gogo/protobuf with github.com/cosmos/…
MonikaCat Jun 9, 2023
b616cbc
build: bump Go version to 1.20
MonikaCat Jun 9, 2023
fbe11c1
build(deps): bump github.com/forbole/juno to v5.1.0
MonikaCat Jun 9, 2023
a7d6893
build(deps): bump github.com/forbole/bdjuno to v5
MonikaCat Jun 9, 2023
1c3e4e2
build(deps): replace github.com/gogo/protobuf with github.com/cosmos/…
MonikaCat Jun 9, 2023
da4426c
build(deps): bump cosmossdk.io/math from 1.0.0 to 1.0.1 (#596)
dependabot[bot] Jun 9, 2023
fe53071
build(deps): bump github.com/cosmos/gogoproto from 1.4.8 to 1.4.10 (#…
dependabot[bot] Jun 9, 2023
5e2bb1d
build(deps): bump golangci/golangci-lint-action from 3.5.0 to 3.6.0 (…
dependabot[bot] Jun 15, 2023
bd524da
build(deps): bump github.com/go-co-op/gocron from 1.28.2 to 1.28.3 (#…
dependabot[bot] Jun 16, 2023
5abd6af
build(deps): bump github.com/cometbft/cometbft from 0.37.1 to 0.37.2 …
dependabot[bot] Jun 16, 2023
838dc76
build(deps): bump github.com/prometheus/client_golang from 1.15.1 to …
dependabot[bot] Jun 16, 2023
74b570d
build(deps): bump google.golang.org/grpc from 1.55.0 to 1.56.0 (#604)
dependabot[bot] Jun 16, 2023
3babb63
build: update how golangci-lint version is tracked
RiccardoM Jun 25, 2023
8efcc66
build(ci): update lint workflow to use make lint
RiccardoM Jun 25, 2023
87c2dbd
build(ci): run tests on all branches
RiccardoM Jun 25, 2023
4016e70
build(ci): improve Docker build steps names
RiccardoM Jun 25, 2023
0e0f3c9
chore: run make format
RiccardoM Jun 25, 2023
99fec17
chore: update CHANGELOG
RiccardoM Jun 26, 2023
4ea2683
chore: set go module to github.com/forbole/bdjuno/v4
RiccardoM Jun 26, 2023
b01f1c0
build: set Go version to 1.19
RiccardoM Jun 26, 2023
d32fd6a
build(deps): bump technote-space/get-diff-action from 6.1.0 to 6.1.2 …
dependabot[bot] Jun 26, 2023
3b7895b
build(ci): increase linting timeout to 10 minutes
RiccardoM Jun 26, 2023
a724b93
build(ci): replace PATTERNS with SUFFIX_FILTER when computing git diff
RiccardoM Jun 26, 2023
67a1737
feat: support gov v1 proposals (#610)
RiccardoM Jun 29, 2023
43679dc
build(deps): bump google.golang.org/grpc from 1.56.0 to 1.56.2 (#616)
dependabot[bot] Jul 12, 2023
d54b36b
build(deps): bump github.com/go-co-op/gocron from 1.28.3 to 1.30.1 (#…
dependabot[bot] Jul 12, 2023
d11f724
build(deps): bump github.com/proullon/ramsql from 0.0.0-2018121320234…
dependabot[bot] Jul 12, 2023
6c5a3be
build(deps): bump google.golang.org/grpc from 1.56.2 to 1.57.0 (#620)
dependabot[bot] Aug 2, 2023
aec814f
build(deps): bump github.com/rs/zerolog from 1.29.1 to 1.30.0 (#621)
dependabot[bot] Aug 2, 2023
e8bd46f
build(deps): bump github.com/go-co-op/gocron from 1.30.1 to 1.31.0 (#…
dependabot[bot] Aug 2, 2023
5a422be
build(deps): bump github.com/go-co-op/gocron from 1.31.0 to 1.31.2 (#…
dependabot[bot] Aug 18, 2023
9447342
build(deps): bump github.com/golangci/golangci-lint from 1.52.2 to 1.…
dependabot[bot] Aug 18, 2023
458f549
build(deps): bump github.com/forbole/juno/v5 from 5.1.0 to 5.2.0 (#631)
dependabot[bot] Aug 18, 2023
4f9ec86
build(deps): bump github.com/go-co-op/gocron from 1.31.2 to 1.32.1 (#…
dependabot[bot] Aug 22, 2023
784406f
build(deps): bump github.com/proullon/ramsql from 0.0.1 to 0.1.1 (#636)
dependabot[bot] Aug 22, 2023
99cc273
build(deps): bump cosmossdk.io/math from 1.0.1 to 1.1.2 (#635)
dependabot[bot] Aug 22, 2023
90971cb
build(deps): bump github.com/golangci/golangci-lint from 1.54.1 to 1.…
dependabot[bot] Aug 23, 2023
d4d0ea2
build(deps): bump github.com/proullon/ramsql from 0.1.1 to 0.1.2 (#638)
dependabot[bot] Aug 29, 2023
10c4246
build(deps): bump github.com/go-co-op/gocron from 1.32.1 to 1.33.0 (#…
dependabot[bot] Aug 29, 2023
5590c07
build(deps): bump google.golang.org/grpc from 1.57.0 to 1.58.0 (#642)
dependabot[bot] Sep 7, 2023
13b5fdf
build(deps): bump github.com/go-co-op/gocron from 1.33.0 to 1.33.1 (#…
dependabot[bot] Sep 7, 2023
6f35476
build(deps): bump actions/checkout from 3 to 4 (#641)
dependabot[bot] Sep 7, 2023
31ae8b5
feat: add MsgExec support for modules
RiccardoM Sep 11, 2023
617779f
build(deps): Bump docker/setup-buildx-action from 2 to 3 (#645)
dependabot[bot] Sep 15, 2023
54ad4f0
build(deps): Bump docker/login-action from 2 to 3 (#646)
dependabot[bot] Sep 15, 2023
8a6cc4d
build(deps): Bump docker/build-push-action from 4 to 5 (#647)
dependabot[bot] Sep 15, 2023
e2c8896
build(deps): Bump codecov/codecov-action from 3 to 4 (#648)
dependabot[bot] Sep 15, 2023
bff0786
build(deps): Bump github.com/go-co-op/gocron from 1.33.1 to 1.34.0 (#…
dependabot[bot] Sep 20, 2023
1eb66c0
build(deps): Bump github.com/go-co-op/gocron from 1.34.0 to 1.34.1 (#…
dependabot[bot] Sep 21, 2023
90548d6
build(deps): Bump github.com/go-co-op/gocron from 1.34.1 to 1.34.2 (#…
dependabot[bot] Sep 26, 2023
0d05a77
build(deps): Bump github.com/rs/zerolog from 1.30.0 to 1.31.0 (#656)
dependabot[bot] Sep 27, 2023
e75ec6e
build(deps): Bump amannn/action-semantic-pull-request from 5.2.0 to 5…
dependabot[bot] Sep 27, 2023
d6e3f4d
build(deps): Bump github.com/go-co-op/gocron from 1.34.2 to 1.35.0 (#…
dependabot[bot] Oct 3, 2023
505fe0d
build(deps): Bump github.com/prometheus/client_golang from 1.16.0 to …
dependabot[bot] Oct 3, 2023
7b4ec26
feat: update `x/gov` module parsing (#652)
MonikaCat Oct 3, 2023
f167091
build(deps): Bump golang.org/x/net from 0.14.0 to 0.17.0 (#665)
dependabot[bot] Nov 1, 2023
7bef599
build(deps): Bump google.golang.org/grpc from 1.58.0 to 1.59.0 (#667)
dependabot[bot] Nov 1, 2023
3ff75f4
build(deps): Bump github.com/go-co-op/gocron from 1.35.0 to 1.35.3 (#…
dependabot[bot] Nov 1, 2023
bf43f27
build(deps): Bump github.com/golangci/golangci-lint from 1.54.2 to 1.…
dependabot[bot] Nov 1, 2023
f641294
build(deps): Bump github.com/proullon/ramsql from 0.1.2 to 0.1.3 (#660)
dependabot[bot] Nov 1, 2023
472ead2
build(deps): Bump github.com/spf13/cobra from 1.7.0 to 1.8.0 (#674)
dependabot[bot] Nov 23, 2023
6174514
build(deps): Bump github.com/golangci/golangci-lint from 1.55.1 to 1.…
dependabot[bot] Nov 23, 2023
18bb694
build(deps): Bump cosmossdk.io/math from 1.1.2 to 1.2.0 (#677)
dependabot[bot] Nov 23, 2023
78fd2ad
build(deps): Bump github.com/go-co-op/gocron from 1.35.3 to 1.36.0 (#…
dependabot[bot] Nov 23, 2023
f65a87c
build(deps): Bump amannn/action-semantic-pull-request from 5.3.0 to 5…
dependabot[bot] Nov 23, 2023
433afde
build(deps): Bump github.com/go-co-op/gocron from 1.36.0 to 1.37.0 (#…
dependabot[bot] Dec 28, 2023
c9b0544
build(deps): Bump github.com/prometheus/client_golang from 1.17.0 to …
dependabot[bot] Dec 28, 2023
0a9940b
build(deps): Bump golang.org/x/crypto from 0.14.0 to 0.17.0 (#688)
dependabot[bot] Dec 28, 2023
900d294
build(deps): Bump google.golang.org/grpc from 1.59.0 to 1.60.1 (#689)
dependabot[bot] Dec 28, 2023
c2014dc
build(deps): Bump github.com/dvsekhvalnov/jose2go from 1.5.0 to 1.6.0…
dependabot[bot] Dec 29, 2023
340f59b
build(deps): Bump github.com/cometbft/cometbft from 0.37.2 to 0.38.2 …
dependabot[bot] Jan 2, 2024
f8d5948
Merge branch 'cosmos/v0.47.x' of https://github.com/forbole/bdjuno in…
slandymani Jan 23, 2024
0fec8c8
chore: fix typos (#687)
GoodDaisy Feb 1, 2024
ab2774e
build(deps): Bump google.golang.org/grpc from 1.60.1 to 1.61.0 (#697)
dependabot[bot] Feb 1, 2024
366f26e
feat: add `message_type` module and store msg types inside `message_t…
MonikaCat Feb 2, 2024
f7336cc
build(deps): Bump github.com/rs/zerolog from 1.31.0 to 1.32.0 (#705)
dependabot[bot] Feb 5, 2024
175993c
build(deps): Bump actions/setup-go from 4 to 5 (#683)
dependabot[bot] Feb 5, 2024
d744a9f
build(deps): Bump codecov/codecov-action from 4.pre.beta to 4.0.1 (#703)
dependabot[bot] Feb 5, 2024
4590e64
fix: add x/gov module proposal status change from deposit to voting (…
dzmitryhil Feb 5, 2024
3a54294
chore: update BDJuno name to Callisto (#704)
MonikaCat Feb 5, 2024
992d3ec
resolve deps
slandymani Mar 19, 2024
8059ba2
fix deps, remove telemetry module
slandymani Mar 19, 2024
7742825
remove vendor
slandymani Mar 19, 2024
3ca088a
add vendor to gitignore
slandymani Mar 19, 2024
eb27565
update docker-compose
slandymani Mar 19, 2024
025d852
parse oracle module genesis state
slandymani Mar 20, 2024
088ec4e
add relationship to request_data_source table
slandymani Mar 22, 2024
640aa04
fix gov msg handling
slandymani Mar 22, 2024
567ba52
fix nil pointer
slandymani Mar 22, 2024
d4d9b71
add request_id to reports
slandymani Mar 25, 2024
86a9327
add action to get proposals statistics
slandymani Mar 26, 2024
ce130d5
add proposal statistics action to graphQL
slandymani Mar 26, 2024
f57c81a
fix syntax
slandymani Mar 26, 2024
e815a01
update action response
slandymani Mar 26, 2024
3507a0b
fix action query response
slandymani Mar 26, 2024
7551691
add view for daily requests count
slandymani Mar 27, 2024
e47cc27
add daily/monthly tx volume
slandymani Mar 28, 2024
5d5c97a
fix tables.yaml
slandymani Mar 28, 2024
085d0c9
add daily/monthly average tx fee
slandymani Mar 28, 2024
1857a0f
add daily/monthly average tx fee to tables.yaml
slandymani Mar 28, 2024
f0ecede
add avg block time
slandymani Mar 28, 2024
4a668a6
fix avg block time hasura config
slandymani Mar 28, 2024
81a69f7
handle balance changes
slandymani Apr 2, 2024
0d48e60
handle genesis account balances
slandymani Apr 2, 2024
622b001
fix parsing genesis
slandymani Apr 2, 2024
c6eef43
don't check balances for no native accounts
slandymani Apr 2, 2024
4581535
fix saving empty list
slandymani Apr 2, 2024
952301a
fix parsing addresses
slandymani Apr 2, 2024
631ae42
fix: replace message related to json into JSON type from JSONB (#723)
dadamu Apr 17, 2024
cf05236
fix: re-add support for gov v1beta1 messages (#725)
dadamu Apr 17, 2024
d43ec0e
ci: fix secret env name of docker-build (#731)
dadamu Apr 17, 2024
09f92fa
fix: add missing proposal event type handling during update proposal …
dadamu Apr 17, 2024
fa0ad44
update validator status for jailed or unbonding validators
slandymani Apr 22, 2024
868bbd5
feat: add parse gov params command (#735)
dadamu Jun 21, 2024
ca1ebaa
feat: support cosmos-sdk v0.50.x (#746)
dadamu Jun 25, 2024
d52aa2d
merge forbole/cosmos-sdk-v0.50.x and fix oracle module
slandymani Aug 7, 2024
f23a876
remove unused code
slandymani Aug 7, 2024
d078ae1
fix lints
slandymani Aug 7, 2024
3b09ee7
move hasura tables dir to callisto
slandymani Sep 30, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: update proposal to latest status in parse proposal cmd (forbole#401
)

## Description

Closes: #XXXX



Currently proposal status is not updated with `bdjuno parse gov proposal [id]`

---

### Author Checklist

*All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.*

I have...

- [x] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] added `!` to the type prefix if API or client breaking change
- [x] targeted the correct branch
- [ ] provided a link to the relevant issue or specification
- [x] added a changelog entry to `CHANGELOG.md`
- [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
- [ ] updated the relevant documentation or specification
- [x] reviewed "Files changed" and left comments if necessary
- [x] confirmed all CI checks have passed

### Reviewers Checklist

*All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.*

I have...

- [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] confirmed `!` in the type prefix if API or client breaking change
- [ ] confirmed all author checklist items have been addressed
- [ ] reviewed API design and naming
- [ ] reviewed documentation is accurate
- [ ] reviewed tests and test coverage
- [ ] manually tested (if applicable)
  • Loading branch information
huichiaotsou authored Jun 22, 2022
commit c3d890bb9d01c0e1cb903ec689fd825df851420f
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
## Unreleased
### Changes
#### Gov module
- ([\#401](https://github.com/forbole/bdjuno/pull/401)) Update the proposal status to the latest in `bdjuno parse gov proposal [id]` command

### Dependencies
- ([\#412](https://github.com/forbole/bdjuno/pull/412)) Updated Juno to `v3.2.1`

Expand Down
48 changes: 40 additions & 8 deletions cmd/parse/gov/proposal.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ package gov
import (
"encoding/hex"
"fmt"
"strconv"

modulestypes "github.com/forbole/bdjuno/v3/modules/types"
"github.com/rs/zerolog/log"

govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
parsecmdtypes "github.com/forbole/juno/v3/cmd/parse/types"
Expand All @@ -14,7 +16,11 @@ import (
"github.com/forbole/juno/v3/parser"

"github.com/forbole/bdjuno/v3/database"
"github.com/forbole/bdjuno/v3/modules/distribution"
"github.com/forbole/bdjuno/v3/modules/gov"
"github.com/forbole/bdjuno/v3/modules/mint"
"github.com/forbole/bdjuno/v3/modules/slashing"
"github.com/forbole/bdjuno/v3/modules/staking"
"github.com/forbole/bdjuno/v3/utils"
)

Expand All @@ -24,7 +30,10 @@ func proposalCmd(parseConfig *parsecmdtypes.Config) *cobra.Command {
Use: "proposal [id]",
Short: "Get the description, votes and everything related to a proposal given its id",
RunE: func(cmd *cobra.Command, args []string) error {
proposalID := args[0]
proposalID, err := strconv.ParseUint(args[0], 10, 64)
if err != nil {
return err
}

parseCtx, err := parsecmdtypes.GetParserContext(config.Cfg, parseConfig)
if err != nil {
Expand All @@ -39,8 +48,14 @@ func proposalCmd(parseConfig *parsecmdtypes.Config) *cobra.Command {
// Get the database
db := database.Cast(parseCtx.Database)

// Build expected modules of gov modules for handleParamChangeProposal
distrModule := distribution.NewModule(sources.DistrSource, parseCtx.EncodingConfig.Marshaler, db)
mintModule := mint.NewModule(sources.MintSource, parseCtx.EncodingConfig.Marshaler, db)
slashingModule := slashing.NewModule(sources.SlashingSource, parseCtx.EncodingConfig.Marshaler, db)
stakingModule := staking.NewModule(sources.StakingSource, slashingModule, parseCtx.EncodingConfig.Marshaler, db)

// Build the gov module
govModule := gov.NewModule(sources.GovSource, nil, nil, nil, nil, nil, parseCtx.EncodingConfig.Marshaler, db)
govModule := gov.NewModule(sources.GovSource, nil, distrModule, mintModule, slashingModule, stakingModule, parseCtx.EncodingConfig.Marshaler, db)

err = refreshProposalDetails(parseCtx, proposalID, govModule)
if err != nil {
Expand All @@ -57,14 +72,27 @@ func proposalCmd(parseConfig *parsecmdtypes.Config) *cobra.Command {
return err
}

// Update the proposal to the latest status
height, err := parseCtx.Node.LatestHeight()
if err != nil {
return fmt.Errorf("error while getting chain latest block height: %s", err)
}

err = govModule.UpdateProposal(height, proposalID)
if err != nil {
return err
}

return nil
},
}
}

func refreshProposalDetails(parseCtx *parser.Context, proposalID string, govModule *gov.Module) error {
func refreshProposalDetails(parseCtx *parser.Context, proposalID uint64, govModule *gov.Module) error {
log.Debug().Msg("refreshing proposal details")

// Get the tx that created the proposal
txs, err := utils.QueryTxs(parseCtx.Node, fmt.Sprintf("submit_proposal.proposal_id=%s", proposalID))
txs, err := utils.QueryTxs(parseCtx.Node, fmt.Sprintf("submit_proposal.proposal_id=%d", proposalID))
if err != nil {
return err
}
Expand Down Expand Up @@ -94,9 +122,11 @@ func refreshProposalDetails(parseCtx *parser.Context, proposalID string, govModu
return nil
}

func refreshProposalDeposits(parseCtx *parser.Context, proposalID string, govModule *gov.Module) error {
func refreshProposalDeposits(parseCtx *parser.Context, proposalID uint64, govModule *gov.Module) error {
log.Debug().Msg("refreshing proposal deposits")

// Get the tx that deposited to the proposal
txs, err := utils.QueryTxs(parseCtx.Node, fmt.Sprintf("proposal_deposit.proposal_id=%s", proposalID))
txs, err := utils.QueryTxs(parseCtx.Node, fmt.Sprintf("proposal_deposit.proposal_id=%d", proposalID))
if err != nil {
return err
}
Expand Down Expand Up @@ -124,9 +154,11 @@ func refreshProposalDeposits(parseCtx *parser.Context, proposalID string, govMod
return nil
}

func refreshProposalVotes(parseCtx *parser.Context, proposalID string, govModule *gov.Module) error {
func refreshProposalVotes(parseCtx *parser.Context, proposalID uint64, govModule *gov.Module) error {
log.Debug().Msg("refreshing proposal votes")

// Get the tx that voted the proposal
txs, err := utils.QueryTxs(parseCtx.Node, fmt.Sprintf("proposal_vote.proposal_id=%s", proposalID))
txs, err := utils.QueryTxs(parseCtx.Node, fmt.Sprintf("proposal_vote.proposal_id=%d", proposalID))
if err != nil {
return err
}
Expand Down
7 changes: 6 additions & 1 deletion modules/gov/handle_block.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,15 @@ func (m *Module) updateProposals(height int64, blockVals *tmctypes.ResultValidat
}

for _, id := range ids {
err = m.UpdateProposal(height, blockVals, id)
err = m.UpdateProposal(height, id)
if err != nil {
return fmt.Errorf("error while updating proposal: %s", err)
}

err = m.UpdateProposalSnapshots(height, blockVals, id)
if err != nil {
return fmt.Errorf("error while updating proposal snapshots: %s", err)
}
}
return nil
}
10 changes: 7 additions & 3 deletions modules/gov/utils_proposal.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
)

func (m *Module) UpdateProposal(height int64, blockVals *tmctypes.ResultValidators, id uint64) error {
func (m *Module) UpdateProposal(height int64, id uint64) error {
// Get the proposal
proposal, err := m.source.Proposal(height, id)
if err != nil {
Expand Down Expand Up @@ -50,8 +50,11 @@ func (m *Module) UpdateProposal(height int64, blockVals *tmctypes.ResultValidato
if err != nil {
return fmt.Errorf("error while updating account: %s", err)
}
return nil
}

err = m.updateProposalStakingPoolSnapshot(height, id)
func (m *Module) UpdateProposalSnapshots(height int64, blockVals *tmctypes.ResultValidators, id uint64) error {
err := m.updateProposalStakingPoolSnapshot(height, id)
if err != nil {
return fmt.Errorf("error while updating proposal staking pool snapshot: %s", err)
}
Expand Down Expand Up @@ -84,7 +87,7 @@ func (m *Module) updateDeletedProposalStatus(id uint64) error {

// handleParamChangeProposal updates params to the corresponding modules if a ParamChangeProposal has passed
func (m *Module) handleParamChangeProposal(height int64, proposal govtypes.Proposal) error {
if proposal.Status.String() != types.ProposalStatusPassed {
if proposal.Status != govtypes.StatusPassed {
// If the status of ParamChangeProposal is not passed, do nothing
return nil
}
Expand All @@ -99,6 +102,7 @@ func (m *Module) handleParamChangeProposal(height int64, proposal govtypes.Propo
if !ok {
return nil
}

for _, change := range paramChangeProposal.Changes {
// Update the params for corresponding modules
switch change.Subspace {
Expand Down
1 change: 0 additions & 1 deletion types/gov.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import (

const (
ProposalStatusInvalid = "PROPOSAL_STATUS_INVALID"
ProposalStatusPassed = "PROPOSAL_STATUS_PASSED"
)

// DepositParams contains the data of the deposit parameters of the x/gov module
Expand Down