Commit Graph

313 Commits

Author SHA1 Message Date
f9cd455968
make pull during hard reset
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-11-28 23:41:18 +03:00
06423f9ae5
prepare for the main branch usage
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-11-28 22:38:38 +03:00
5d92560513
make starter script usable for network bootstrap
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-11-28 17:38:11 +03:00
207bbec652
update default chain spec for casper network
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-11-28 17:08:03 +03:00
901c828d3f
legacy endowments and gatekeeped amount for networks
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-11-28 17:01:42 +03:00
876cea96ec
update weights for the latest runtime
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-11-28 17:00:45 +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
7c57b9ea3f
update chain specs for local testing
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-11-27 19:08:43 +03:00
638d31ba28
update casper runtime based on ghost pallets
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2025-11-27 19:07:59 +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
e3c8e51749
update casper runtime in accordance with new functionality. not final
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2025-11-27 17:12:22 +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
57c809c618
Merge branch 'pallet-slow-clap'
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-11-18 16:03:47 +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
6fa5e5ed97
update casper runtime based on new version of slow clap
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-11-12 20:00:57 +03:00
58c5f1f33d
apply latest version of slow clap
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-11-12 19:06:42 +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
2cf4637d0c
update casper runtime version
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-11-10 21:23:08 +03:00
8123295f91
Merge branch 'pallet-slow-clap'
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-11-10 20:55:37 +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
75268b4c0a
casper runtime upgrade
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-11-09 16:09:56 +03:00
275567ef79
Merge branch 'pallet-slow-clap'
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-11-09 15:31:43 +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
fc2e4e6bff
bump slow clap version inside lock file
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-11-06 17:06:11 +03:00
0e750c0261
update lock file
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-11-06 16:53:19 +03:00
cc566ac549
update weights for slow clap in casper runtime
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-11-06 15:01:01 +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
af14543cc1
change casper runtime versioning
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2025-11-06 14:33:25 +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