Skip to content
  1. Mar 14, 2022
  2. Mar 12, 2022
  3. Mar 11, 2022
  4. Mar 10, 2022
  5. Mar 09, 2022
  6. Mar 08, 2022
  7. Mar 04, 2022
  8. Mar 03, 2022
    • cheme's avatar
      paritydb support for parachains db. (#4838) · d5ddb1a8
      cheme authored
      * parity db subsystem without cache and no splitted column
      
      * fmt
      
      * fix path (auto from parity-db fail)
      
      * lru cache for db column with cache
      
      * Revert "lru cache for db column with cache"
      
      This reverts commit ae177bc5e107a075eff6a21f651218ada6599b74.
      
      * Write_lock mutex
      
      * theoric code for bridges
      
      * revert changes
      
      * Revert bridge changes
      
      * fix spec_version
      
      * update parity db
      
      * test purge-db
      
      * Use specific ordered collection with paritydb.
      
      * Revert "Use specific ordered collection with paritydb."
      
      This reverts commit 8b66d0a4ae914cba1af0f44050d45dd6d9327c6b.
      
      * fix chain selection tests.
      
      * remove patch
      
      * fix auto.
      
      * Remove useless exists directory method
      
      * purge chain without parity-db removal
      
      * spellcheck
      
      * renamings and filtering.
      
      * fix assertion
      
      * format
      
      * update parity-db and fmt
      
      * Auto keep using rocksdb when it exists.
      
      * Revert "Auto keep using rocksdb when it exists."
      
      This reverts commit cea49b32ae590bdce31fed5c45f3c028ae0c7564.
      
      * Update kvdb version.
      d5ddb1a8
  9. Mar 02, 2022
  10. Mar 01, 2022
  11. Feb 26, 2022
    • Falco Hirschenberger's avatar
      Add benchmarking for parachain runtime `ump` pallet (#3889) · fc919376
      Falco Hirschenberger authored
      
      
      * Claim grounds, not working yet.
      
      * still wip, nothing to see
      
      * Module visibility problem
      
      * Add benchmarks for all parachain-enabled chains
      
      * Add missing mock weights
      
      * Fix mock weight info
      
      * Add max-weight to extrinsic weight
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_parachains::ump --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_parachains_ump.rs
      
      * sorting declarations
      
      * Use a maximum size message to benchmark worst-case
      
      * remove warning
      
      * Fix msg size overflow in tests
      
      * Use benchmarked weight in PostInfo
      
      * Update runtime/parachains/src/ump.rs
      
      Co-authored-by: default avatarAlexander Popiak <[email protected]>
      
      * Delete obsolete file
      
      * Compile fix
      
      * Fix spelling
      
      * Add benchmark for `UmpSink::process_upward_message`
      
      It benchmarks the time to process a message, mainly the size-dependent
      decoding time. This is used interally for refunding weight from
      `service_overweight`
      
      * Fix warning
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_parachains::ump --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_parachains_ump.rs
      
      * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_parachains::ump --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_parachains_ump.rs
      
      * Update runtime/parachains/src/ump.rs
      
      Co-authored-by: default avatarKian Paimani <[email protected]>
      
      * Give mock weights for tests a name instead of ()
      
      * Add benchmark for `initializer_on_new_session` aka.
      `perform_outgoing_para_cleanup`
      
      * Remove unnescessary pub specifier and change folding to a for loop
      
      suggestions by @pepyakin
      
      
      
      * Update runtime/parachains/src/ump.rs
      
      Co-authored-by: default avatarKian Paimani <[email protected]>
      
      * Update runtime/parachains/src/ump.rs
      
      Co-authored-by: default avatarKian Paimani <[email protected]>
      
      * Add comment on weight calculation and expected slight overestimation
      
      * Introduce a size bound constant for upward messages
      
      * Use KiB not kB for message size bound
      
      * Enforce max-message size bound
      
      * Use a const for upward message size bound.
      
      * Decrease max_upward_message_sizes to 50KiB as suggested by @pepyakin
      
      * Fix creating overweight messages
      
      * cargo run --quiet --profile=production  --features=runtime-benchmarks -- benchmark --chain=rococo-dev --steps=50 --repeat=20 --pallet=runtime_parachains::ump --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/rococo/src/weights/runtime_parachains_ump.rs
      
      * cargo run --quiet --profile=production  --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_parachains::ump --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_parachains_ump.rs
      
      * cargo run --quiet --profile=production  --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_parachains::ump --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_parachains_ump.rs
      
      * Remove unused variable
      
      * Rename benchmark function to the function actually benchmarked and some
      code cleanup
      
      * cargo run --quiet --profile=production  --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=runtime_parachains::ump --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/runtime_parachains_ump.rs
      
      * cargo run --quiet --profile=production  --features=runtime-benchmarks -- benchmark --chain=rococo-dev --steps=50 --repeat=20 --pallet=runtime_parachains::ump --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/rococo/src/weights/runtime_parachains_ump.rs
      
      * cargo run --quiet --profile=production  --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=runtime_parachains::ump --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/runtime_parachains_ump.rs
      
      * Better variable naming
      
      * Fix build
      
      * Fix build
      
      * Fix some remarks from @pepyakin
      
      
      
      Co-authored-by: default avatarParity Bot <[email protected]>
      Co-authored-by: default avatarAlexander Popiak <[email protected]>
      Co-authored-by: default avatarKian Paimani <[email protected]>
      Co-authored-by: default avataremostov <[email protected]>
      fc919376
  12. Feb 25, 2022
    • dependabot[bot]'s avatar
      Bump color-eyre from 0.6.0 to 0.6.1 (#4984) · 2771f183
      dependabot[bot] authored
      
      
      Bumps [color-eyre](https://github.com/yaahc/color-eyre) from 0.6.0 to 0.6.1.
      - [Release notes](https://github.com/yaahc/color-eyre/releases)
      - [Changelog](https://github.com/yaahc/color-eyre/blob/master/CHANGELOG.md)
      - [Commits](https://github.com/yaahc/color-eyre/compare/v0.6.0...v0.6.1)
      
      ---
      updated-dependencies:
      - dependency-name: color-eyre
        dependency-type: direct:production
        update-type: version-update:semver-patch
      ...
      
      Signed-off-by: default avatardependabot[bot] <[email protected]>
      
      Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
      2771f183
    • Vsevolod Stakhov's avatar
      Add metrics for out of view statement distribution errors (#4972) · 44f66825
      Vsevolod Stakhov authored
      * Add a simple metric for statements out-of-view
      
      * Avoid repeated out-of-view peer reputation change messages
      
      * Log reporting status
      
      * Address review comments
      
      * Use counter to store a number of unexpected messages from a peer
      
      * Distinguish different unexpected statements in the metrics
      
      * Fix labels cardinality
      
      * Rename metric name to `statements_unexpected`
      
      * Move metrics to a separate unit, avoid unnecessary enum
      
      * Prefer specific methods in lieu of public constants
      44f66825
    • Bernhard Schuster's avatar
      fatality based errors (#4448) · d9465827
      Bernhard Schuster authored
      * seed commit for fatality based errors
      
      * fatality
      
      * first draft of fatality
      
      * cleanup
      
      * differnt approach
      
      * simplify
      
      * first working version for enums, with documentation
      
      * add split
      
      * fix simple split test case
      
      * extend README.md
      
      * update fatality impl
      
      * make tests passed
      
      * apply fatality to first subsystem
      
      * fatality fixes
      
      * use fatality in a subsystem
      
      * fix subsystemg
      
      * fixup proc macro
      
      * fix/test: log::*! do not execute when log handler is missing
      
      * fix spelling
      
      * rename Runtime2 to something sane
      
      * allow nested split with `forward` annotations
      
      * add free license
      
      * enable and fixup all tests
      
      * use external fatality
      
      Makes this more reviewable.
      
      * bump fatality dep
      
      Avoid duplicate expander compilations.
      
      * migrate availability distribution
      
      * more fatality usage
      
      * chore: bump fatality to 0.0.6
      
      * fixup remaining subsystems
      
      * chore: fmt
      
      * make cargo spellcheck happy
      
      * remove single instance of `#[fatal(false)]`
      
      * last quality sweep
      
      * fixup
      d9465827
    • Bastian Köcher's avatar
      Try to fix disputes test (#4988) · 4028ca10
      Bastian Köcher authored
      * Try to fix disputes test
      
      * Enable all native runtimes
      4028ca10
    • wigy's avatar
      Companion to "Updating scale to v3" (#4958) · e8cb6cda
      wigy authored
      
      
      * Updating dependencies
      
      * Adapting code to scale v3
      
      * Upgrade bitvec to 1.0.0
      
      * Fix bitvec arithmetics
      
      * Update Cargo.lock
      
      * Update sp-io
      
      * Fixing the build
      
      * Yanked scale-info 2.0.0
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      e8cb6cda
  13. Feb 24, 2022
  14. Feb 23, 2022
  15. Feb 22, 2022
  16. Feb 18, 2022
  17. Feb 17, 2022