Skip to content
  1. Jan 19, 2022
    • Bastian Köcher's avatar
      xcmp-queue: Fix handling of encoded blobs (#889) · d988e383
      Bastian Köcher authored
      * xcmp-queue: Fix handling of encoded blobs
      
      With #701 we tried to fix some infinite loop related to encoded blobs, however that lead actually to
      not being able to process encoded blobs at all. The reason for this is that `decode_all` doesn't
      consume the given input. The point of this function is that it returns an error if the data couldn't
      be decoded or there is still data left. However, this means that the check
      `remaining_fragments.len() < last_remaining_fragments.len()` would always fail.
      
      We remove the while loop, because we decode the entire fragment anyway or it fails. Aka, we don't
      need to loop here. Next we remove the broken check and we directly reset the
      `remaining_fragments` (because `decode_all` doesn't consume anything).
      
      * Restore correct behavior
      
      We need to use a while loop, because there can be multiple `Vec<u8>`s. We also need to use `decode`,
      because `decode_all` would otherwise return an error if the input is not empty afterwards.
      
      * Remove unused import
      d988e383
    • Squirrel's avatar
      weights update statemine v6 (#754) (#915) · eea1a655
      Squirrel authored
      
      
      Co-authored-by: default avatarIgnacio Palacios <[email protected]>
      eea1a655
    • Squirrel's avatar
      Add Statemint Genesis Values (#817) (#905) · b196e93b
      Squirrel authored
      
      
      * Add Statemint Genesis Values (#817)
      
      * add some docs to genesis scripts
      
      * move statemint test chainspec
      
      * add initial (draft) version of statemint chain spec
      
      * adjust genesis value script
      
      * add Statemint genesis Aura keys
      
      * add bootnodes to statemint-genesis spec
      
      * Add checks, debug and doc (#790)
      
      * Add checks, debug and doc
      
      * Update scripts/generate_genesis_value.sh
      
      Co-authored-by: default avatarAlexander Popiak <[email protected]>
      
      * Update scripts/generate_genesis_value.sh
      
      Co-authored-by: default avatarAlexander Popiak <[email protected]>
      
      Co-authored-by: default avatarAlexander Popiak <[email protected]>
      
      * default to official shell rpc endpoint for genesis values
      
      * remove statemint test chain spec
      
      * add Statemint chain spec and genesis values
      
      * sort statemint genesis values
      
      * some script docs adjustments
      
      Co-authored-by: default avatarChevdor <[email protected]>
      
      * cargo fmt
      
      Co-authored-by: default avatarAlexander Popiak <[email protected]>
      Co-authored-by: default avatarChevdor <[email protected]>
      b196e93b
    • Squirrel's avatar
      Configure Statemint and Statemine to Allow Teleports (#912) · d03ef1d5
      Squirrel authored
      
      
      * configure pallet-xcm to allow teleports but forbid generic sends
      
      * bump spec_version
      
      Co-authored-by: default avatarAlexander Popiak <[email protected]>
      d03ef1d5
  2. Jan 18, 2022
  3. Jan 17, 2022
  4. Jan 14, 2022
  5. Jan 13, 2022
  6. Jan 12, 2022
  7. Jan 10, 2022
  8. Jan 05, 2022
  9. Jan 04, 2022
  10. Jan 03, 2022
  11. Dec 31, 2021
  12. Dec 30, 2021
  13. Dec 28, 2021
  14. Dec 27, 2021
  15. Dec 24, 2021
    • Bastian Köcher's avatar
      Mock XCM (#876) · 229000c5
      Bastian Köcher authored
      
      
      * sketch downward messages
      
      * bring in attempt to mock mqc-head from moonbeam
      
      * just patch individual crates
      
      * fing comma
      
      * add some logs
      
      * Holy shit, we actually imported a block!
      
      * Actually mock the message queue chain
      
      * use relay parent number for `sent_at`
      
      * finish moving MQC to primitives
      
      * more complete mock and better config type
      
      * change name
      
      * fix export
      
      * better map types
      
      * fix dependencies after rebase
      
      * try-rejigging branches because this is an override
      
      * try to re-jig for hrmp mcqs
      
      * fix branches
      
      * actually fix branches better
      
      * even better
      
      * Removestray log lines
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * Nicer handling of default `ParachainSystem` name
      
      * better docs
      
      * Default MockXcm for people who only who don't care to mock xcm.
      
      * cargo fmt
      
      * trailing commas
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * use the variable for hrmp to
      
      * fix deref
      
      * deduplicate MessageQueueChain
      
      * better docs for MessageQueueChain
      
      * Use `Vec<u8>` instead of `&'static [u8]`
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * cargo fmt
      
      * associated changes for using Vec<u8>
      
      * Unused import
      
      * Fix compilation
      
      Co-authored-by: default avatarJoshy Orndorff <[email protected]>
      Co-authored-by: default avatarJoshy Orndorff <[email protected]>
      229000c5
    • cheme's avatar
      Companion for substrate#9732 (#678) · 0256fe73
      cheme authored
      * state-update4 branch
      
      * new ref
      
      * Update to latest.
      
      * update deps
      
      * switch to host state version
      
      * update
      
      * fmt
      
      * up
      
      * remove trie patch
      
      * remove patch
      
      * fmt
      
      * update
      
      * set state_versions in runtimes
      
      * state version from storage
      
      * state version from storage
      
      * seedling compat
      
      * restore lock
      
      * update lockfile for substrate
      
      * update lockfile for polkadot
      
      Co-authored-by: parity-processbot <>
      0256fe73
  16. Dec 22, 2021
  17. Dec 21, 2021
  18. Dec 20, 2021
  19. Dec 16, 2021
  20. Dec 15, 2021
  21. Dec 14, 2021
  22. Dec 13, 2021
  23. Dec 12, 2021
  24. Dec 11, 2021