Skip to content
  1. Mar 07, 2022
    • Doordashcon's avatar
      Add benchmarks for Xcmp QueueConfigData setters (#982) · 8d96b867
      Doordashcon authored
      
      
      * add benchmarks for xcmp queue config data setters
      
      * add new benchmarks
      
      * cargo fmt
      
      * added newline
      
      * Additional weights for dmp queue for westmint
      
      * include new weights
      
      * Adding WeightInfo trait and friends
      
      * WeightInfo should be on xcmp rather than dmp pallet
      
      * cargo fmt
      
      * update scripts
      
      * mock weightinfo
      
      * cargo fmt
      
      * canvas kusama is substrate weight
      
      * weights from bm2
      
      * expanding to other similar config functions
      
      * updated weights from bm2
      
      * Revert "updated weights from bm2"
      
      This reverts commit b1702780982c278b44f572c2089b1d7ddc564d76.
      
      * Consolidation to one benchmark
      
      * reran weights
      
      * Update pallets/xcmp-queue/src/lib.rs
      
      Co-authored-by: default avatarIgnacio Palacios <[email protected]>
      
      * integrating review feedback
      
      * rerun weights
      
      * Add DispatchClass::Operational
      
      Co-authored-by: default avatarSquirrel <[email protected]>
      Co-authored-by: default avatarIgnacio Palacios <[email protected]>
      8d96b867
    • Gavin Wood's avatar
      Companion for #10896: Minor Uniques pallet improvements (#1070) · ca379cf7
      Gavin Wood authored
      * Formatting
      
      * Add set_accept_ownership weight
      
      * Revert lock file
      
      * Fixes
      
      * Fixed
      
      * Revert lock
      
      * Fixes
      
      * Bump Substrate
      ca379cf7
  2. Mar 04, 2022
  3. Mar 02, 2022
    • Bastian Köcher's avatar
      polkadot-collator: Switch to wasm only (#1054) · b78414e9
      Bastian Köcher authored
      
      
      * polkadot-collator: Switch to wasm only
      
      This switches the polkadot-collator to run everything in wasm only mode. While we should not that
      yet with the relay chain, because it can happen that we run out of memory (very unlikely). On the
      relay chain that would be bad, because we only have at max 2 sessions to bring everything back, for
      Parachains that isn't such a problem as they would only stall and we could roll out a release that
      fixes it. Besides that, Parachain validation on the relay chain happens in Wasm already all the time
      and there is the memory usage even higher then on block import.
      
      * cargo fmt
      
      * remove unused var
      
      Co-authored-by: default avatarSquirrel <[email protected]>
      b78414e9
    • Dan Shields's avatar
      Update Cumulus to common Cargo formmating scheme (#1050) · 62ccc853
      Dan Shields authored
      * Update throughout with common Cargo formating scheme
      62ccc853
  4. Mar 01, 2022
    • Dan Shields's avatar
      Add wasmtime feature to all parachain clients (#1058) · bd4f3025
      Dan Shields authored
      
      
      * add wasmtime feature to all parachain clients
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      bd4f3025
    • 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
  5. Feb 25, 2022
  6. Feb 23, 2022
  7. Feb 22, 2022
  8. Feb 21, 2022
  9. Feb 17, 2022
    • Alexander Theißen's avatar
      Add `canvas-kusama` runtime (#980) · 4d319d0f
      Alexander Theißen authored
      * Added kanvas runtime
      
      * Fix up benchmarking
      
      * Fixup markdown stucture
      
      * replace :emoji_name: by utf8
      * fix up header hierarchy
      
      * Merge canvas README
      
      * Only use "Canvas" as a name
      
      * Remove reference to Rocanvas
      4d319d0f
  10. Feb 11, 2022
  11. Feb 10, 2022
  12. Feb 09, 2022
  13. Feb 01, 2022
  14. Jan 31, 2022
  15. Jan 26, 2022
  16. Jan 25, 2022
  17. Jan 22, 2022
  18. Jan 21, 2022
    • Bastian Köcher's avatar
      pov-recovery: Enable pov-recovery as well on full nodes (#927) · 035f7cee
      Bastian Köcher authored
      * pov-recovery: Enable pov-recovery as well on full nodes
      
      Pov recovery was before only enabled for collators. The reason behind this was prevention of spam of
      the relay chain for block recovery. However, recent events has shown that this wasn't a good idea.
      So, this pr enables pov-recover for normal full nodes as well, but with a much higher delay before
      trying to recover a block. This means that full nodes will wait in minimum 2.5 minutes and in
      maximum 5 minutes before recovering a block. This should give collators in "normal mode" enough time
      to recover a block (they wait in maximum 6 seconds after they have seen a new candidate in the relay
      chain) before recovering a block. So, we should hopefully not spam the relay chain.
      
      * FMT
      
      * Fixes
      
      * Fix documentation
      035f7cee
    • Oliver Tale-Yazdi's avatar
      Use `define_benchmarks!` (#926) · ab76ff53
      Oliver Tale-Yazdi authored
      
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      ab76ff53