1. 07 Apr, 2021 1 commit
    • Gavin Wood's avatar
      XCM revamp (#2836) · 12a3e03f
      Gavin Wood authored
      * Remove unused relaying XCM
      * Aggregate HRMP (XCMP/HMP) messages. Payloads for spambot.
      * Revert lock
      * Fix
      * Broken example
      * Introduce fee payment mechanics into XCM.
      * Weight limitations on XCM execution
      * Mock environment for tests and the first test
      * Tests for XCM and a few refactors.
      * Remove code that's not ready
      * Fix for an XCM and an additional test
      * Query response system
      * XCMP message dispatch system reimagining
      - Moved most of the logic into xcm-handler pallet
      - Altered the outgoing XCMP API from push to pull
      - Changed underlying outgoing queue data structures to avoid multi-page read/writes
      - Introduced queuing for incoming messages
      - Introduced signal messages as a flow-control sub-stream
      - Introduced flow-control with basic threshold back-pressure
      - Introduced overall weight limitation on messages executed
      - Additonal alterations to XCM APIs for the new system
      * Some build fixes
      * Remove the Encode bounds sprayed around
      * More faff
      * Fix bounds amek use latest scale codec.
      * remove println
      * fixes
      * Fix XcmExecutor Tests
      * Fix XCM bounds using derivative crate
      * Refactor names of XcmGeneric &c into Xcm
      * Repot the xcm-executor into xcm-builder
      * Docs
      * Docs
      * Fixes
      * Update xcm/src/lib.rs
      Co-authored-by: Shawn Tabrizi's avatarShawn Tabrizi <shawntabrizi@gmail.com>
      * Fixes
      * Docs
      * Update runtime/parachains/src/ump.rs
      Co-authored-by: Shawn Tabrizi's avatarShawn Tabrizi <shawntabrizi@gmail.com>
      * Docs
      * Fixes
      * Fixes
      * Fixes
      * Docs
      * Fixes
      * Fixes
      * Introduce transfer_asset specialisation.
      * Fixes
      * Fixes
      Co-authored-by: Shawn Tabrizi's avatarShawn Tabrizi <shawntabrizi@gmail.com>
  2. 27 Oct, 2020 1 commit
  3. 25 Sep, 2020 1 commit
    • Sergey Pepyakin's avatar
      collation-generation: guide and tidying (#1753) · 507b9cbc
      Sergey Pepyakin authored
      * Guide: Change for {Global,Local}ValidationData to ValidationData
      Seems like that was missed during the transition from notions of global and local validation data to persistent and transient
      * collation-generation: a small drive-by fix of line length
      * collation-generation: extract an error module
      this allows us to avoid piling Error and Result types from different contexts, specifically std vs. module-local
      * collation-generation: extract LOG_TARGET from log statements
  4. 18 Jul, 2020 1 commit
    • asynchronous rob's avatar
      Implement Runtime APIs (#1411) · 5d7142f1
      asynchronous rob authored
      * create a README on Runtime APIs
      * add ParaId type
      * write up runtime APIs
      * more preamble
      * rename
      * rejig runtime APIs
      * add occupied_since to `BlockNumber`
      * skeleton crate for runtime API subsystem
      * improve group_for_core
      * improve docs on availability cores runtime API
      * guide: freed -> free
      * add primitives for runtime APIs
      * create a v1 ParachainHost API trait
      * guide: make validation code return `Option`al.
      * skeleton runtime API helpers
      * make parachain-host runtime-generic
      * skeleton for most runtime API implementation functions
      * guide: add runtime API helper methods
      * implement new helpers of the inclusion module
      * guide: remove retries check, as it is unneeded
      * implement helpers for scheduler module for Runtime APIs
      * clean up `validator_groups` implementation
      * implement next_rotation_at and last_rotation_at
      * guide: more helpers on GroupRotationInfo
      * almost finish implementing runtime APIs
      * add explicit block parameter to runtime API fns
      * guide: generalize number parameter
      * guide: add group_responsible to occupied-core
      * update primitives due to guide changes
      * finishing touches on runtime API implementation; squash warnings
      * break out runtime API impl to separate file
      * add tests for next_up logic
      * test group rotation info
      * point to filed TODO
      * remove unused TODO [now]
      * indentation
      * guide: para -> para_id
      * rename para field to para_id for core meta
      * remove reference to outdated AvailabilityCores type
      * add an event in `inclusion` for candidates being included or timing out
      * guide: candidate events
      * guide: adjust language
      * Candidate events type from guide and adjust inclusion event
      * implement `candidate_events` runtime API
      * fix runtime test compilation
      * max -> min
      * fix typos
      * guide: add `RuntimeAPIRequest::CandidateEvents`
  5. 06 Apr, 2020 1 commit
    • asynchronous rob's avatar
      Upgradeable validation functions (#918) · ed2c4cab
      asynchronous rob authored
      * upgrade primitives to allow changing validation function
      * set up storage schema for old parachains code
      * fix compilation errors
      * fix test compilation
      * add some tests for past code meta
      * most of the runtime logic for code upgrades
      * implement old-code pruning
      * add a couple tests
      * clean up remaining TODOs
      * add a whole bunch of tests for runtime functionality
      * remove unused function
      * fix runtime compilation
      * extract some primitives to parachain crate
      * add validation-code upgrades to validation params and result
      * extend validation params with code upgrade fields
      * provide maximums to validation params
      * port test-parachains
      * add a code-upgrader test-parachain and tests
      * fix collator tests
      * move test-parachains to own folder to work around compilation errors
      * fix test compilation
      * update the Cargo.lock
      * fix parachains tests
      * remove dbg! invocation
      * use new pool in code-upgrader
      * bump lockfile
      * link TODO to issue
  6. 05 Jan, 2020 1 commit
  7. 14 Aug, 2018 1 commit