Commit Graph
158 Commits
Author SHA1 Message Date
Marko 22231f7c6d refactor(x/slashing): remove extra get (#22376) 2024-10-28 13:40:42 +00:00
Shude Li fc91e76354 build(all): migrate to go.uber.org/mock (#22315) 2024-10-21 09:58:09 +00:00
Julien Robert cbdfd9bdfa chore: bump golangci-lint and fix all linting issues (#21761) 2024-09-16 19:11:19 +00:00
7f1eeb1801 docs: fix typos (#21514)
Co-authored-by: Marko <marko@baricevic.me>
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-09-04 19:47:16 +00:00
Marko 70488a89a8 refactor: revert auth extraction (#21507) 2024-09-03 21:12:21 +00:00
Akhil Kumar P 496cd0de9b refactor(x/slashing): audit QA (#21477) 2024-09-02 11:13:52 +00:00
Julián Toledano 28c792bcd0 test(x/slashing): add infractions test (#21387) 2024-08-26 10:07:55 +00:00
Julien Robert 6276b015bb chore: fix all lint issue since golangci-lint bump (#21326) 2024-08-16 13:03:24 +00:00
Julián ToledanoandJulien Robert 67ed23b8be refactor(x/slashing): audit x/slashing changes (#21270)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-08-13 19:49:59 +00:00
Marko 9436bcb7f2 chore: various cleanup (#20864) 2024-07-18 09:12:58 +00:00
Marko 1b47dc91a3 chore: move logger to core (#20388) 2024-05-28 12:30:09 +00:00
Marko 080229f300 chore: remove cockroach db errors (#20386) 2024-05-15 06:35:08 +00:00
Matt Kocubinski 493d486bc6 refactor: decouple from sdk/codec in amino codec usage (#20369) 2024-05-14 16:52:51 +00:00
Marko ca15c9d0e7 refactor: remove comet dep in modules (1/n) (#20270) 2024-05-06 13:13:12 +00:00
Julien Robert 5e7aae0db1 refactor(core,x/**): simplify core service api and embed environment in keepers (#20071) 2024-04-17 18:18:16 +00:00
Julián Toledano f499bbf213 refactor(x): remove Address.String() (#20048) 2024-04-15 13:57:32 +00:00
Julián Toledano ff8f7229ce refactor(x/slashing)!: remove Accounts String (#20026) 2024-04-12 14:14:47 +00:00
Facundo MedicaandAleksandr Bezobchuk ea7bdd1724 fix: Do not call Remove during Walk (#19833)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2024-03-24 18:56:24 +00:00
Chi Xiao Wenandchixiaoxiao db82004074 refactor(x/**)!: genesis return errors (#19740)
Co-authored-by: chixiaoxiao <chixiaoxiao@gmail.com>
2024-03-13 11:44:43 +00:00
MarkoandJulien Robert d2e40963ed refactor(modules): adopt appmodulev2.Hasgenesis (#19627)
Co-authored-by: Julien Robert <julien@rbrt.fr>
2024-03-11 10:22:16 +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 e4d97090d8 test: move slash redelegation test to integration (#19581) 2024-02-28 10:09:38 +00:00
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
Dev OjhaandAdam Tucker 8cb798d7bf perf!: Make slashing not write sign info every block (#19458)
Co-authored-by: Adam Tucker <adamleetucker@outlook.com>
2024-02-20 16:51:02 +00:00
Marko e46d526b46 refactor(x/slashing): migrate slashing to use env var (#19440) 2024-02-15 09:42:51 +00:00
Julien RobertandFacundo Medica e15a0de251 feat(core): add migrations registering (#19370)
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
2024-02-09 09:30:39 +00:00
atheeshp eaf92c225c fix(x/slashing): consensus failure after cons key rotation (#19038) 2024-01-12 14:42:26 +00:00
atheeshpandAleksandr Bezobchuk b16aa35d14 test: add tests for cons pubkey rotation (#18965)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2024-01-09 04:56:14 +00:00
Dev Ojhaandcoderabbitai[bot] 0b01347b8a perf: Don't deserialize params for every validator in slashing (#18959)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-01-06 07:49:46 +00:00
atheeshp 19e66a9dc8 feat: include rotate keys logic in abci (#18236) 2023-12-22 10:14:15 +00:00
Likhita Polavarapu 38f40c42f2 refactor: remove panic usage in keeper methods (#18636) 2023-12-12 09:51:23 +00:00
Markoandcoderabbitai[bot] a7ececc34d refactor(staking): move delegation and validator interfaces to ./types (#18198)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2023-11-30 21:18:42 +00:00
Halimao e6577528a6 style: package "slashing/types" is being imported more than once (#18452) 2023-11-13 08:09:14 +00:00
Julien Robert 720890523f refactor: remove gov dependency from modules and sdk (#18424) 2023-11-09 22:08:59 +00:00
Emmanuel T Odeke 05261cc46e refactor(x/auth): spin out go.mod (#18351) 2023-11-07 11:42:58 +00:00
Marko 2a6640d488 refactor(staking): add go.mod (#18257) 2023-10-26 07:39:34 +00:00
Marko 86eaeed519 refactor(slashing): spinout to new go module (#18201) 2023-10-25 15:28:32 +00:00
Marko 388ff4fc7e refactor: move gov into own go.mod (#18197) 2023-10-23 14:17:04 +00:00
Marko 93770f59d9 refactor(x/slashing): remove global bech32 usage (#18115) 2023-10-17 10:33:52 +00:00
Marko 9d07b8ca8e refactor!: use context.Context in genesis api (#17885) 2023-09-26 16:03:41 +00:00
Marko 79a64d07d0 chore!: remove params from slashing and auth (#17820) 2023-09-21 14:26:35 +00:00
Marko 6615ff4f76 refactor!: deprecate blocktime on context (#17738) 2023-09-18 13:55:21 +00:00
Marko 72991994dd chore: cleanup sdk.Context (#17717) 2023-09-13 21:40:14 +00:00
Oleg Kovalov 7ff1ae999a chore: fix nolint comments (#17644) 2023-09-06 21:32:11 +00:00
Likhita Polavarapu 97661429e0 docs: Add k/v docs in structs using collections (#17609) 2023-09-04 22:24:19 +00:00
Likhita Polavarapu a24d7071c1 refactor(x/slashing): migrate ValidatorMissedBlockBitmap to collections (#17568) 2023-08-30 08:57:28 +00:00
Markoandmarbar3778 e60c583d28 refactor: migrate away from using valBech32 globals (2/2) (#17157)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2023-08-14 08:04:24 +00:00
Markoandmarbar3778 266edc0a93 refactor: remove staking infraction type dep from evidence and slashing (#17335)
Co-authored-by: marbar3778 <marbar3778@yahoo.com>
2023-08-12 15:45:41 +00:00
Julien Robert 77be10bd95 refactor: remove collections.ErrInvalidIterator when unecessary (#17364) 2023-08-11 14:32:17 +00:00
fx0x55 840482f50d perf: use store has instead of get in HasValidatorSigningInfo (#17359) 2023-08-11 10:36:40 +00:00