Skip to content
  1. Feb 24, 2022
    • wigy's avatar
      Upgrading parity-scale-codec to v3 (#10825) · 535325d2
      wigy authored
      * Upgraded dependencies
      
      * Adapting code to scale v3
      
      * Empty commit to trigger CI
      
      * Triggering CI
      
      * Fixing UI test
      
      * Remove superfluous dev-dep added by #9228
      
      * Cryout for CI
      535325d2
  2. Feb 23, 2022
    • Davide Galassi's avatar
      Clean obsolete BABE's weight data (#10748) · 26ec5d71
      Davide Galassi authored
      
      
      * Clean obsolete BABE weight data
      * Take out test assertion from check closure
      * Optimize metadata access using `HeaderMetadata` trait
      * Apply suggestions from code review
      * Introduce finalize and import pre-commit synchronous actions
      * Do not hold locks between internal methods calls
      * Remove unused generic bound
      * Apply suggestions from code review
      * Register BABE's pre-commit actions on `block_import` instead of `start_babe`
      * PreCommit actions should be `Fn` instead of `FnMut`
      * More robust safenet in case of malformed finality notifications
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      Co-authored-by: default avatarAndré Silva <[email protected]>
      26ec5d71
  3. Feb 22, 2022
  4. Feb 21, 2022
  5. Feb 18, 2022
  6. Feb 16, 2022
  7. Feb 14, 2022
    • Bastian Köcher's avatar
      wasm-builder: Support latest nightly (#10837) · 47622d69
      Bastian Köcher authored
      * wasm-builder: Support latest nightly
      
      With latest nightly, aka rust version 1.60+ namespaced features are added. This changes the handling
      of optional dependencies. We currently have features that enable optional dependencies when `std` is
      enabled. This was before no problem, but now the wasm-builder detects them as enabled. To support
      the transition period until 1.60 is released as stable, this pr adds an heuristic to not enable these
      optional crates in the wasm build when they are enabled in the `std` feature. This heuristic fails
      when someones enables these optional dependencies from the outside as well as via the `std` feature,
      however we hope that no one is doing this at the moment. When namespaced features are enabled, these
      dependencies needs to be enabled using `dep:dependency-name` to solve this properly.
      
      https://doc.rust-lang.org/cargo/reference/unstable.html#namespaced-features
      
      * Remove accidentally added features
      47622d69
    • Bastian Köcher's avatar
      Remove `u32_trait` (#10850) · fdd49f07
      Bastian Köcher authored
      * Remove `u32_trait`
      
      This trait only existed because there wasn't any const generic support at time of creation. However,
      we now have support for it :)
      
      * FMT
      fdd49f07
  8. Feb 11, 2022
  9. Feb 10, 2022
  10. Feb 09, 2022
    • Koute's avatar
      Add a new host function for reporting fatal errors; make WASM backtraces... · 9a31b2c3
      Koute authored
      Add a new host function for reporting fatal errors; make WASM backtraces readable when printing out errors (#10741)
      
      * Add a new host function for reporting fatal errors
      
      * Fix one of the wasmtime executor tests
      
      * Have `#[runtime_interface(wasm_only)]` actually mean WASM-only, and not no_std-only
      
      * Print out errors through `Display` instead of `Debug`
      
      * Switch one more trait to require `Error` for its error instead of only `Debug`
      
      * Align to review comments
      9a31b2c3
  11. Feb 08, 2022
  12. Feb 03, 2022
  13. Feb 01, 2022
  14. Jan 31, 2022
  15. Jan 25, 2022
  16. Jan 24, 2022
  17. Jan 21, 2022
  18. Jan 20, 2022
  19. Jan 17, 2022
  20. Jan 15, 2022
    • Nazar Mokrynskyi's avatar
      Minor tweaks suggested by clippy (#10673) · 0bca06a4
      Nazar Mokrynskyi authored
      * Minor tweaks suggested by clippy
      
      * Fix typo caused by last commit
      
      * Apply review suggestions
      0bca06a4
    • Bastian Köcher's avatar
      runtime-interface: Implement `register_only` functions (#10640) · a534274c
      Bastian Köcher authored
      
      
      * runtime-interface: Implement `register_only` functions
      
      The runtime interface supports versioning of functions. Currently, if you add a new function it will
      be used by the runtime automatically. This results in requiring all nodes of a network to upgrade
      before the runtime is upgraded, otherwise they will fail to instantiate the new runtime because of
      missing host functions. This pr introduces `register_only` functions. This can be used when a new
      runtime interface function should be introduced, but the actual usage can be deferred. This means
      that nodes will have the host function for this, but the runtime will still use the old version of
      the function when being compiled for wasm. However, when a runtime is enacted that uses the new host
      function, the "old nodes" will already have the host function and will continue to work.
      
      * Update primitives/runtime-interface/src/lib.rs
      
      Co-authored-by: default avatarcheme <[email protected]>
      
      * Update primitives/runtime-interface/proc-macro/src/utils.rs
      
      Co-authored-by: default avatarcheme <[email protected]>
      
      * FMT
      
      Co-authored-by: default avatarcheme <[email protected]>
      a534274c
  21. Jan 13, 2022
  22. Jan 12, 2022
  23. Jan 06, 2022
  24. Jan 05, 2022
  25. Jan 04, 2022