Commit Graph

1053 Commits

Author SHA1 Message Date
Marko
355f748add
chore: cleanup core/app (#21368) 2024-08-27 09:55:16 +00:00
dependabot[bot]
58af7ee027
build(deps): Bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.3 (#21410)
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>
2024-08-27 05:49:04 +00:00
dependabot[bot]
3cb95a334f
build(deps): Bump github.com/prometheus/client_golang from 1.20.1 to 1.20.2 (#21395)
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>
2024-08-26 09:57:09 +00:00
XiaoBei
c40cf3e737
refactor: use errors.New to replace fmt.Errorf with no parameters (#21394) 2024-08-25 11:41:31 +00:00
Julien Robert
a554a21a0e
refactor(core,stf,x)!: remove InvokeTyped from router (#21224) 2024-08-23 21:38:06 +00:00
Randy Grok
8ddea56bb2
fix(server/v2/stf): include safety checks to the execution context (#21359) 2024-08-23 10:22:17 +00:00
dependabot[bot]
fb7775ad0c
build(deps): Bump github.com/prometheus/client_golang from 1.20.0 to 1.20.1 (#21375)
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>
2024-08-21 09:22:23 +00:00
Lucas Francisco López
bdb9232ed8
refactor(cli): Standardize Use field convention and update readme (#21369) 2024-08-21 08:36:34 +00:00
Julien Robert
6f30de3a41
refactor: remove x/exp dep (#21281) 2024-08-19 13:14:34 +00:00
dependabot[bot]
0a90d2846f
build(deps): Bump cosmossdk.io/log from 1.4.0 to 1.4.1 (#21345)
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>
2024-08-19 07:17:40 +00:00
Randy Grok
aeeaca64da
feat: export genesis in simapp v2 (#21199)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2024-08-16 11:15:45 +00:00
dependabot[bot]
55a60856de
build(deps): Bump github.com/prometheus/client_golang from 1.19.1 to 1.20.0 (#21307)
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>
2024-08-15 10:42:00 +00:00
Julien Robert
819330872c
build(deps): use Go 1.23 instead of Go 1.22 (#21280) 2024-08-15 08:43:08 +00:00
dependabot[bot]
7f1dd9701c
build(deps): Bump github.com/cosmos/gogoproto from 1.6.1-0.20240809124342-d6a57064ada0 to 1.7.0 (#21284)
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>
2024-08-14 07:18:56 +00:00
Marko
3e413243db
refactor: remove consensus messages (#21248) 2024-08-12 14:19:13 +00:00
Marko
810a542d6b
refactor: zerodep core (#21239) 2024-08-12 12:57:44 +00:00
Adam Tucker
4e97c4951e
feat: module hash by height query (#20779)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: Marko <marko@baricevic.me>
2024-08-10 04:41:27 +00:00
cool-developer
bc698d8bb2
test(store/v2): add the root store unit test (#21208)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2024-08-09 15:11:05 +00:00
dependabot[bot]
668854d16f
build(deps): Bump google.golang.org/grpc from 1.64.1 to 1.65.0 in /simapp (#21228)
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: Julien Robert <julien@rbrt.fr>
2024-08-09 12:51:03 +00:00
dependabot[bot]
1862e38c9c
build(deps): Bump github.com/cosmos/gogoproto from 1.5.0 to 1.6.0 (#21229)
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>
2024-08-09 07:08:53 +00:00
Cosmos SDK
b0ab3aaac4
chore: fix spelling errors (#21220)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2024-08-08 15:10:44 +00:00
Akhil Kumar P
849bccc02a
refactor(server/v2/stf): pass exec mode to validateTx (#21219) 2024-08-08 13:07:55 +00:00
Hieu Vu
57ad13a999
refactor(serverv2/cometbft): Update vote extensions (#21198) 2024-08-08 12:21:00 +00:00
Julien Robert
22fb753099
build(deps): bump proto-builder and regen protos (#21215) 2024-08-08 08:45:15 +00:00
Julien Robert
7040177316
refactor(core,stf): complete gas service + simplify deps (#21166) 2024-08-08 07:30:09 +00:00
dependabot[bot]
7dacef600f
build(deps): Bump cosmossdk.io/log from 1.3.1 to 1.4.0 (#21205)
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>
2024-08-08 05:51:07 +00:00
testinginprod
4dc9469320
feat(stf/router): support backwards compat type URL in router (#21177) 2024-08-07 13:17:42 +00:00
Julien Robert
90fd6320a6
fix(server/v2/cometbft): add tx result for failed tx (#21200) 2024-08-07 13:07:28 +00:00
dependabot[bot]
5a08833386
build(deps): Bump golang.org/x/crypto from 0.25.0 to 0.26.0 (#21189)
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: Julien Robert <julien@rbrt.fr>
2024-08-07 08:53:07 +00:00
dependabot[bot]
655b303675
build(deps): Bump github.com/spf13/cast from 1.6.0 to 1.7.0 (#21190)
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: Julien Robert <julien@rbrt.fr>
2024-08-07 08:52:43 +00:00
Hieu Vu
5b7d8b6d82
test(stf/mock): Unmarshal with knowing the message type (#21178) 2024-08-07 08:34:00 +00:00
Hieu Vu
a0fdab27b2
test(server/v2): Update testdata prune options (#21192) 2024-08-07 08:07:20 +00:00
Hieu Vu
8fb47b368c
feat(server/v2): Add snapshots commands (#21065) 2024-08-06 15:28:30 +00:00
cool-developer
6d4097bfb7
feat(store/v2): implement the feature to upgrade the store keys (#20453)
Co-authored-by: Matt Kocubinski <mkocubinski@gmail.com>
2024-08-05 12:34:36 +00:00
dependabot[bot]
0ddf5c0bfa
build(deps): Bump golang.org/x/sync from 0.7.0 to 0.8.0 (#21169)
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: Hieu Vu <72878483+hieuvubk@users.noreply.github.com>
Co-authored-by: Marko <marko@baricevic.me>
2024-08-05 11:01:41 +00:00
Hieu Vu
a26970e547
refactor(server/v2/cometbft): Consensus get chain-id from viper (#21116) 2024-08-02 14:21:26 +00:00
Julien Robert
e507900e45
chore: check err before logging (#21133) 2024-08-02 07:19:44 +00:00
Christoph Otter
fb9efdf875
docs: Fix cli usage examples (#21150) 2024-08-01 14:19:21 +00:00
Julien Robert
49179ebfec
fix(server/v2/cometbft): fix slice appending (#21142) 2024-08-01 10:00:32 +00:00
Marko
43dd23137e
refactor: remove comet info from consensus as it will be stored in context for v2 (#21120) 2024-07-31 20:21:23 +00:00
Julien Robert
98e09a720d
refactor(server/v2): add missing comet flags (#21123) 2024-07-31 15:58:50 +00:00
Alexander Peters
6b7e9f8935
fix: fixes evidence skipped (#21122) 2024-07-31 13:51:48 +00:00
Marko
df72853b3c
chore: rename snapshots to v2 in store/v2 (#21100) 2024-07-31 13:29:47 +00:00
testinginprod
8b47141655
feat(serverv2): integrate gRPC (#21038)
Co-authored-by: Marko <marko@baricevic.me>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2024-07-30 09:26:16 +00:00
Julien Robert
c4de9a9706
feat: check latest block if no arg in q block and q block-results (#21084) 2024-07-29 22:52:21 +00:00
Alexander Peters
b05bb2601e
fix(stf): fixes to make init genesis pass (#21088)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2024-07-27 18:11:24 +00:00
Cosmos SDK
2e0884564f
chore: fix spelling errors (#21092)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-07-26 15:14:27 +00:00
Aaron Craelius
5c90246b3f
feat(log): remove core dependency and update core interface to be dependency free (#21045)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-07-26 11:00:27 +00:00
riyueguang
9f5ee3a083
chore: fix some comments (#21085)
Signed-off-by: riyueguang <rustruby@outlook.com>
2024-07-26 11:00:15 +00:00
yukionfire
d6ad92db0f
chore(all): replace all fmt.Errorf without paramters with errors.New (#21068) 2024-07-25 14:54:49 +02:00
Alexander Peters
1f0ce2f5b5
refactor(sims)!: Remove Baseapp from sims (#21039) 2024-07-24 12:40:01 +00:00
Hieu Vu
e00145735a
refactor(server/v2/cometbft): typecast SC & SS to correct interfaces (#21050) 2024-07-24 09:22:06 +00:00
Marko
24977a92a2
ci: add 52 labels and ci (#21041) 2024-07-24 07:44:50 +00:00
Hieu Vu
0ca95ee5eb
feat(server/v2) Add prune cmd to serverv2 (#20736) 2024-07-23 16:48:54 +00:00
Julien Robert
544623f3b7
build(deps): add missing replaces and remove unnecessary ones (#21033) 2024-07-23 09:08:41 +00:00
Facundo Medica
9ab162de6d
chore(all)!: use gogoproto/any instead of codec/types/any (#21013) 2024-07-22 11:23:51 +00:00
Akhil Kumar P
71d14f9370
chore(server/v2/cometbft): ensure consistent dash-case in app.toml (#21018) 2024-07-22 10:40:17 +00:00
lfz941
8fe0b22145
docs(server): wrong function comments (#21017) 2024-07-22 10:16:07 +00:00
Julien Robert
8484dc50e2
feat(server/v2/cometbft): config (#20989) 2024-07-22 09:36:35 +00:00
Cosmos SDK
c2a1268f59
chore: fix spelling errors (#20997)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-07-19 14:29:21 +00:00
testinginprod
82646fcd6a
refactor(stf/appmanager): remove the need of recurseStateChanges (#20911) 2024-07-18 11:22:25 +00:00
Qt
3304d0803d
refactor: use errors.New to replace fmt.Errorf with no parameters (#20943)
Co-authored-by: Marko <marko@baricevic.me>
2024-07-18 12:01:45 +02:00
Marko
9436bcb7f2
chore: various cleanup (#20864) 2024-07-18 09:12:58 +00:00
dependabot[bot]
f9f0ca442d
build(deps): Bump github.com/cosmos/crypto from 0.1.1 to 0.1.2 (#20979)
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>
2024-07-18 08:08:34 +00:00
zakir
d8b9b6916a
test: failed to get sub viper (#20981) 2024-07-18 06:49:33 +00:00
testinginprod
86ea861c25
fix(serverv2/cometbft): properly decode and route gRPC transactions (#20808)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: Marko <marko@baricevic.me>
2024-07-16 10:14:02 +00:00
Julien Robert
a567229106
refactor(server/v2): remove unneeded generic type parameters (#20966) 2024-07-16 09:09:01 +00:00
cloudclaim
a22592a648
chore: fix some comments for struct field (#20942)
Signed-off-by: cloudclaim <824973921@qq.com>
2024-07-13 05:02:21 +00:00
dependabot[bot]
5d66cf9450
build(deps): Bump google.golang.org/grpc from 1.64.0 to 1.64.1 (#20920)
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>
2024-07-10 08:09:24 +00:00
Tuan Tran
b5319483ed
chore(docs): fix comments that do not start with the name of the exported element. (#20906) 2024-07-10 06:00:36 +00:00
Aaron Craelius
9d80739d04
chore: remove schema go.mod replaces (#20914) 2024-07-09 12:13:32 +00:00
Aaron Craelius
4857ea1f61
feat(schema): indexing API (#20647) 2024-07-09 11:20:31 +00:00
testinginprod
acfd1ac30a
refactor(auth): decouple auth from x/accounts account abstraction types (#20875) 2024-07-08 14:15:17 +00:00
GnaD
3ec041e535
fix(server/v2): Fix setup for testing TestServer (#20904) 2024-07-08 12:04:04 +00:00
dependabot[bot]
b64fa900d5
build(deps): Bump golang.org/x/crypto from 0.24.0 to 0.25.0 (#20902)
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>
2024-07-08 07:48:08 +00:00
Marko
b68eb39412
refactor(staking)!: remove historical info (#20845)
Co-authored-by: Facundo <facundomedica@gmail.com>
2024-07-05 09:28:49 +00:00
dependabot[bot]
5733d36e17
build(deps): Bump github.com/cometbft/cometbft from 1.0.0-alpha.2.0.20240429102542-490e9bc3de65 to 1.0.0-rc1 in /store (#20883)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2024-07-05 08:37:09 +00:00
Hieu Vu
476edaa90b
feat(simapp/v2): Testnet init command (#20866) 2024-07-05 08:25:54 +00:00
Julien Robert
b63d8404e4
feat(server/v2): add config overwrite (#20874) 2024-07-04 11:13:29 +00:00
Julien Robert
9df6019de6
fix(server/v2): remove dup commands + reduce api surface (#20810) 2024-07-04 08:21:49 +00:00
Hieu Vu
e75f7b506b
refactor(server/v2): Rename server component (#20873) 2024-07-04 08:02:48 +00:00
Julien Robert
f82bb76439
test: remove some deps from testutil/network (#20843) 2024-07-03 12:24:24 +00:00
dependabot[bot]
59f4aa39ed
build(deps): Bump github.com/cometbft/cometbft from 1.0.0-alpha.2.0.20240530055211-ae27f7eb3c08 to 1.0.0-rc1 in /x/auth (#20851)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: sontrinh16 <trinhleson2000@gmail.com>
2024-07-03 10:42:28 +00:00
Marko
4e6507462e
chore: set empty hash to hash of nothing (#20775) 2024-07-02 14:15:44 +00:00
dependabot[bot]
e5c0b4eaf8
build(deps): Bump buf.build/gen/go/cometbft/cometbft/protocolbuffers/go from 1.34.2-20240312114316-c0d3497e35d6.2 to 1.34.2-20240701160653-fedbb9acfd2f.2 in /api (#20833)
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>
2024-07-02 08:47:37 +00:00
dependabot[bot]
07a50eefe2
build(deps): Bump github.com/cosmos/crypto from 0.1.0 to 0.1.1 (#20823)
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: Julien Robert <julien@rbrt.fr>
Co-authored-by: Marko <marko@baricevic.me>
2024-07-01 14:00:31 +00:00
winniehere
b4b9ed9eeb
refactor(server/config): use embed pkg to split default template to file (#20825) 2024-07-01 09:23:30 +00:00
Marko
c7375f7cd3
chore: migrate core to gogoproto.Message (#20781) 2024-06-28 09:34:23 +00:00
dependabot[bot]
ce461a509e
build(deps): Bump github.com/bgentry/speakeasy from 0.1.1-0.20220910012023-760eaf8b6816 to 0.2.0 (#20804)
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>
2024-06-28 08:29:25 +00:00
Julien Robert
afddef3906
refactor(server/v2): simplify servers (#20796) 2024-06-27 19:27:37 +00:00
cool-developer
be0e2eef0c
feat(store/v2): add WorkingHash (#20706) 2024-06-27 17:50:58 +00:00
dependabot[bot]
5f2bcfc416
build(deps): Bump github.com/cosmos/crypto from 0.0.0-20240309083813-82ed2537802e to 0.1.0 (#20793)
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>
2024-06-27 11:28:31 +00:00
archbear
9e89aace91
refactor(server/v2): extend the use of generic transaction type all the way up (#20789) 2024-06-27 10:18:25 +00:00
dependabot[bot]
bf756f0e39
build(deps): Bump github.com/prometheus/common from 0.54.0 to 0.55.0 (#20792)
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>
2024-06-27 09:20:48 +00:00
ocnc2
2936073359
fix(server/v2): make CometBFTServer implement HasStartFlags (#20788) 2024-06-26 23:59:37 +00:00
Julien Robert
43a7b99f67
refactor: add serverv2.Execute helper (#20773) 2024-06-26 14:31:53 +00:00
Marko
ae9116aff1
chore: remove query level todos (#20778) 2024-06-26 10:14:17 +00:00
Julien Robert
5aaff21096
feat: parse home flag earlier (#20771) 2024-06-25 18:53:57 +00:00
Marko
524a84c3ba
chore: allow queries to be routed to abci.Query (#20774) 2024-06-25 16:11:34 +00:00
dependabot[bot]
340f85f512
build(deps): Bump buf.build/gen/go/cometbft/cometbft/protocolbuffers/go from 1.34.1-20240312114316-c0d3497e35d6.1 to 1.34.2-20240312114316-c0d3497e35d6.2 in /api (#20765)
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: son trinh <trinhleson2000@gmail.com>
2024-06-25 09:02:38 +00:00
Marko
7678585b13
feat: use comet async clients (#20757) 2024-06-24 18:56:09 +00:00
Julien Robert
ab1433bf16
feat(server/v2): compartmentalize server components commands (#20743) 2024-06-24 09:17:02 +00:00
Julien Robert
c823d18def
refactor(server/v2): simplify server component init (#20742) 2024-06-21 10:14:50 +00:00
Matt Kocubinski
88da9eff4f
fix(stf): fix router.InvokeTyped reflection usage (#20741) 2024-06-20 15:53:25 +00:00
testinginprod
11b8f1108c
feat(stf): change router service to extract the router at runtime rather than build time (#20724)
Co-authored-by: unknown unknown <unknown@unknown>
2024-06-20 13:45:26 +00:00
Hieu Vu
8ab643dc10
feat(server/v2): add config & start helper (#20505)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: Marko <marko@baricevic.me>
Co-authored-by: Matt Kocubinski <mkocubinski@gmail.com>
Co-authored-by: Likhita Polavarapu <78951027+likhita-809@users.noreply.github.com>
Co-authored-by: unknown unknown <unknown@unknown>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-06-19 17:19:57 +00:00
Matt Kocubinski
2d014b26c2
feat: simapp/v2 (#20412)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: Marko <marko@baricevic.me>
Co-authored-by: Likhita Polavarapu <78951027+likhita-809@users.noreply.github.com>
Co-authored-by: unknown unknown <unknown@unknown>
2024-06-19 15:18:32 +00:00
testinginprod
55821b328a
feat(stf): port stf's simappv2 changes. (#20611)
Co-authored-by: unknown unknown <unknown@unknown>
2024-06-18 21:06:38 +00:00
dependabot[bot]
4b9dca03b4
build(deps): Bump github.com/spf13/cobra from 1.8.0 to 1.8.1 (#20682)
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: Julien Robert <julien@rbrt.fr>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-06-17 09:16:45 +00:00
Hieu Vu
9ab7d397bb
(serverv2/cometbft) Commands support both json and yaml output (#20670) 2024-06-17 06:43:24 +00:00
fudancoder
433e3fd6d9
chore: make function comment match function names (#20666)
Signed-off-by: fudancoder <fudancoder@icloud.com>
2024-06-13 21:45:49 +00:00
Ties
e3177868e0
chore: fix typos (#20662) 2024-06-13 14:44:54 +00:00
dependabot[bot]
2e774b973d
build(deps): Bump google.golang.org/protobuf from 1.34.1 to 1.34.2 (#20632)
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: son trinh <trinhleson2000@gmail.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: Marko <marko@baricevic.me>
2024-06-13 08:57:14 +00:00
Hieu Vu
8d205afbb3
(serverv2/cometbft) Read config from commands & handle FlagNode (#20621) 2024-06-12 18:27:19 +00:00
Marko
28fa3b8dfc
chore: use comet api pkg instead of comet alias (#20614) 2024-06-11 08:46:04 +00:00
testinginprod
e799965ec8
feat(stf): port simappv2 changes (#20587)
Co-authored-by: unknown unknown <unknown@unknown>
2024-06-10 07:55:23 +00:00
dependabot[bot]
dc558b1ce6
build(deps): Bump github.com/cosmos/gogoproto from 1.4.12 to 1.5.0 (#20563)
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>
2024-06-06 08:26:02 +00:00
dependabot[bot]
3ef628d5cb
build(deps): Bump github.com/cometbft/cometbft/api from 1.0.0-alpha.2.0.20240530055211-ae27f7eb3c08 to 1.0.0-rc.1 (#20552)
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>
2024-06-06 08:06:43 +00:00
testinginprod
fe22e9a5da
feat(core): add coretest package (#20487)
Co-authored-by: unknown unknown <unknown@unknown>
2024-06-05 22:11:33 +00:00
Marko
0536cb490f
chore: cleanup stf deps (#20545) 2024-06-05 09:26:47 +00:00
dependabot[bot]
0ba790645b
build(deps): Bump golang.org/x/crypto from 0.23.0 to 0.24.0 (#20542)
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>
2024-06-05 07:42:20 +00:00
dependabot[bot]
6ea50ef980
build(deps): Bump github.com/prometheus/common from 0.53.0 to 0.54.0 (#20534)
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: Julien Robert <julien@rbrt.fr>
2024-06-04 08:55:12 +00:00
Julien Robert
2a5ff384fa
refactor(x/**): rewrite ante handlers as tx validators (#20488)
Co-authored-by: Likhita Polavarapu <78951027+likhita-809@users.noreply.github.com>
2024-06-03 16:47:58 +00:00
dependabot[bot]
ba4bc19175
build(deps): Bump github.com/spf13/viper from 1.18.2 to 1.19.0 (#20519)
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: son trinh <trinhleson2000@gmail.com>
2024-06-03 07:24:47 +00:00
tianyeyouyou
2e966a8f3e
refactor(server/v2/cometbft): update function comments (#20506) 2024-05-31 14:29:29 +00:00
Alexander Peters
a6857962c5
chore: Address linter issues (#20486) 2024-05-31 08:51:41 +00:00
Matt Kocubinski
46d6406ab3
feat(server/v2): introduce cometbft v2 (#20483) 2024-05-31 00:30:15 +00:00
Matt Kocubinski
ac493742f1
refactor(core): remove redundant ExecMode (#20322) 2024-05-29 16:27:07 +00:00
dependabot[bot]
805bbbb6ad
build(deps): Bump bufbuild/buf-setup-action from 1.32.1 to 1.32.2 (#20477)
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: son trinh <trinhleson2000@gmail.com>
2024-05-29 07:36:45 +00:00
Marko
e6e1a853de
refactor(core,server): make commands not rely on server context (#20422)
Co-authored-by: Hieu Vu <72878483+hieuvubk@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-05-28 13:07:36 +00:00
Marko
1b47dc91a3
chore: move logger to core (#20388) 2024-05-28 12:30:09 +00:00
dependabot[bot]
98ba5b42a3
build(deps): Bump github.com/rs/zerolog from 1.32.0 to 1.33.0 (#20446)
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>
2024-05-24 09:37:33 +00:00
Marko
d7cc6de7cc
chore: upstream more changes from v2 (#20387)
Co-authored-by: Matt Kocubinski <mkocubinski@gmail.com>
2024-05-17 10:58:52 +00:00
Aaron Craelius
53925ef5fd
refactor!: turn MsgsV2 into ReflectMessages to make it less confusing (#19839)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: sontrinh16 <trinhleson2000@gmail.com>
Co-authored-by: Marko <marko@baricevic.me>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-05-16 09:55:08 +00:00
Julien Robert
f02a124667
refactor(runtime,core): split router service (#20401) 2024-05-16 08:04:40 +00:00
dependabot[bot]
16437119e0
build(deps): Bump google.golang.org/grpc from 1.63.2 to 1.64.0 (#20390)
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>
2024-05-15 13:04:59 +00:00
Matt Kocubinski
7ae23e287a
chore: upstream runtime/v2 (#20320)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-05-14 12:43:28 +00:00
Hoa Nguyen
22aa95ccbd
chore: make fmt.Errorf use %w to wrap error instead of %v (#20350) 2024-05-12 08:11:25 +00:00
Kien Trinh
0c91044220
refactor: remove directive errors comparison (#20344) 2024-05-10 19:09:21 +00:00
Marko
946c62410f
chore: upstream app manager (#20315)
Co-authored-by: testinginprod <98415576+testinginprod@users.noreply.github.com>
2024-05-10 15:44:17 +00:00
dependabot[bot]
ec9155a923
build(deps): Bump github.com/cosmos/iavl from 1.1.2 to 1.1.4 in /store (#20334)
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>
2024-05-10 12:24:39 +00:00
Marko
62b0b26d0c
chore: migrate sdk.Msg to transaction.type (#20273)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Hieu Vu <72878483+hieuvubk@users.noreply.github.com>
2024-05-10 10:23:22 +00:00
dependabot[bot]
98471350e4
build(deps): Bump github.com/hashicorp/go-hclog from 1.5.0 to 1.6.3 in /store (#20336)
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>
2024-05-10 09:19:54 +00:00
Marko
83c4b9bfb4
chore: upstream stf to main (#20286)
Co-authored-by: testinginprod <98415576+testinginprod@users.noreply.github.com>
2024-05-08 14:50:52 +00:00
Marko
0dfb54e36a
refactor! : bump comet to v1 (#19726)
Co-authored-by: yihuang <yi.codeplayer@gmail.com>
2024-05-06 14:12:00 +00:00
Cosmos SDK
fbb94f437f
chore: fix spelling errors (#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>
2024-04-25 17:32:55 +00:00
Marko
8e60f3b7eb
chore: remove grpc-web (#20140) 2024-04-23 06:47:17 +00:00
ipangpang
1bd4351241
style: remove redundant import alias (#20109)
Signed-off-by: ipangpang <arronipangpang@gmail.com>
2024-04-21 19:03:43 +00:00
yihuang
84c64b204d
fix(server): bootstrap-state command can't parse latest genesis format (#20020) 2024-04-15 09:49:42 +00:00
Lucas Francisco López
2496cfdf51
feat: Conditionally emit metrics based on enablement (#19903)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2024-04-11 20:32:52 +00:00
Julien Robert
57b659e2c2
chore(confix): update latest config value (#20012) 2024-04-11 14:21:08 +00:00
son trinh
a0d727eebc
refactor(x/auth): auth module can recognize x/accounts account (#20002) 2024-04-11 09:56:37 +00:00
Tom
1d2a795eaf
fix(mempool): use no-op mempool as default (#19970)
Co-authored-by: Marko <marko@baricevic.me>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-04-11 08:55:13 +00:00
Marko
b2835eb78b
chore: linting fixes (#19978) 2024-04-08 18:12:10 +00:00
Julien Robert
def211d868
feat(server): add custom start handler (#19854) 2024-03-27 07:12:49 +00:00
Qt
2bfc037a07
docs: update docs (#19676)
Co-authored-by: son trinh <son@decentrio.ventures>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-03-08 16:59:11 +00:00
Julián Toledano
25aea8af8a
refactor!: remove global config from x/auth and client (#19447) 2024-03-06 13:14:16 +00:00
Julien Robert
316750cc8c
chore(server): implement comment (#19569) 2024-02-27 07:55:37 +00:00
Devon Bear
23359a0b6d
feat(server): Allow calling back into the application struct in PostSetup. (#19455)
Co-authored-by: Marko <marbar3778@yahoo.com>
2024-02-26 16:15:01 +00:00
Julien Robert
b304cf7556
refactor!: kill basic manager (#19512) 2024-02-22 14:44:49 +00:00
Adam Tucker
35fe6c4ccd
fix: in-place-testnet edgecases (#19516) 2024-02-22 13:21:58 +00:00
Cosmos SDK
8c002c6249
chore: fix spelling errors (#19408)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-02-12 21:48:52 +00:00
Adam Tucker
89df28ceb9
feat(server): in-place testnet creator (#19280) 2024-02-12 10:53:07 +00:00
Connor Davis
3e05255956
fix(simapp): home flag is not respected (#18994)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-01-30 21:38:22 +00:00
Cosmos SDK
fcf28a2c3a
chore: fix spelling errors (#18919)
Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>
2023-12-29 15:38:16 +00:00
Marko
b720cc7302
refactor(server)!: remove duplicate bech32 prefix endpoint (#18909) 2023-12-28 20:22:07 +00:00
Cosmos SDK
14e261eb73
chore: fix spelling errors (#18734)
Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-12-13 14:05:58 +00:00
Cosmos SDK
8f0d5b15f0
chore: typos fixes by cosmos-sdk bot (#18689)
Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2023-12-11 13:03:19 +00:00
Devon Bear
3ba1c5bf26
feat(telemetry): enable statsd and dogstatsd telemetry sinks (#18646)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: Marko <marko@baricevic.me>
2023-12-09 22:00:31 +00:00
Julien Robert
875a71cc6f
fix(server): properly parse multiple gas config (#18537) 2023-11-22 15:13:44 +00:00
Robert Zaremba
8c7e694117
feat(server): cmd flag to disable colored logs (#18478) 2023-11-19 14:50:18 +00:00
Marko
03c3f8e71f
refactor(tests): testutil.Network as an interface (#18389)
Co-authored-by: Anmol <anmol1696@gmail.com>
2023-11-08 18:38:57 +00:00
Emmanuel T Odeke
05261cc46e
refactor(x/auth): spin out go.mod (#18351) 2023-11-07 11:42:58 +00:00
Julien Robert
bf82c750a1
refactor(simapp): un-wire crisis (#18380) 2023-11-07 08:51:48 +00:00
Julien Robert
9e91c7b419
fix(client,server): consistently set env prefix between client/server (#18345) 2023-11-03 09:58:26 +00:00
Marko
f03b396c8a
chore: remove mint imports in the sdk (#18307) 2023-10-31 10:30:38 +00:00
Julien Robert
d82503e24e
refactor(x/genutil,server): add export functions to x/gentutil (#18303) 2023-10-30 15:49:49 +00:00
Chenqun Lu
a37830383d
fix(snapshot): grant execution permissions to the snapshot dir for the owner (#18294)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-10-29 08:32:38 +00:00
Marko
21e69bad04
refactor(bank): add go module (#18279) 2023-10-27 09:25:04 +00:00
yihuang
793ca9a872
perf: parse chain-id from big genesis file could be slow (#18204)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-10-26 08:14:52 +00:00
Marko
331e106b97
fix: use a lower file permission in file creation (#18206) 2023-10-26 07:48:36 +00:00
Marko
2a6640d488
refactor(staking): add go.mod (#18257) 2023-10-26 07:39:34 +00:00
Julien Robert
894bebc210
fix(server): don't hardcode grpc address to localhost (#18254)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-10-25 18:04:58 +00:00
Philip Offtermatt
31f5bc07e9
feat(server): start grpc server and register services in standalone mode (#18110)
Co-authored-by: Marko <marko@baricevic.me>
2023-10-18 10:32:53 +00:00
testinginprod
5edabb5cb0
feat(baseapp): Add Hybrid Protobuf handlers to MsgServiceRouter (#18071)
Co-authored-by: unknown unknown <unknown@unknown>
2023-10-12 15:25:28 +00:00
Marko
1be29b744b
refactor(server): use bootstrap api from comet (#17899) 2023-09-27 17:23:42 +00:00
Marko
65a1ec64f7
chore: remove params module entirely (#17838) 2023-09-22 13:51:37 +00:00
Chill Validation
c92b25784c
feat: Wait shutdown-grace-seconds to flush async db writes to disk (#17094)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-09-15 08:19:34 +00:00
zakir
b094b65aa0
fix(config): mempool.max-txs configuration is invalid (#17649) 2023-09-07 05:40:17 +00:00
yihuang
202c291c4a
remove duplicated app.Close call (#17619)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
2023-09-05 07:16:35 +00:00
Julien Robert
6601713eb6
feat(client): allow overwritting client.toml (#17513) 2023-08-29 08:40:13 +00:00
Julien Robert
03fb7da26d
fix(log): custom marshaller produce invalid data (#17532) 2023-08-25 13:14:24 +00:00
mmsqe
751c0c892c
fix(rpc): change the default json-rpc listen address to localhost (#17470) 2023-08-23 12:55:21 +00:00
Julien Robert
6b0f8add45
fix: use correct config key for db_backend (#17406)
Co-authored-by: Kevin Yang <5478483+k-yang@users.noreply.github.com>
2023-08-16 18:29:41 +00:00
Julien Robert
208219a428
feat: use autocli for comet commands (#17389) 2023-08-16 10:47:34 +00:00
Julien Robert
f8f4c35a9f
refactor(types)!: remove handler and update docs (#17358) 2023-08-11 10:45:42 +00:00
Dev Ojha
dea5b97eb2
feat!: Add gas limits to queries (#16239)
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-08-08 20:30:29 +00:00
zakir
c36c86005f
refactor(cli): remove duplicate --home flag (#17215) 2023-08-01 09:42:32 +00:00
zakir
f47749b9f0
fix: text output format of block-results cmd cli (#17183)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-07-31 12:42:44 +00:00
Julien Robert
898f66aacd
refactor: remove iavl-lazy-loading from config (#17177) 2023-07-28 13:29:20 +00:00
larry
ca74dcce7e
feat: Add CLI commands: 1) simulate a transaction, 2) query block results (#16887)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
2023-07-12 17:36:00 +00:00
ruthishvitwit
fd7e549a3c
chore: enable errcheck linter (#16406) 2023-07-12 08:58:27 +00:00
Facundo Medica
ebe97e5e12
fix: Revert 16794 (#16895) 2023-07-10 07:45:48 +00:00
Facundo Medica
0fd6227a06
fix: remove setting of finalizeBlockState in FinalizeBlock + fix initialHeight + add ProcessProposal in tests/sims (#16794)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-07-06 13:33:10 +00:00
Julien Robert
8d80df8e3c
fix: properly use --trace flag (#16827) 2023-07-04 19:11:27 +00:00
Jacob Gadikian
f0aec3f30d
style: use thelper (#16777) 2023-07-03 13:33:05 +00:00
Julien Robert
e4e7922cea
refactor(genutil): audit (#16818) 2023-07-03 12:29:46 +00:00
Julien Robert
ae39e8e631
build(deps): use hashicorp/go-metrics instead of armon/go-metrics (#16790) 2023-06-30 14:21:57 +00:00
Julien Robert
a067ef6f37
fix: revert f235aae (part 2) (#16697) 2023-06-27 13:48:30 +00:00
yihuang
0a7bb0600b
feat: make abci handshake graceful interruptible (#16206) 2023-06-27 02:05:37 +00:00
Jacob Gadikian
8d4ff7a19a
style: bump golangci-lint (#16667) 2023-06-23 12:49:34 +00:00
Jacob Gadikian
6afece635c
style: add gci linter (#16605) 2023-06-22 15:35:51 +00:00
Emmanuel T Odeke
99a570a7aa
chore: properly propagate fmt.Errorf errors + use errors.New (#16537)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2023-06-22 09:50:07 +00:00
yihuang
c63d5fa75e
refactor: cleanup profiling code with equivalent one (#16634) 2023-06-21 11:44:02 +00:00
cool-developer
3e18f4088b
feat: update store module for new iavl (#15568)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-06-06 19:08:35 +00:00
Julien Robert
b590b09107
chore: small snapshot commands & docs improvement (#16404) 2023-06-02 12:02:08 +00:00
Julien Robert
0bded0d195
fix: do not overwrite comet config when set in InterceptConfigsPreRunHandler (#16395) 2023-06-01 11:21:28 +00:00
Aaron Craelius
82659a7477
refactor!: deprecate sdk.Msg.GetSigners (#15284)
Co-authored-by: Matt Kocubinski <mkocubinski@gmail.com>
2023-05-25 18:35:09 +00:00
Aleksandr Bezobchuk
6cee22df52
feat!: Comet v0.38 Integration (#15519)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: cool-developer <51834436+cool-develope@users.noreply.github.com>
Co-authored-by: Aaron Craelius <aaron@regen.network>
Co-authored-by: Matt Kocubinski <mkocubinski@gmail.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-05-24 16:09:19 +00:00
Dev Ojha
b500b0104f
refactor: Apply Yihuang's server blocking improvement (#16252) 2023-05-23 09:25:47 +00:00
Dev Ojha
38f27e3d1a
refactor: More cleanup of server/start.go (#16238) 2023-05-22 11:25:10 +00:00
yihuang
de75e568b4
feat: make StartCmd more customizable (#16209) 2023-05-19 09:41:29 +00:00
yihuang
09ca393a19
feat: add Close method for resource cleanup in graceful shutdown (#16193)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-05-17 20:04:43 +00:00
Dev Ojha
9329a00e93
refactor: Split up server functions a bit (#16152)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2023-05-17 12:52:19 +00:00
Dev Ojha
94dec7a4d6
perf: Remove indentation in REST respones (#16142) 2023-05-13 15:10:31 +00:00
yihuang
c1ceb3bdda
feat: add local snapshots management commands (#16067)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-05-11 10:11:31 +00:00
Marko
25df90d0fc
feat!: bootstrap comet cmd for local state sync (#16061)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: HuangYi <huang@crypto.com>
2023-05-10 10:25:07 +00:00
Julien Robert
0da5e83176
feat: default to noop mempool when max-txs is negative (#16071) 2023-05-09 17:41:20 +00:00
dependabot[bot]
6403d76c48
build(deps): Bump google.golang.org/grpc from 1.54.0 to 1.55.0 in /errors (#16055)
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: marbar3778 <marbar3778@yahoo.com>
2023-05-08 13:04:23 +00:00
Julien Robert
16e940df55
chore: rename comet logger wrapper (#15983) 2023-04-28 14:36:09 +00:00
Facundo Medica
428e19f4f0
refactor(x/distribution)!: Use KVStoreService, context.Context and return errors instead of panic (#15948) 2023-04-27 13:26:51 +00:00
Julien Robert
ebcad58468
fix(autocli): fix simapp enhancing (#15906) 2023-04-25 14:08:02 +00:00
samricotta
e77156858f
refactor(staking, slashing, signing, misc): remove aliases from types/math.go (#15902) 2023-04-25 08:55:17 +00:00
Matt Kocubinski
86b88b1ace
refactor!: use x/tx/signing in client.TxConfig (#15822) 2023-04-20 16:20:21 +00:00
Marko
d6762e930d
refactor(groups): remove global bech32 (#15707)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-04-14 16:25:22 +00:00
Marko
9e4fbb6db1
feat!: add node status endpoint (#15597)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
2023-04-13 13:42:52 +00:00
Marko
90e2a2ae89
style: linting (#15704)
## Description

closing in on completion of linting

---

### 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...

* [ ] 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
* [ ] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting))
* [ ] provided a link to the relevant issue or specification
* [ ] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/main/docs/docs/building-modules)
* [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#testing)
* [ ] added a changelog entry to `CHANGELOG.md`
* [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
* [ ] updated the relevant documentation or specification
* [ ] reviewed "Files changed" and left comments if necessary
* [ ] 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 state machine logic
* [ ] reviewed API design and naming
* [ ] reviewed documentation is accurate
* [ ] reviewed tests and test coverage
* [ ] manually tested (if applicable)
2023-04-06 23:25:23 +00:00
Dhanu Saputra
17debf2efa
feat: emit more data in prom metrics (#15657) 2023-04-06 13:10:08 +00:00
Julien Robert
c1974e4b3c
refactor: remove cometbft/libs/cli import (#15673) 2023-04-03 14:48:02 +00:00
Marko
51f3e70a12
style: more linting (#15618) 2023-03-30 13:00:18 +00:00
Marko
c1ea84d583
style: more linting (#15616) 2023-03-30 12:05:50 +00:00
Julien Robert
d21f58c638
feat(log): wire logger filtering (#15601) 2023-03-30 09:48:38 +00:00
Marko
a5ad307ae6
refactor: migrate consensus to collections (#15553) 2023-03-28 20:41:12 +00:00
Jacob Gadikian
37ba88872d
style: enable strict gofumpt (#15579) 2023-03-28 18:59:21 +00:00
cipherZ
825245db1b
docs: replace Tendermint references in docs with CometBFT (#15339)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-03-14 20:41:35 +01:00
Ergels Gaxhaj
6f3f2c9b16
refactor!: ADR-038 go-plugin system (#14207)
Co-authored-by: HuangYi <huang@crypto.com>
Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>
2023-03-14 18:09:30 +00:00
Facundo Medica
6a03586074
fix: remove previous header in Prepare/Process Proposal + provide chain id in baseapp + fix context for verifying txs (#15303)
## Description

### Issue
Some values (like chain ID) were being leaked from the previous block/initialization into PrepareProposal and ProcessProposal, these values are only available if:
1. The node has never been stopped since the genesis block (as these values are set on `InitChain`)
2. The node has already commited a block (as the previous header was being used for the new state of prepare and process proposal).

So if a node is restarted, during the first prepare and process proposal these values won't be populated, and that will cause issues if they are being used.

### Solution

Remove any previous header information from a previous block in the prepare and process proposal contexts, making things consistent at every height.

- Added ChainID to baseapp
- Use an empty header in Commit() with only the chain id set
- Fix context for prepare and process proposal

Closes: #15269



---

### 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...

- [ ] 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
- [ ] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting))
- [ ] provided a link to the relevant issue or specification
- [ ] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/main/docs/docs/building-modules)
- [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#testing)
- [ ] added a changelog entry to `CHANGELOG.md`
- [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
- [ ] updated the relevant documentation or specification
- [ ] reviewed "Files changed" and left comments if necessary
- [ ] 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 state machine logic
- [ ] reviewed API design and naming
- [ ] reviewed documentation is accurate
- [ ] reviewed tests and test coverage
- [ ] manually tested (if applicable)
2023-03-13 17:15:39 +00:00
Julien Robert
ea8c76eb65
feat: add filtering to logger (#15212) 2023-03-13 13:16:20 +00:00
Julien Robert
abd4ac0790
feat: make logger easily replaceable (#15358) 2023-03-13 09:01:58 +00:00
Mark Rushakoff
1bb632a567
chore: prefer to panic instead of os.Exit (#15285) 2023-03-07 15:12:39 +00:00
Mark Rushakoff
e7097b1468
test: add cmdtest package (#15251)
## Description

This PR introduces the `cmdtest` package, offering a lightweight wrapper around cobra commands to simplify testing CLI utilities.

I backfilled tests for the `version` command, which was an example of a very simple test setup; and for the `export` command, which was more involved due to the server and client context requirements.

I did notice that there are some existing tests for some utilities, but the `cmdtest` package follows a simple pattern that has been easy to use successfully in [the relayer](https://github.com/cosmos/relayer/blob/main/internal/relayertest/system.go) and in other projects outside the Cosmos ecosystem.

While filling in these tests, I started removing uses of `cmd.Print`, as that is the root cause of issues like #8498, #7964, #15167, and possibly others. Internal to cobra, the print family of methods write to `cmd.OutOrStderr()` -- meaning that if the authors call `cmd.SetOutput()` before executing the command, the output will be written to stdout as expected; otherwise it will go to stderr. I don't understand why that would be the default behavior, but it is probably too late to change from cobra's side.

Instead of `cmd.Print`, we prefer to `fmt.Fprint(cmd.OutOrStdout())` or `fmt.Fprint(cmd.ErrOrStderr())` as appropriate, giving an unambiguous destination for output. And the new tests collect those outputs in plain `bytes.Buffer` values so that we can assert their content appropriately.

In the longer term, I would like to deprecate and eventually remove the `testutil` package's `ApplyMockIO` method and its `BufferWriter` and `BufferReader` types, as they are unnecessary indirection when a simpler solution exists. But that can wait until `cmdtest` has propagated through the codebase more.

---

### 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
- [x] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting))
- [ ] ~~provided a link to the relevant issue or specification~~
- [x] reviewed "Files changed" and left comments if necessary
- [ ] 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 all author checklist items have been addressed
- [ ] confirmed that this PR does not change production code
2023-03-06 19:40:24 +00:00
Mark Rushakoff
f151bf627a
refactor(log): require destination in calls to NewLogger (#15262) 2023-03-06 19:05:49 +00:00
Mark Rushakoff
fab029bff5
refactor(log): associate test logger with testing.T instance (#15261) 2023-03-03 20:26:45 +00:00
Mark Rushakoff
9150a9d255
test(server/grpc): avoid using deprecated protoreflect function (#15221)
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-03-01 16:55:48 +00:00
Mark Rushakoff
261af6721b
test: use pointer receivers to avoid lock copies (#15217)
## Description
There were several test suite methods that had a value receiver, and which were being ignored for linting. Instead of ignoring the error, use pointer receivers to properly avoid lock copying.

And use a local copy of one loop variable in a possible closure.

---

### 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
- [x] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting))
- [ ] ~~provided a link to the relevant issue or specification~~
- [ ] ~~reviewed "Files changed" and left comments if necessary~~
- [ ] 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 all author checklist items have been addressed
- [ ] confirmed that this PR does not change production code
2023-02-28 18:27:57 +00:00
Julien Robert
d2977478bc
feat: use go embed for swagger (#15216) 2023-02-28 15:21:38 +00:00
Julien Robert
5d559dd265
feat!: use cosmossdk.io/log logger (#15011) 2023-02-27 21:36:22 +00:00
Aleksandr Bezobchuk
41690532be
refactor: Refactor TxSearch (#14758)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-02-24 16:08:53 +00:00
Aleksandr Bezobchuk
7f99ad5fe7
refactor: cleanup server logic (#15041) 2023-02-22 16:09:08 +00:00
Julien Robert
832517befc
feat: add application genesis (#15031) 2023-02-22 10:29:03 +00:00
Facundo Medica
4a6a1e3cb8
refactor: fix lint issues + gofumpt (#15062) 2023-02-19 10:31:49 +00:00
yihuang
497dc2cb78
fix: create snapshot dir for rocksdb backend (#15054) 2023-02-17 17:05:40 +00:00
cipherZ
86eca4c72b
feat: Integrate tendermint Block endpoints into the cli (#14659)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-02-14 19:23:45 +01:00
yihuang
4d02519ec0
feat: support profiling block replay during abci handshake (#14953)
## Description

by default, the signal trap is not setup during abci handshake, so you can't profile at this stage, but it's an interesting way to profile production block data with the block replay. 



---

### 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...

- [ ] 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
- [ ] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting))
- [ ] provided a link to the relevant issue or specification
- [ ] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/main/docs/docs/building-modules)
- [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#testing)
- [ ] added a changelog entry to `CHANGELOG.md`
- [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
- [ ] updated the relevant documentation or specification
- [ ] reviewed "Files changed" and left comments if necessary
- [ ] 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 state machine logic
- [ ] reviewed API design and naming
- [ ] reviewed documentation is accurate
- [ ] reviewed tests and test coverage
- [ ] manually tested (if applicable)
2023-02-08 23:53:27 +00:00
Julien Robert
c17c3caab8
refactor: rename commands to match consensus engine name (#14956) 2023-02-08 20:09:28 +00:00
Julien Robert
a7ac29e3f4
chore: rename log pkg and add zerolog (#14955) 2023-02-08 11:32:22 +00:00
Marko
281017ae90
refactor: use cosmos-sdk/log throughout (#14909)
## Description

removes the dependency of tendermint/utils/log from countless locations. This is in effort of reducing Tendermint's lib usage in the sdk 

this is nonbreaking as the interface is the same. To eliminate tm/utils/log in the sdk we need a few more things. Once we have fully removed the tendermint logger, I would propose we break the interface and define our own for our use case, when we pass the logger to tendermint in the node.New() function we can wrap our logger for its use case 

---

### 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...

- [ ] 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
- [ ] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting))
- [ ] provided a link to the relevant issue or specification
- [ ] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/main/docs/docs/building-modules)
- [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#testing)
- [ ] added a changelog entry to `CHANGELOG.md`
- [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
- [ ] updated the relevant documentation or specification
- [ ] reviewed "Files changed" and left comments if necessary
- [ ] 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 state machine logic
- [ ] reviewed API design and naming
- [ ] reviewed documentation is accurate
- [ ] reviewed tests and test coverage
- [ ] manually tested (if applicable)
2023-02-07 10:54:48 +00:00
Jeon Jeongho
a186d2a69f
docs: correct rpc-max-body-bytes config description (#14935)
## Description

This config limits the maximum size of HTTP request body, but description said response size. `rpc-max-body-bytes` config affects these:
* 38a4caeac0/rpc/jsonrpc/server/http_server.go (L255)
* 1cb55d49ba/rpc/jsonrpc/server/ws_handler.go (L167)

---

### 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...

- [ ] 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
- [ ] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting))
- [ ] provided a link to the relevant issue or specification
- [ ] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/main/docs/docs/building-modules)
- [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#testing)
- [ ] added a changelog entry to `CHANGELOG.md`
- [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
- [ ] updated the relevant documentation or specification
- [ ] reviewed "Files changed" and left comments if necessary
- [ ] 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 state machine logic
- [ ] reviewed API design and naming
- [ ] reviewed documentation is accurate
- [ ] reviewed tests and test coverage
- [ ] manually tested (if applicable)
2023-02-07 09:19:32 +00:00
Julien Robert
80dd55f79b
refactor: rename to CometBFT (#14914) 2023-02-06 18:11:14 +00:00
Julien Robert
41a3dfeced
refactor!: migrate Cosmos SDK to CometBFT (#14897) 2023-02-05 14:51:33 +01:00
Sylvain Bellemare
c9ba06bf77
docs: fix typo (#14905)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-02-03 23:59:53 +00:00
Julien Robert
12394c8b99
fix: allow grpc server enabled even when api off (#14890) 2023-02-02 20:34:46 +01:00
yihuang
b266522c88
feat: add config iavl-lazy-loading to enable lazy loading of iavl store (#14189)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-01-31 21:52:32 +00:00
Facundo Medica
deeb4bd362
feat!: return errors in module manager ABCI methods (#14847) 2023-01-31 19:17:04 +00:00
Amaury
d0a5bd1a05
fix(reflection): Fix gogoproto import paths (#14838) 2023-01-31 11:12:52 +00:00
Likhita Polavarapu
7559d9ecd3
refactor: create go.mod for store (#14746)
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-01-25 13:31:56 +00:00
Julien Robert
4f6f6c0002
feat: use same port for grpc-web and api server (#14652) 2023-01-20 15:07:17 +00:00
Noel Ukwa
c822836501
refactor: migrate calls from alias file to appropriate store/types (#14455)
Co-authored-by: Marko <marbar3778@yahoo.com>
Closes https://github.com/cosmos/cosmos-sdk/issues/14406
2023-01-10 15:31:06 +00:00
Marc-Antoine Dumais
465e0f6199
docs: remove default iavl-cache-size invalid value (#14486) 2023-01-05 21:24:00 +00:00
Marko
e048402efb
chore: modify db support (#14451) 2022-12-30 14:08:37 +00:00
Marko
f3dd51029a
refactor: remove global metrics in store (#14439) 2022-12-30 14:46:29 +01:00
Julien Robert
82bd8880fc
fix: fix --log_format flag not working (#14441) 2022-12-29 10:09:16 +01:00
Jacob Gadikian
1bb0629846
chore: iavl-v0.20-alpha1 and cosmos-db (#14411)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2022-12-28 21:42:00 +01:00
Marko
7d2ba36357
refactor: pass logger to store (#14438) 2022-12-28 13:20:44 +01:00
Marko
3684966676
chore: remove unused code from server (#14437) 2022-12-27 23:46:12 +00:00
Facundo Medica
edb5c1c0d7
chore: audit server (#14367) 2022-12-20 14:56:13 +00:00
Aleksandr Bezobchuk
bbd7e31305
chore: audit server package (#14359) 2022-12-19 19:42:09 +00:00
Jacob Gadikian
be8c5a09c2
chore: lint tests (#14268) 2022-12-18 23:48:31 +00:00
Aleksandr Bezobchuk
ae2c762bd3
chore: audit store/streaming/file/service.go (#14234) 2022-12-10 17:15:29 +01:00
Aleksandr Bezobchuk
66dd2be12c
chore: cleanup baseapp tests (#14162) 2022-12-06 16:52:36 +00:00
Marko
1b6192fec0
refactor: provide a helper for baseapp options (#14175)
* provide a helper for baseapp options

* rename

* changelog entry

* fix spelling
2022-12-06 14:28:18 +00:00
Marko
ca0b1deeea
chore: bound mempool size by default (#14135) 2022-12-02 15:57:22 +00:00
yihuang
1f91ee2ee9
fix: state listener observe writes at wrong time (#13516)
* fix: state listener observe writes at wrong time

Closes: #13457

Currently state listener is notified when the cache store write, which happens in commit event only, which breaks the current design.
The solution (as discussed in the issue) is to listen state writes on rootmulti store only.

It also changes the file streamer to output single data file for the writes in the whole block, since we can't distinguish writes from different stage of abci events.

It adds new config items for file streamer:
- streamers.file.output-metadata
- streamers.file.stop-node-on-error
- streamers.file.fsync

* synchronous abci call, and format doc

* fix comment

* update file streamer readme and fix typos

* typo

* fix: state listener observe writes at wrong time

Closes: #13457

Currently state listener is notified when the cache store write, which happens in commit event only, which breaks the current design.
The solution (as discussed in the issue) is to listen state writes on rootmulti store only.

It also changes the file streamer to output single data file for the writes in the whole block, since we can't distinguish writes from different stage of abci events.

It adds new config items for file streamer:
- streamers.file.output-metadata
- streamers.file.stop-node-on-error
- streamers.file.fsync

synchronous abci call, and format doc

fix comment

update file streamer readme and fix typos

typo

* improve UX of file streamer, make it immediately usable after enabled

- set default value to write_dir.
- make write_dir based on home directory by default.
- auto-create the directory if not exists.

* get homePage from opts

Co-authored-by: Marko <marbar3778@yahoo.com>
2022-12-02 15:43:21 +01:00
Jeancarlo Barrios
754ca3169e
feat: add tx limit to mempool (#14014)
* feat: add bounding max tx to mempool

* add bounded condition

* sligh improvement on generator

* remove unbouded option

* add test

* added mempool options mechanism

* mising test

* seting mempool

* change function name

* change function name

* failing test

* Revert "failing test"

This reverts commit d527982b0d4ec826ff680afb8f43ac1d71809ccf.

* fix import block

* changelog entries

* add ability to do unbounded mempool

* remove unesesary variable

* small comments

* change 0 to mean unbounded

* t

* small test fix

* add the ability to be bounded unbounded and disabled

* t

* set default maxtx

* Update docs/docs/building-apps/02-app-mempool.md

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

* example for opts

* remove superflues logs entry

* add mempool to configurations

* fix more understandable name

* remove table in favor of bulletpoints

* sender nonce to unbounded

* Update docs/docs/building-apps/02-app-mempool.md

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

* Update types/mempool/sender_nonce.go

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

* Update types/mempool/sender_nonce.go

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

* Update docs/docs/building-apps/02-app-mempool.md

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

* Update server/config/config.go

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

* t

* add comment for options

* fix inport

* fix inport

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Emmanuel T Odeke <emmanuel@orijtech.com>
2022-12-02 00:39:55 +00:00
Aleksandr Bezobchuk
9f46665d93
chore: Test for Server Config Read #14125 2022-12-01 21:18:33 +00:00
Julián Toledano
6679ee0eea
fix: remove rosetta from server start (#14062)
* delete: rosetta from server start

* update: go.sum

* CHANGELOG

* update: changelog
2022-11-30 19:16:56 +00:00
Julien Robert
f96072d9a8
fix: do not shadow clientCtx in start.go (#14086) 2022-11-30 12:26:20 +00:00
Marko
2e3d38f01c
refactor: move snapshotstore under store (#14048)
* Move snapshotstore under store

* add changelog entry

* fix build

* move snapshot proto package

* make proto-gen

* Update CHANGELOG.md

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2022-11-29 23:40:14 +00:00
Julien Robert
6f329d70c6
docs: add docs about x/auth/tx (#14021)
* docs: add docs about `x/auth/tx`

* updates

* updates

* updates

* updates

* updates

* updates

* updates

Co-authored-by: Marko <marbar3778@yahoo.com>
2022-11-27 20:30:23 +00:00
Julien Robert
d6da7037b6
fix(group): migrate group policy account to base accounts with credentials (#13742) 2022-11-21 22:46:48 +00:00