Commit Graph

261 Commits

Author SHA1 Message Date
Uncle Stinky
ebae9fadbe fixes for self_applause function
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2025-11-05 20:52:00 +03:00
Uncle Stinky
c872eca8ac back look during the slashing
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2025-11-05 15:55:37 +03:00
Uncle Stinky
eb181c7f44 fixes for the inconsistency of the slow claps
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2025-11-04 17:43:36 +03:00
Uncle Stinky
5307afe352 bump locked version
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2025-08-27 15:33:26 +03:00
Uncle Stinky
7edc8935b6 optimize offenders gathering with a single pass over the data
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2025-08-27 15:31:32 +03:00
Uncle Stinky
46aa18aafe implement cross session claim via self_applause
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2025-08-27 14:41:46 +03:00
Uncle Stinky
f245879925 force parameters for RewardCurve to be a default balance type, which is u64
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2025-08-14 16:55:46 +03:00
Uncle Stretch
101e7103f1 update specification version of CASPER runtime
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-08-14 16:20:38 +03:00
Uncle Stretch
d9fa416d93 bump locked versions
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-08-10 22:09:14 +03:00
Uncle Stretch
60b887f812 make MulDiv to be used with any 32 bit unsigned
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-08-10 22:07:53 +03:00
Uncle Stretch
f7f25bd087 nullify bridged imbalance on each era reward payout
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-08-10 16:51:04 +03:00
Uncle Stretch
e2c75ca558 implement muldiv without overflow and underflow
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-08-10 16:41:14 +03:00
Uncle Stinky
9240f424e1 prepare starter script for the production
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2025-08-03 18:43:49 +03:00
Uncle Stretch
72d6be6e29 change finality delay for sepolia in genesis specification
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-07-31 21:32:49 +03:00
Uncle Stinky
da271a6f22 cargo clean only if the compiler version is downgraded
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2025-07-31 16:35:07 +03:00
Uncle Stinky
b9b7d84466 update ghost-node and specification to the latest version
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2025-07-31 16:32:44 +03:00
Uncle Stinky
8ff588cce9 remove spoiled rpc endpoint from the genesis file
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2025-07-31 16:18:47 +03:00
Uncle Stinky
298a332681 make staking rewards dependant on bridged amount
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2025-07-31 16:17:10 +03:00
Uncle Stinky
1c4c517728 avoiding back in time travel
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2025-07-31 15:30:28 +03:00
Uncle Stinky
b969081cbf make sure that disabled validator will not be checked with is_good_actor
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2025-07-31 14:21:55 +03:00
Uncle Stinky
9bdb7b5d5c add an early check for the disabled validator
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2025-07-31 14:02:14 +03:00
Uncle Stinky
c4b16805f7 fix calculation of median, include special case when there're no claps
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2025-07-31 13:56:05 +03:00
Uncle Stretch
f7b1b75d5a dedup casper spec file
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-07-30 17:53:39 +03:00
Uncle Stinky
6918e8057a finalize starter script for the hard reset
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2025-07-29 19:41:14 +03:00
Uncle Stretch
df85600159 generate chain spec for the latest ghost-node
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-07-29 16:03:34 +03:00
Uncle Stinky
141f05ddab finalize hard reset for starter script
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2025-07-29 16:00:58 +03:00
Uncle Stretch
6ae3fd6291 rustfmt ghost cli and fix typos
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-07-29 15:03:44 +03:00
Uncle Stretch
767161ac9c rustfmt ghost client cli and fix typos
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-07-29 15:02:07 +03:00
Uncle Stretch
a74e42369b rustfmt ghost metrics and fix typos
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-07-29 15:00:54 +03:00
Uncle Stretch
7216f1d82b rustfmt ghost slow clap and fix typos
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-07-29 14:58:23 +03:00
Uncle Stretch
792e70c988 rustfmt ghost sudo and fix typos
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-07-29 14:57:58 +03:00
Uncle Stretch
eb3b4f2651 rustfmt ghost rpc and fix typos
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-07-29 14:54:56 +03:00
Uncle Stretch
24a6f803c5 rustfmt common runtime and fix typos
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-07-29 14:53:50 +03:00
Uncle Stretch
8d69e5c87e rustfmt casper runtime and fix typos
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-07-29 14:51:15 +03:00
Uncle Stretch
48ff511685 rustfmt service and fix typos
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-07-29 14:49:16 +03:00
Uncle Stretch
8f20b7ef5c rustfmt tests and fix typos
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-07-29 14:45:41 +03:00
Uncle Stretch
ce26787a11 rustfmt staking-miner and fix typos
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-07-29 14:38:49 +03:00
Uncle Stretch
e21ac88235 rustfmt ghostkey and fix typos
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-07-29 14:27:53 +03:00
Uncle Stretch
c933ed3809 rustfmt generate-bags and fix typos
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-07-29 14:27:08 +03:00
Uncle Stretch
2ad43a56ba rustfmt chain-spec-builder and fix typos
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-07-29 14:26:12 +03:00
Uncle Stretch
6d06fcf9a0 rustfmt bags-utils and fix typos
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-07-29 14:24:30 +03:00
Uncle Stretch
c2f9958c1a prepare chain spec for the genesis
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-07-29 14:09:32 +03:00
Uncle Stretch
2bb66c4e19 update ghost-networks weights for the casper runtime
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-07-29 13:30:02 +03:00
Uncle Stretch
63979e34a7 update weights for the ghost-networks based on the latest update
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-07-29 13:28:46 +03:00
Uncle Stinky
28e8389bfc fix struct field name in chain-spec
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2025-07-29 12:44:01 +03:00
Uncle Stinky
1d826fbf7e rotate endpoints on each offchain worker exection
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2025-07-29 12:42:36 +03:00
Uncle Stretch
0375bd1434 preparation for the benchmarking of upgraded ghost-networks pallet
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-07-28 23:53:11 +03:00
Uncle Stretch
b4ef445281 make ability to have multiple default endpoints for the network
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-07-28 23:34:42 +03:00
Uncle Stretch
61056ed162 recomendations for rustc compilation and cargo usage for automation script
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-07-28 16:28:23 +03:00
Uncle Stretch
b922bf6c20 update weights for casper runtime
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-07-28 16:20:06 +03:00