Commit Graph

104 Commits

Author SHA1 Message Date
Akhil Kumar P
00c7756610
test(integration): port x/slashing tests to server v2 (#22754) 2024-12-05 13:27:26 +00:00
Julien Robert
3d618f500e
fix(baseapp): populate header info in NewUncachedContext (#22557) 2024-11-20 07:03:21 +00:00
Julien Robert
cbdfd9bdfa
chore: bump golangci-lint and fix all linting issues (#21761) 2024-09-16 19:11:19 +00:00
Alexander Peters
bf7768006c
feat(sims): Add sims2 framework and factory methods (#21613) 2024-09-16 13:42:48 +00:00
Julien Robert
d54f034462
refactor(server): alias AppOptions to coreserver.DynamicConfig (#21711) 2024-09-13 18:51:45 +00:00
cool-developer
aaf72f20c1
feat: replace the cosmos-db usecases in the tests with core/testing (#21525) 2024-09-13 16:44:18 +00:00
Julien Robert
e9d72f5d05
chore: cleanups after #21450 (#21573) 2024-09-06 10:47:43 +00:00
Marko
70488a89a8
refactor: revert auth extraction (#21507) 2024-09-03 21:12:21 +00:00
cool-developer
ce4fb98cb8
feat: replace the cosmos-db.DB interface with core/store interface (#21450) 2024-08-30 21:25:25 +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
6335631348
perf: Replace runsim with Go stdlib testing (#20490) 2024-06-17 14:42:04 +00:00
Marko
28fa3b8dfc
chore: use comet api pkg instead of comet alias (#20614) 2024-06-11 08:46:04 +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
Hoang Do
99dbdd5aa7
chore: fix all typos (#20196) 2024-04-26 10:01:14 +00:00
Marko
b15732a594
refactor: migrate to query Consensus Params (#19600)
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: Facundo <facundomedica@gmail.com>
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: Matt Kocubinski <mkocubinski@gmail.com>
Co-authored-by: Hieu Vu <72878483+hieuvubk@users.noreply.github.com>
2024-04-25 15:26:43 +00:00
Leon
c6890b3876
fix(testsuite/sims): set all signatures (#20151)
Co-authored-by: qinglin89 <316032931@qq.com>
2024-04-25 09:32:19 +00:00
ipangpang
4a7a6411ef
fix: remove useless condition (#20118)
Signed-off-by: ipangpang <arronipangpang@gmail.com>
2024-04-22 06:10:34 +00:00
Julián Toledano
65ab2530cc
refactor(x/staking)!: removes the use of Accounts String() method (#19742) 2024-03-19 09:20:42 +00:00
Julián Toledano
25aea8af8a
refactor!: remove global config from x/auth and client (#19447) 2024-03-06 13:14:16 +00:00
Likhita Polavarapu
a248d05f70
feat(x/distribution): add env bundler to distribution module (#19445)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2024-02-27 22:18:13 +00:00
khanh
8585d538f1
Merge pull request from GHSA-86h5-xcpx-cfqc
* check undelegation after redelegation

* add comment

* using app v1

* set up test

* update test

* Update x/staking/keeper/slash.go

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

* use switch inside slashing logic

* update slash redelegation test

---------

Co-authored-by: Hieu Vu <72878483+hieuvubk@users.noreply.github.com>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-02-27 17:28:05 +01:00
testinginprod
e846eca366
refactor(auth): refactor auth/tx to use x/tx (#19224)
Co-authored-by: Facundo <facundomedica@gmail.com>
Co-authored-by: Matt Kocubinski <mkocubinski@gmail.com>
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
2024-02-21 09:36:21 +00:00
Marko
6db53cafcb
chore(sdk): remove modules as a dependency (1/n) (#19003) 2024-01-11 07:55:50 +00:00
Emmanuel T Odeke
05261cc46e
refactor(x/auth): spin out go.mod (#18351) 2023-11-07 11:42:58 +00:00
Chenqun Lu
79246d2f44
fix(sim): if genesisTimestamp is not set in the genesis block, it defaults to the current time. (#18227)
Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
2023-11-01 07:53:48 +00:00
Marko
f03b396c8a
chore: remove mint imports in the sdk (#18307) 2023-10-31 10:30:38 +00:00
Marko
7bef0227f9
refactor(mint): new go module (#18283) 2023-10-28 07:09:48 +00:00
Marko
21e69bad04
refactor(bank): add go module (#18279) 2023-10-27 09:25:04 +00:00
Facundo Medica
ab2a725863
chore: cleanup comet dependence in tests (#18239) 2023-10-26 16:20:19 +00:00
Marko
2a6640d488
refactor(staking): add go.mod (#18257) 2023-10-26 07:39:34 +00:00
Chenqun Lu
f2f47ffd43
fix(simulation): fix the problem of validator set is empty after InitGenesis in simulation test (#18196) 2023-10-23 08:40:01 +00:00
Chenqun Lu
611cd36b8b
fix(simulation): Fix all problems make test-sim-custom-genesis-fast for simulation test. (#17911)
Co-authored-by: Luke <chenqun.l@kaitaitech.cn>
2023-10-20 14:18:53 +00:00
Devon Bear
07e170d9ef
refactor(runtime): AppI shouldn't require SimulationManager nor LegacyAmino. (#17991) 2023-10-09 08:28:36 +00:00
Marko
c23505b037
refactor(staking): use validator & address codecs in staking (#16958) 2023-07-19 11:01:32 +00:00
Gustavo Grieco
b1ac5768f7
test: print the value initialStake instead of its pointer (#16951)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
2023-07-13 08:19: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
Jacob Gadikian
f0aec3f30d
style: use thelper (#16777) 2023-07-03 13:33:05 +00:00
Jacob Gadikian
6afece635c
style: add gci linter (#16605) 2023-06-22 15:35:51 +00:00
Aleksandr Bezobchuk
75b4918b94
fix: check tx gas limit against block gas limit (#16547)
Co-authored-by: Facundo Medica <facundomedica@gmail.com>
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
2023-06-20 18:37:33 +00:00
Facundo Medica
1be7d9805e
refactor(x/staking)!: KVStoreService, return errors and use context.Context (#16324)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2023-06-16 18:40:44 +00:00
Matt Kocubinski
737dcfd1a2
refactor!: rm GetSignBytes (#16062) 2023-05-30 19:34:35 +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
Marko
678ee79264
chore: move precommit & preparecheckstate to core api (#15923) 2023-05-02 07:17:00 +00:00
Matt Kocubinski
00b78fae00
refactor(x/auth): v2 adaptable tx instead of double decode (#15910) 2023-04-26 19:57:01 +00:00
mmsqe
4d41a87a36
feat: add moduleStateCb to allow access moduleState in sim test (#15903)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-04-24 13:06:34 +00:00
Facundo Medica
af3122aa6c
feat!: Provide logger through depinject (#15818)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2023-04-24 09:42:55 +00:00
Julien Robert
d2d6d0abd6
test(sims): fix sim-import-export and improve sims (#15835) 2023-04-20 19:12:25 +00:00
Matt Kocubinski
86b88b1ace
refactor!: use x/tx/signing in client.TxConfig (#15822) 2023-04-20 16:20:21 +00:00