Commit Graph

399 Commits

Author SHA1 Message Date
3cf96b1820
make BFT function name more self-descriptive and align implementation with paper
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2026-09-08 14:17:01 +03:00
66bf42cbd3
remove default network gatekeepers because we don't any yet
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2026-09-06 22:14:42 +03:00
8a321ab5e1
apply last changes for the runtime
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2026-09-06 16:28:33 +03:00
6b353d1169
adjust reference machine read/write; fix script for genesis; remove legacy stuff
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2026-09-06 16:26:52 +03:00
90371a1412
finalizing the runtime
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2026-09-06 02:58:22 +03:00
1b0c4bbb31
remove legacy code
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2026-09-06 02:56:48 +03:00
589e88f6eb
update default weight for pallets
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2026-09-06 02:52:29 +03:00
3e6192cee7
benchmarking for evm bridge out added
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2026-09-06 01:35:46 +03:00
f2544e3876
make governance work over exodus
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2026-09-05 23:57:28 +03:00
2387a2fe32
make exodus to change gatekeeped amount after bridge out
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2026-09-05 23:56:24 +03:00
5243bd7c3d
apply benchmarked weights
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2026-09-05 23:45:44 +03:00
8ee32ff609
make benchmarking dependant on the actual data
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2026-09-05 23:42:28 +03:00
06af604cc8
apply benchmarked weight as default
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2026-09-05 23:41:03 +03:00
c4f22df03d
remove warnings from auto-generated code
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2026-09-05 23:38:22 +03:00
554bc4499f
fix governance benchmarking; make id dependant on the proof length
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2026-09-05 23:36:27 +03:00
c7637d8ce6
additional trait for the evm governance
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2026-09-05 23:34:33 +03:00
3b8030527b
make benchmarking flag available based on the feature flag
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2026-09-05 23:29:03 +03:00
4d836ee8ac
remove unused pallet
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2026-09-05 23:27:58 +03:00
90dfc76581
weights benchmarked based on reference machine
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2026-09-05 12:39:37 +03:00
613b09ac6a
fix weights calculations
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2026-09-02 03:13:11 +03:00
98de9373dd
make runtime more legit for real use case; make genesis file cleaner
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2026-09-02 03:11:15 +03:00
882ec7ec0d
remove unnecessary files and sligtly tweak the ratios
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2026-09-02 03:09:09 +03:00
afea8046f9
put benchmarking under the feature flag at once
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2026-09-02 03:06:41 +03:00
80f58e6b11
finally make feature to represent runtime
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2026-09-02 03:04:38 +03:00
20c8b9f1b2
fix the benchmarking script
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2026-09-02 03:03:39 +03:00
e694489f75
slightly optimize bridge in/out logic; make variable names more self descriptive; fix benchmarking for governance
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2026-09-02 02:59:26 +03:00
e104a49e53
fix runtime for the benchmarking
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2026-08-31 15:06:47 +03:00
99ac2f1f08
make fee calculations correct based on nanoseconds
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2026-08-31 15:05:56 +03:00
ffa65dc0a7
bump runtime-common version
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2026-08-31 15:04:27 +03:00
bfcd7af559
we need to use 1/3 if the block time because each validator will re-execute all extrinsics
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2026-08-31 15:03:33 +03:00
85f1dc9646
remove unnecessary code blocks
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2026-08-31 15:02:05 +03:00
e7a191d5e7
remove annoying warning
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2026-08-31 14:59:56 +03:00
c173734ea8
align governance preclaims with python script
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2026-08-31 14:58:52 +03:00
7b050f1363
fix tests for exodus pallet
Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
2026-08-31 14:57:06 +03:00
d83ee59508
let the EXODUS begin...
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2026-08-29 14:48:50 +03:00
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