Commit Graph

364 Commits

Author SHA1 Message Date
4c4374c812
downgrade state version
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2026-03-04 17:11:17 +03:00
e7b8cd46e1
add transaction hash to the unique identifier of the bridging tx
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2026-03-03 22:18:32 +03:00
713cbdfdc1
latest benhcmarking setup for casper runtime
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2026-03-01 13:26:26 +03:00
5dcc23c996
update pallets weights based on the real benchmarkings
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2026-03-01 12:39:44 +03:00
562efe5744
apply final changes to casper runtime
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2026-02-26 21:38:34 +03:00
b0a69493cd
fix benchmarking for slow clap
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2026-02-26 21:36:14 +03:00
bd8d7145af
more optimized version for try_offend_validators
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2026-02-26 14:44:36 +03:00
ba7d2a8222
additional function for exposure trait
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2026-02-26 14:42:39 +03:00
cc300fefb0
apply changes to casper runtime; migrations are included
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2026-02-24 22:06:54 +03:00
c8f8ea7130
rustfmt of the chain specs
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2026-02-24 22:03:45 +03:00
93387218ec
make initialise authorities infallable and fix benchmarking
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2026-02-24 22:02:26 +03:00
6a5029017c
use ExternalBlockNumber type everywhere
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2026-02-23 19:13:14 +03:00
4c79048b49
migration to new block commitment data type; tests included
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2026-02-23 18:56:05 +03:00
24b08a87b1
make max commit deviation to be 1/8 of EpochDuration
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2026-02-23 16:55:33 +03:00
06618069e2
avoid commitments check on the beginning of the epoch
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2026-02-23 15:17:13 +03:00
028afc089f
use internal block number as last_update for block commitments
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2026-02-22 21:56:55 +03:00
f082dfc4e0
ability to iterate over network ids only and get networks lenght without storage read
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2026-02-22 21:54:51 +03:00
c963f7816b
slightly optimise try_slow_clap
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2026-02-22 13:25:10 +03:00
63c03ad6ce
extend trait with network existence check
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2026-02-22 13:14:58 +03:00
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
6263c620ab
fix starter and patch scripts
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2026-02-07 15:35:23 +03:00
4348580127
patches for the latest rustc compiler
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2026-02-05 18:19:54 +03:00
e12b85d5da
small script to test default rpc endpoints
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2026-02-04 20:28:46 +03:00
0a762388d7
make script work with main branch
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2026-02-03 22:30:34 +03:00
cdc14c5ed1
finally fix script for boostrappers
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2026-02-03 18:53:13 +03:00
fc3a6f0cd0
temporarily remove git manipulations during hard reset
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2026-02-03 18:14:20 +03:00
c90ef5f7e3
set git branch for bootstrapers
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2026-02-03 15:20:21 +03:00
a8651dfe84
prepare node to latest version of chain
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2026-02-03 15:17:46 +03:00
ddfbaae2f5
additional information during hard reset
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2026-02-02 19:18:33 +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
73503fd13a
remove local testing scripts
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2026-01-31 18:12:05 +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
3c7e51c0f8
new version of casper runtime
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-12-09 17:46:48 +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
270f3a6191
apply changes from slow clap for the casper runtime
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2025-12-04 18:42:31 +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