Skip to content
  1. Nov 18, 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. Nov 01, 2022
  4. Oct 20, 2022
  5. 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
  6. Oct 10, 2022
  7. Sep 29, 2022
  8. Sep 23, 2022
  9. Sep 16, 2022
  10. Sep 08, 2022
  11. Aug 31, 2022
    • Shawn Tabrizi's avatar
      Companion for Weight v1.5 (#1581) · 48d4f1c5
      Shawn Tabrizi authored
      * cargo test -p cumulus-primitives-utility
      
      * cargo test -p cumulus-pallet-xcmp-queue
      
      * cargo test -p cumulus-pallet-xcm
      
      * cargo test -p cumulus-pallet-dmp-queue
      
      * cargo test -p pallet-template
      
      * cargo test -p cumulus-test-runtime
      
      * fix weights
      
      * fix more weights
      
      * cargo test -p parachains-common
      
      * cargo test -p parachain-template-runtime
      
      * fix weights import
      
      * cargo test -p collectives-polkadot-runtime
      
      * cargo test -p contracts-rococo-runtime
      
      * more
      
      * unused
      
      * fixes
      
      * Update benchmarking.rs
      
      * Update lib.rs
      
      * Update lib.rs
      
      * fix
      
      * fix bug in conversion
      
      * update lockfile for {"polkadot", "substrate"}
      
      Co-authored-by: parity-processbot <>
      48d4f1c5
  12. Aug 30, 2022
  13. Aug 17, 2022
  14. Aug 04, 2022
  15. Aug 03, 2022
    • girazoki's avatar
      Statemint runtimes to accept sufficient assets as xcm fee payment (#1278) · 8f2a3a50
      girazoki authored
      
      
      * point to my branch
      
      * girazoki-add-TakeFirstAssetTrader-to-utility
      
      * Commit lock
      
      * point at custom branch
      
      * add new trader to statemine runtimes
      
      * compiles
      
      * Back to master
      
      * Update last tomls
      
      * Imports up
      
      * remove non-needing imports
      
      * FMT
      
      * log messages properly
      
      * Use TakeRevenue instead of HandleCredit
      
      * Introduce xcm fee handler
      
      * check total supply in tests
      
      * FMT
      
      * fix test
      
      * Start decoupling balance calculation into different traits
      
      * Make traits a bit more generic
      
      * PR suggestions
      
      * add import
      
      * import well
      
      * Place xcmfeesassethandler into parachains common
      
      * fix tests
      
      * config parameters
      
      * Min amount to fee receiver
      
      * Make minimum amount for block author to be at least the ED
      
      * Doc in AssetFeeAsExistentialDepositMultiplier
      
      * saturating sub
      
      * make sure we dont enter twice
      
      * FMT
      
      * fmt again
      
      * adapt tests
      
      * Add doc and struct for weight refund
      
      * Doc
      
      * More doc
      
      * PR suggestions
      
      * store all info related to asset payment as multiasset
      
      * return AssetNotFound instead of TooExpensive
      
      * Use asset transactor to deposit fee
      
      * uninstall from statemint
      
      * R for RUntime and CON for BalanceConverter
      
      * Rework logic to avoid unnecesary match and error
      
      * Rework ED check, also in case of refund
      
      * rework typo
      
      * In case refund makes drop below ED, just refund the difference
      
      * fix test westmint
      
      * clone id
      
      * move test imports to preamble
      
      * move test imports to preamble
      
      * test-utils with builderS
      
      * lock file updated
      
      * remove unused imports
      
      Co-authored-by: default avatarStephen Shelton <[email protected]>
      Co-authored-by: default avatarjoe petrowski <[email protected]>
      Co-authored-by: default avatarjoepetrowski <[email protected]>
      8f2a3a50
  16. Jun 18, 2022
  17. Jun 08, 2022
  18. Jun 05, 2022
  19. Apr 16, 2022
  20. Apr 14, 2022
  21. Apr 12, 2022
  22. Mar 28, 2022
  23. Mar 17, 2022
  24. Mar 10, 2022
  25. Mar 02, 2022
  26. Mar 01, 2022
    • Sebastian Kunert's avatar
      Introduce rpc client for relay chain full node (#963) · bc532724
      Sebastian Kunert authored
      
      
      * Initial network interface preparations
      
      * Implement get_storage_by_key
      
      * Implement `validators` and `session_index_for_child`
      
      * Implement persisted_validation_data and candidate_pending_availability
      
      * Fix method name for persisted_validation_data and add encoded params
      
      * Implement `retrieve_dmq_contents` and `retrieve_all_inbound_hrmp_channel_contents`
      
      * Implement `prove_read`
      
      * Introduce separate RPC client, expose JsonRpSee errors
      
      * Simplify closure in call_remote_runtime_function
      
      * Implement import stream, upgrade JsonRpSee
      
      * Implement finality stream
      
      * Remove unused method from interface
      
      * Implement `is_major_syncing`
      
      * Implement `wait_on_block`
      
      * Fix tests
      
      * Unify error handling `ApiError`
      
      * Replace WaitError with RelayChainError
      
      * Wrap BlockChainError in RelayChainError
      
      * Unify error handling in relay chain intefaces
      
      * Fix return type of proof method
      
      * Improve error handling of new methods
      
      * Improve error handling and move logging outside of interface
      
      * Clean up
      
      * Remove unwanted changes, clean up
      
      * Remove unused import
      
      * Add format for StatemachineError and remove nused From trait
      
      * Use 'thiserror' crate to simplify error handling
      
      * Expose error for overseer, further simplify error handling
      
      * Reintroduce network interface
      
      * Implement cli option
      
      * Adjust call_state method to use hashes
      
      * Disable PoV recovery when RPC is used
      
      * Add integration test for network full node
      
      * Use Hash instead of BlockId to ensure compatibility with RPC interface
      
      * Fix cargo check warnings
      
      * Implement retries
      
      * Remove `expect` statements from code
      
      * Update jsonrpsee to 0.8.0 and make collator keys optional
      
      * Make cli arguments conflicting
      
      * Remove unused `block_status` method
      
      * Add clippy fixes
      
      * Cargo fmt
      
      * Validate relay chain rpc url
      
      * Clean up dependencies and add one more integration test
      
      * Clean up
      
      * Clean up dependencies of relay-chain-network
      
      * Use hash instead of blockid for rpc methods
      
      * Fix tests
      
      * Update client/cli/src/lib.rs
      
      Co-authored-by: default avatarKoute <[email protected]>
      
      * Improve error message of cli validation
      
      * Add rpc client constructor
      
      * Do not use debug formatting for errors
      
      * Improve logging for remote runtime methods
      
      * Only retry on transport problems
      
      * Use PHash by value, rename test
      
      * Improve tracing, return error  on relay-chain-interface build
      
      * Fix naming, use generics instead of deserializing manually
      
      * Rename RelayChainLocal and RelayChainNetwork
      
      * lock
      
      * Format
      
      * Use impl trait for encodable runtime payload
      
      * Only instantiate full node in tests when we need it
      
      * Upgrade scale-codec to 3.0.0
      
      * Improve expect log
      
      Co-authored-by: default avatarKoute <[email protected]>
      bc532724
  27. Feb 25, 2022
  28. Feb 22, 2022
  29. Jan 31, 2022
  30. Jan 25, 2022
  31. Jan 14, 2022
  32. Jan 03, 2022
  33. Dec 27, 2021
  34. 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
  35. Dec 22, 2021
  36. Nov 16, 2021