6624acc5ff
presale: - Split unbounded finalize_presale distribution into batched batch_distribute() extrinsic (same pattern as batch_refund_failed_presale) to prevent block weight exhaustion with many contributors - Fix u128 overflow in calculate_reward_dynamic() by using multiply_by_rational_with_rounding() for safe intermediate multiplication - Fix pre-existing batch_refund test assertion (platform fee deduction was not accounted for in expected refund amount) validator-pool: - Bound PoolMembers::iter() with .take(MaxPoolSize) in select_validators_for_era() to prevent unbounded iteration in on_initialize - Fix on_initialize weight accounting to include all DB reads/writes from do_new_era() and select_validators_for_era() (was only counting 2 reads)
Teyrchains
This directory is the home of Parity-developed teyrchain runtimes. This directory is runtime focused, and does not include builds of teyrchain nodes.
The general internal structure is:
chain-specs: Chain specs for the runtimes contained in its sibling dirruntimes.common: Common configurations,impls, etc. used by several teyrchain runtimes.integration-tests: Integration tests to test teyrchain interactions via XCM.pallets: FRAME pallets that are specific to teyrchains.runtimes: The entry point for teyrchain runtimes.
System Teyrchains
The runtimes directory includes many, but is not limited to,
system teyrchains. Likewise, not all
system teyrchains are in this repo.
Releases
The project maintainers generally try to release a set of teyrchain runtimes for each PezkuwiChain Relay Chain runtime release.