Files
pezkuwi-sdk/pezcumulus/teyrchains
pezkuwichain 741a65416a fix(security): address remaining CRITICAL audit findings
presale:
- C2: Convert refund_cancelled_presale to batch pattern (start_index, batch_size)
  to prevent unbounded iteration with many contributors
- C3: Add status validation to cancel_presale — prevent cancelling Finalized/Failed
  presales (prevents double-dipping: tokens distributed + refund issued)
- C4: Enforce CreatePresaleOrigin (was defined in Config but never checked)
  Changed to Success = AccountId for proper owner extraction
- Clarified presale_account_id expect() safety comment (Blake2_256 = 32 bytes,
  always sufficient for AccountId decode)
- Removed unused imports (Defensive, AccountIdConversion)

perwerde:
- C5: Prevent NextCourseId overflow — added ensure!(< u32::MAX) check and
  replaced unchecked += 1 with saturating_add

welati:
- C6: Enforce access control on all CollectiveDecisionType variants:
  ConstitutionalReview/Unanimous → Diwan members only
  ExecutiveDecision → Serok only
  HybridDecision → Parliament OR Serok
  VetoOverride → Parliament members only
2026-03-21 21:23:43 +03:00
..
2026-01-07 09:41:15 +03:00

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 dir runtimes.
  • 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.