Skip to content
  1. Sep 15, 2021
  2. Sep 14, 2021
  3. Sep 13, 2021
  4. Sep 12, 2021
  5. Sep 10, 2021
  6. Sep 09, 2021
  7. Sep 07, 2021
  8. Sep 06, 2021
  9. Sep 04, 2021
  10. Sep 02, 2021
  11. Aug 31, 2021
  12. Aug 30, 2021
  13. Aug 29, 2021
  14. Aug 27, 2021
  15. Aug 26, 2021
  16. Aug 25, 2021
  17. Aug 24, 2021
    • Bastian Köcher's avatar
      Fetch runtime code from storage cache when using proofing backend (#9611) · 30ce8bbc
      Bastian Köcher authored
      Before we fetched the runtime code from the `TrieBackend` and this lead
      to not using the storage cache. Thus, we recalculated the storage hash
      for the runtime code on every call into the runtime and this killed the
      performance on parachains block authoring. The solution is to fetch the
      runtime code from the storage cache, to make sure we use the cached
      storage cache.
      30ce8bbc
  18. Aug 18, 2021
    • Ashley's avatar
      Make choosing an executor (native/wasm) an explicit part of service construction (#9525) · bad45445
      Ashley authored
      
      
      * Split native executor stuff from wasm executor stuff
      
      * Remove `native_runtime_version` in places
      
      * Fix warning
      
      * Fix test warning
      
      * Remove redundant NativeRuntimeInfo trait
      
      * Add a warning for use_native
      
      * Run cargo fmt
      
      * Revert "Add a warning for use_native"
      
      This reverts commit 9494f765a06037e991dd60524f2ed1b14649bfd6.
      
      * Make choosing an executor (native/wasm) an explicit part of service construction
      
      * Add Cargo.lock
      
      * Rename Executor to ExecutorDispatch
      
      * Update bin/node/executor/src/lib.rs
      
      Co-authored-by: default avatarSquirrel <[email protected]>
      
      * Fix tests
      
      * Fix minor node-executor error
      
      * Fix node cli command thing
      
      Co-authored-by: default avatarSquirrel <[email protected]>
      bad45445
  19. Aug 17, 2021
    • David's avatar
      Remove substrate-in-the-browser (#9541) · 2de7e51c
      David authored
      * Comment out browser stuff
      
      * Remove browser stuff
      
      * Remove more wasm transport code
      
      * Remove ExtTransport and rework how telemetry initialises.
      
      * Change (most) wasm-timer using code to use std::time
      
      * Rename CI-job
      
      * Aura does not compile for wasm
      
      * Remove testing in the browser on CI
      
      * Update README
      
      * Leave `StreamSink` be
      
      * fmt
      2de7e51c
  20. Aug 16, 2021
    • Trevor Arjeski's avatar
      RUSTSEC-2021-0076 bump libsecp256k1 (#9391) · d9f02296
      Trevor Arjeski authored
      * RUSTSEC-2021-0076 bump libsecp256k1
      
      libsecp256k1 allows overflowing signatures
      https://rustsec.org/advisories/RUSTSEC-2021-0076
      
      
      
      Changes were made to conform to libsecp256k1 version differences.
      
      Closes #9356
      
      * parse_standard_slice() -> parse_overflowing_slice()
      
      * Added v2 host function for ecdsa_verify
      
      * Add feature tag over helpers
      
      * Added ecdsa_verify v2 to test runner
      
      * PR feedback
      
      - Spaces -> tabs
      - renamed two helper functions
      
      * Fixed imports after rebasing
      
      * Bump rest of libsecp256k1 (and libp2p)
      
      libp2p also uses libsecp256k1 so it is required to be bumped too, along
      with all the version difference changes.
      
      * Add version2 for ecdsa pubkey recovery
      
      * libp2p rebase master fixes
      
      * Fix test panic when non Behaviour event is returned
      
      * Update bin/node/browser-testing/Cargo.toml
      
      * Update primitives/core/src/ecdsa.rs
      
      * Update primitives/core/src/ecdsa.rs
      
      * Update Cargo.lock
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      d9f02296
  21. Aug 13, 2021
  22. Aug 12, 2021
  23. Aug 11, 2021
  24. Aug 10, 2021
    • Bastian Köcher's avatar
      Make `UncheckedExtrinsic` encode more readable (#9531) · 17b774a2
      Bastian Köcher authored
      Actually this will cost us another allocation, but before this wasn't
      really safe. Assuming that we only need `size_of` bytes for the encoding
      of the tx could have ended with an invalid encoding.
      17b774a2
    • Ashley's avatar
      Refactor `sc_executor::RuntimeInfo` trait into 2 parts (#9498) · 394c2817
      Ashley authored
      * Split native executor stuff from wasm executor stuff
      
      * Remove `native_runtime_version` in places
      
      * Fix warning
      
      * Fix test warning
      
      * Remove redundant NativeRuntimeInfo trait
      
      * Add a warning for use_native
      
      * Run cargo fmt
      
      * Revert "Add a warning for use_native"
      
      This reverts commit 9494f765a06037e991dd60524f2ed1b14649bfd6.
      394c2817
  25. Aug 09, 2021
    • Marek Kotewicz's avatar
      DatabaseSource::Auto (#9500) · a2f75241
      Marek Kotewicz authored
      * implement "auto" database backend in client/db, in progress, #9201
      
      * move fn supports_ref_counting from DatabaseSource enum to Database trait to make it work correctly for all types of dbs
      
      * update kvdb_rocksdb to 0.13 and use it's new config feature  to properly auto start existing database
      
      * tests for auto database reopening
      
      * introduce OpenDbError to cleanup opening database error handling and handle case when database is not enabled at the compile time
      
      * cargo fmt strings again
      
      * cargo fmt strings again
      
      * rename DataSettingsSrc to fix test compilation
      
      * fix the call to the new kvdb-rocksdb interdace in tests to fix compilation
      
      * simplify OpenDbError and make it compile even when paritydb and rocksdb are disabled
      
      * cargo fmt
      
      * fix compilation without flag with-parity-db
      
      * fix unused var compilation warning
      
      * support different paths for rocksdb and paritydb in DatabaseSouce::Auto
      
      * support "auto" database option in substrate cli
      
      * enable Lz4 compression for some of the parity-db colums as per review suggestion
      
      * applied review suggestions
      a2f75241
    • Bastian Köcher's avatar
      Clarify how `ApiId` is being generated (#9519) · 4503a722
      Bastian Köcher authored
      * Clarify how `ApiId` is being generated
      
      * Clarify more
      4503a722