Skip to content
Snippets Groups Projects
  1. Dec 03, 2022
  2. Nov 07, 2022
    • Michal Kucharczyk's avatar
      BlockId removal: &Hash to Hash (#1818) · eb4aabf8
      Michal Kucharczyk authored
      * BlockId removal: &Hash to Hash
      
      It changes &Block::Hash argument to Block::Hash.
      
      This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292)
      
      * update lockfile for {"polkadot", "substrate"}
      
      Co-authored-by: parity-processbot <>
      eb4aabf8
  3. Oct 18, 2022
    • Michal Kucharczyk's avatar
      BlockId removal: refactor: StorageProvider (#1770) · 45c71c0d
      Michal Kucharczyk authored
      * BlockId removal: refactor: StorageProvider
      
      It changes the arguments of `Backend::StorageProvider` trait from:
      block: `BlockId<Block>` to: hash: `&Block::Hash`
      
      * update lockfile for {"polkadot", "substrate"}
      
      Co-authored-by: parity-processbot <>
      45c71c0d
  4. Sep 08, 2022
    • Amar Singh's avatar
      Mock epoch index and randomness in SproofBuilder (for testing) (#1594) · 49397d9a
      Amar Singh authored
      
      * minimal babe randomness in sproof builder
      
      * fix indexing
      
      * fix index and clean comment
      
      * use current para block for epoch and randomness
      
      * epoch is para block randomness is relay block
      
      * fix
      
      * make more configurable but keep defaults
      
      * fix export
      
      * fix
      
      * flatten
      
      * better field names
      
      * Update primitives/parachain-inherent/src/mock.rs
      
      * Update primitives/parachain-inherent/src/mock.rs
      
      * FMT
      
      * FIX
      
      * fmt
      
      * Update primitives/parachain-inherent/src/mock.rs
      
      Co-authored-by: default avatarBastian Köcher <git@kchr.de>
      Co-authored-by: default avatarBastian Köcher <info@kchr.de>
      49397d9a
  5. 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 <bkchr@users.noreply.github.com>
      
      * 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 <bkchr@users.noreply.github.com>
      
      * 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 <bkchr@users.noreply.github.com>
      
      * cargo fmt
      
      * associated changes for using Vec<u8>
      
      * Unused import
      
      * Fix compilation
      
      Co-authored-by: default avatarJoshy Orndorff <admin@joshyorndorff.com>
      Co-authored-by: default avatarJoshy Orndorff <JoshOrndorff@users.noreply.github.com>
      229000c5
  6. Sep 16, 2021
    • Chevdor's avatar
      ci: add quick-check with rustfmt (#615) · 6b20f7a2
      Chevdor authored
      
      * ci: add quick-check with clippy and rustfmt
      
      * chore: rustfmt round
      
      * chore: set the same rustfmt config than substrate
      
      * chore: fix formatting
      
      * cI: remove clippy
      
      * ci: switch to nightly for the checks
      
      * ci: fix toolchains and naming
      
      * ci: Limit the check to formatting
      
      * chore: fix formatting
      
      * Update .rustfmt.toml
      
      * Update .rustfmt.toml
      
      Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      6b20f7a2
  7. Jun 23, 2021