1. Aug 03, 2021
    • Amar Singh's avatar
      Add unit tests to pallet-xcm (#3539) · 90e6d318
      Amar Singh authored
      * init
      
      * reserve transfer asset unit test
      
      * happy path tests for all dispatchables and can teleport assets to self surprisingly enough
      
      * better tests
      
      * minimize mock
      
      * clean
      
      * test send xcm failure when router blocks
      
      * rm numbers to prefer variables
      
      * clean
      
      * test execute with local effects
      
      * rm local env stuff
      
      * copyrights
      
      * fix merge conflict
      
      * appease spellcheck
      
      * fmt
      
      * address review comments
      
      * clean constants
      
      * fmt
      90e6d318
    • ferrell-code's avatar
      Parachains para_inherent.rs to FrameV2 (#3531) · 24c0d5a5
      ferrell-code authored
      * last parachains migration!
      
      * migrate runtimes
      
      * disable frame supertrait
      
      * add pallet::inherent
      
      * mock
      
      * cargo +nightly fmt
      24c0d5a5
    • ordian's avatar
      bump crossbeam-deque to 0.7.4 (#3561) · f179e8f5
      ordian authored
      f179e8f5
  2. Aug 02, 2021
  3. Aug 01, 2021
    • Shaun W's avatar
      XCM simulator (#3538) · 1b0baab4
      Shaun W authored
      * Add xcm-simulator and xcm-simulator-example.
      
      * Abstract xcmp and dmp handling.
      
      * Use mock message queue.
      
      * Xcm simulator example unit tests.
      
      * Use relay chain block number on sending msg.
      
      * Fix typo.
      
      * fmt
      
      * more fmt
      
      * Fix deps.
      1b0baab4
  4. Jul 31, 2021
  5. Jul 30, 2021
    • Squirrel's avatar
      Companion for substrate #9319 (#3456) · 4c5b7309
      Squirrel authored
      * move client consensus code out of primitives
      
      * merging crates
      
      * import tweak
      
      * Fixing build: ServiceFactory is a word...
      
      * updating lock file
      
      * Fixed typo in error message
      
      (to bump build)
      
      * update Substrate
      
      Co-authored-by: parity-processbot <>
      4c5b7309
  6. Jul 28, 2021
  7. Jul 27, 2021
  8. Jul 26, 2021
    • Bernhard Schuster's avatar
      integrate dispute finality (#3484) · 6519ba98
      Bernhard Schuster authored
      
      
      * finality_target adjustments
      
      * fn finality_target
      
      * partially address review comments
      
      * fixins
      
      * more rustic if condition
      
      * fix tests
      
      * fixins
      
      * Update node/core/approval-voting/src/lib.rs
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      
      * Update node/core/approval-voting/src/lib.rs
      
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      
      * review comments part one
      
      * rename candidates -> block_descriptions
      
      * testing outline (incomplete, WIP)
      
      * test foo
      
      * split RelayChainSelection into RelayChainSelection{,WithFallback}, introduce HeaderProvider{,Provider}
      
      * make some stuff public (revert this soon™)
      
      * some test improvements
      
      * slips of pens
      
      * test fixins
      
      * add another trait abstraction
      
      * pending edge case tests + warnings fixes
      
      * more test cases
      
      * fin
      
      * chore fmt
      
      * fix cargo.lock
      
      * Undo obsolete changes
      
      * // comments
      
      * make mod pub(crate)
      
      * fix
      
      * minimize static bounds
      
      * resolve number() as before
      
      * fmt
      
      * post merge fix
      
      * address some nits
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      6519ba98
    • ordian's avatar
      enable disputes (#3478) · bd9b7438
      ordian authored
      
      
      * initial integration and migration code
      
      * fix tests
      
      * fix counting test
      
      * assume the current version on missing file
      
      * use SelectRelayChain
      
      * remove duplicate metric
      
      * Update node/service/src/lib.rs
      
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      
      * remove ApprovalCheckingVotingRule
      
      * address my concern
      
      * never mode for StagnantCheckInterval
      
      * REVERTME: some logs
      
      * w00t
      
      * it's ugly but it works
      
      * Revert "REVERTME: some logs"
      
      This reverts commit e210505a2e83e31c381394924500b69277bb042e.
      
      * it's handle, not handler
      
      * fix a few typos
      
      Co-authored-by: default avatarRobert Habermeier <[email protected]>
      bd9b7438
    • Koute's avatar
    • Alexander Popiak's avatar
      Fix TransactAsset Implementation (#3345) · 86f6a173
      Alexander Popiak authored
      
      
      * convert local AssetNotFound errors into XcmError::AssetNotFound
      
      aims allow the tuple implementation of TransactAsset to iterate properly
      
      * add more XcmError descriptions
      
      * adjust the rest of the TransactAsset tuple implementation to the behavior of can_check_in
      
      * fix copy paste errors
      
      * keep iterating tuple on Unimplemented error in TransactAsset
      
      * add tests for tuple implementation of TransactAsset
      
      * Update xcm/src/v0/traits.rs
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      86f6a173
  9. Jul 23, 2021
  10. Jul 22, 2021
  11. Jul 21, 2021
  12. Jul 20, 2021
  13. Jul 19, 2021