|
|
4e1a3de6de
|
prepare benchmarks and update default weights
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
|
2026-02-22 11:49:39 +03:00 |
|
|
|
5dd0c73f7a
|
move block commitment check to the on_initialize hook
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
|
2026-02-21 17:57:49 +03:00 |
|
|
|
03262539aa
|
adapt trait; add extra test; fix benchmarking
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
|
2026-02-21 17:55:26 +03:00 |
|
|
|
f524b01b03
|
make function name more obvious
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
|
2026-02-21 17:52:42 +03:00 |
|
|
|
f99eee2e1a
|
remove nullification functionality from trait
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
|
2026-02-21 14:17:35 +03:00 |
|
|
|
d3cc3ac1b3
|
remove unnecessary storage entry in pallet
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
|
2026-02-21 14:15:51 +03:00 |
|
|
|
7a7712df0b
|
replace custom muldiv with multiply_by_rational_with_rounding from substrate
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
|
2026-02-21 12:54:29 +03:00 |
|
|
|
cce2910cf8
|
make networks pallet to be indexed storage map; migrations included
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
|
2026-02-20 17:15:53 +03:00 |
|
|
|
5b5e53e6fd
|
update traits for the network handler
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
|
2026-02-20 16:09:54 +03:00 |
|
|
|
2313bc97ec
|
user agent added to mimic the curl
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
|
2026-02-19 19:23:50 +03:00 |
|
|
|
172edd46de
|
additional safety for multi request logic
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
|
2026-02-02 18:10:52 +03:00 |
|
|
|
32483cdd40
|
make logs more self-descriptive
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
|
2026-02-02 15:26:38 +03:00 |
|
|
|
eb9fc16b43
|
tests added for new offchain worker functionality
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
|
2026-02-01 15:08:03 +03:00 |
|
|
|
b282ebad62
|
rustfmt the whole project
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
|
2026-01-31 18:14:26 +03:00 |
|
|
|
90c82f73cb
|
multiple requests from all endpoints
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
|
2026-01-31 18:10:40 +03:00 |
|
|
|
ddd3a42564
|
new slashing function for block commitment offence
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
|
2025-12-09 17:23:08 +03:00 |
|
|
|
dc785e30d9
|
more readable logs and use validators as offence reporters
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
|
2025-12-09 16:24:41 +03:00 |
|
|
|
3b80a7a94a
|
change slashing logic during block commitments
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
|
2025-12-09 14:56:24 +03:00 |
|
|
|
a6ce55c1e8
|
rearrange offchain worker execution sequence
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
|
2025-12-04 18:21:58 +03:00 |
|
|
|
0323c25d08
|
avoid excessive block commitments
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
|
2025-12-04 17:51:29 +03:00 |
|
|
|
5b26d4ce28
|
make gatekeeped amount part of the genesis
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
|
2025-11-28 16:56:46 +03:00 |
|
|
|
147542f10c
|
correct median; on genesis validators list is empty
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
|
2025-11-28 00:02:26 +03:00 |
|
|
|
d45cc9bd13
|
add latest from_block to logs
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
|
2025-11-27 19:22:48 +03:00 |
|
|
|
c9b4325c04
|
rustfmt slow-clap pallet
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
|
2025-11-27 19:06:18 +03:00 |
|
|
|
911db3b974
|
apply changes from ghost-traits for ExposureListener
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
|
2025-11-27 19:04:24 +03:00 |
|
|
|
fbc58e350b
|
conversion function to AccountId added
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
|
2025-11-27 19:03:13 +03:00 |
|
|
|
b692959369
|
rustfmt ghost slow clap pallet
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
|
2025-11-27 17:16:07 +03:00 |
|
|
|
16b933f3ba
|
rustfmt ghost traits pallet
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
|
2025-11-27 17:15:30 +03:00 |
|
|
|
ad3de30be3
|
rustfmt ghost networks pallet
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
|
2025-11-27 17:15:03 +03:00 |
|
|
|
d3c5380ba7
|
updated version of slow clap
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
|
2025-11-27 17:10:57 +03:00 |
|
|
|
c3ef933c20
|
extend networks pallet with avg_block_speed
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
|
2025-11-27 17:10:23 +03:00 |
|
|
|
954ae66294
|
bump traits package version
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
|
2025-11-27 17:09:10 +03:00 |
|
|
|
a504d8eb87
|
trait to get exposure from external pallets such as staking
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
|
2025-11-27 17:08:16 +03:00 |
|
|
|
eebcc18018
|
simple bitmap implementation
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
|
2025-11-27 17:06:50 +03:00 |
|
|
|
3be36b6db2
|
set ghost emoji as prefix for logging
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
|
2025-11-21 13:49:40 +03:00 |
|
|
|
6a2b5a34d2
|
applause based on the external expousre
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
|
2025-11-21 13:46:22 +03:00 |
|
|
|
0bb46482b2
|
offchain worker restructure and block commitments added
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
|
2025-11-20 03:06:48 +03:00 |
|
|
|
d76646c191
|
remove unused structs to avoid warning during compilation
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
|
2025-11-18 16:01:29 +03:00 |
|
|
|
94d28f254f
|
update offchain worker logic
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
|
2025-11-18 16:00:17 +03:00 |
|
|
|
55a77cd3d4
|
introduce black swan event e.g. disable everybody
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
|
2025-11-12 19:03:58 +03:00 |
|
|
|
092679eb0c
|
disable only claps during offchain worker but not the block gathering
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
|
2025-11-10 20:54:37 +03:00 |
|
|
|
64de0027bf
|
align self-applause logic and disable offchain worker if authority index is disabled
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
|
2025-11-09 15:29:50 +03:00 |
|
|
|
a3ed395689
|
take disabled from the next session and rustfmt pallet code
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
|
2025-11-08 14:02:04 +03:00 |
|
|
|
7a710ec9cb
|
check if validator disabled during the validate_unsigned and small typo fixes
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
|
2025-11-08 13:48:14 +03:00 |
|
|
|
cc141105bb
|
propagate disabled authorities to upcoming sessions in era
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
|
2025-11-08 13:38:15 +03:00 |
|
|
|
18241ea504
|
update weights for the slow clap
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
|
2025-11-06 14:59:27 +03:00 |
|
|
|
6acec08fa5
|
increase storage version for the pallet
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
|
2025-11-06 14:32:04 +03:00 |
|
|
|
d6ecdcd468
|
correct benchmarking of self applause and remove of unnecessary storage during tests
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
|
2025-11-05 22:13:28 +03:00 |
|
|
|
decf6665df
|
make slow-clap tests work again based on new functionality, new tests added too
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
|
2025-11-05 20:55:04 +03:00 |
|
|
|
ebae9fadbe
|
fixes for self_applause function
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
|
2025-11-05 20:52:00 +03:00 |
|