1. Jul 29, 2020
    • Alexander Theißen's avatar
      seal: Add benchmarks for dispatchables (#6715) · a2163420
      Alexander Theißen authored
      * seal: Fix syntax that confuses rust-analyzer
      
      * seal: Add benchmarks for Dispatchables
      
      These are only the benchmarks for the dispatchables of
      the pallet. Those are not listed in the Schedule because
      we do not want to pull the Schedule from storage before
      dispatching.
      
      This OK because those costs are not related to actual contract
      execution. Those costs (instruction costs, ext_* costs) will
      be benchmarked seperatly and entered into the default Schedule.
      
      * seal: Add a maximum code size
      
      * Fix comments from review
      
      * Removed SEED constant
      a2163420
  2. Jul 28, 2020
  3. Jul 27, 2020
  4. Jul 26, 2020
  5. Jul 24, 2020
  6. Jul 23, 2020
  7. Jul 22, 2020
    • Pierre Krieger's avatar
      e8ce5a23
    • Wei Tang's avatar
      Better handling of stable-only build (#6569) · ac8de557
      Wei Tang authored
      
      
      * Better handling of stable-only build
      
      * Fix node template build
      
      * Fix wasm builder node-template version mismatch
      
      * Fix load_spec error
      
      * Add , in parameter
      
      * Add descrptive panic messages in tests
      
      * Add descriptive tests in node/executor benches
      
      * Fix missing compact_code_unwrap
      
      * Add missing wasm_binary_unwrap function for executor integration test
      
      * Only define import_sp_io in no_std
      
      * Small Cargo.toml styling fix
      
      * Bump wasm-builder to 2.0.0
      
      * Fix all `with_wasm_builder_from_crates` version in Substrate
      
      * Use `with_wasm_builder_from_crates` for node-template
      
      Co-authored-by: default avatarGavin Wood <[email protected]>
      ac8de557
    • Ashley's avatar
      Remove the service builder (#6557) · ffa2177d
      Ashley authored
      
      
      * :)
      
      * Slight tidy
      
      * Remove ServiceBuilderCommand
      
      * Remove whitespace
      
      * Keep task manager alive for check_block/import_blocks
      
      * Pass task_manager to run_until_exit
      
      * WIP
      
      * WIP
      
      * Get rid of the macros
      
      * Simplify a few chain components creation APIs related to the service
      
      * Fix basic-authorship doc tests
      
      * Remove DefaultQueue
      
      * Update client/service/src/builder.rs
      
      Co-authored-by: default avatarAndré Silva <[email protected]>
      
      * Move ExecutionExtensions comment around
      
      * Remove unused BlakeTwo256
      
      * Add sc-prelude
      
      * Rename sc-prelude to sc-service-prelude
      
      * Rename to sc-service-types
      
      * Improve service types
      
      * Fix line widths
      
      * Remove sc-service-types and move type definitions to crates
      
      * Update bin/node-template/node/src/service.rs
      
      Co-authored-by: default avatarSeun Lanlege <[email protected]>
      
      * Add TLightClientWithHash
      
      * Rework types
      
      Co-authored-by: default avatarAndré Silva <[email protected]>
      Co-authored-by: default avatarSeun Lanlege <[email protected]>
      ffa2177d
    • Nikolay Volf's avatar
      Update wasmtime to (almost) lastest master (#6662) · 85a9af64
      Nikolay Volf authored
      * update wasmtime to (almost) lastest master
      
      * bump lock
      
      * bump once more
      85a9af64
    • Benjamin Kampmann's avatar
      Update to latest sysinfo prevents leaking fd-handlers (#6708) · 7c161ec1
      Benjamin Kampmann authored
      * Ensure we close old file handles hold by sysinfo
      
      * Dropping is needed unfortunately
      
      * enable process refreshing, ignore result from refresh_process
      
      * jumping to proposed patch
      
      * switch to latest sysinfo
      7c161ec1
    • mattrutherford's avatar
      Tracing values (#6679) · c4dd0791
      mattrutherford authored
      
      
      * Switch to serde_json::Value for Visitor values
      
      * add tests
      
      * switch Visitor to use Map
      
      * refactor change names
      
      * \n
      
      * update integration test
      
      * use discrete maps for each type of recorded value
      
      * update integration test
      
      * add docs
      
      * Update client/tracing/src/lib.rs
      
      Co-authored-by: default avatarKian Paimani <[email protected]>
      
      * add docs
      
      Co-authored-by: default avatarMatt Rutherford <[email protected]>
      Co-authored-by: default avatarKian Paimani <[email protected]>
      c4dd0791
    • ddorgan's avatar
      Reset flaming fir network (#6703) · 0feac04f
      ddorgan authored
      0feac04f
    • Cecile Tonglet's avatar
      Graceful shutdown for the task manager (#6654) · de318107
      Cecile Tonglet authored
      * Initial commit
      
      Forked at: 74655ede
      Parent branch: origin/master
      
      * Move task_manager.rs to mod.rs
      
      * Graceful shutdown for the task manager
      
      * Await all background task JoinHandle at the same time
      
      * Add tests
      
      * Make future() wait also for exit signal + fix essential task failed
      
      Probably related to https://github.com/paritytech/cumulus/issues/111
      
      
      
      * add comments for non-obvious code
      
      * Use clean_shutdown() in sc-cli
      
      * Adapt code and upgrade tokio in sc-cli
      
      * cleanup spacing in doc
      
      * Add license
      
      * I guess actually running the clean shutdown would be a good idea
      
      * fix tests
      
      * Update client/cli/src/runner.rs
      
      Co-authored-by: default avatarBenjamin Kampmann <[email protected]>
      
      * Improve error logging
      
      * disable other tests (can't reproduce on my machine)
      
      * Revert "disable other tests (can't reproduce on my machine)"
      
      This reverts commit c133c590f33c253123ba0555ce719a71ededd60d.
      
      * It is possible that the tasks are ended first
      
      * Revert "It is possible that the tasks are ended first"
      
      This reverts commit 502aba4a49fb5d892e704c412b8a81768a3f2c71.
      
      * Use single threaded scheduler for more predictability
      
      * enable_time
      
      * Revert "enable_time"
      
      This reverts commit 4e152140764a4bddeedff06a4e36ec701909e8c7.
      
      * Revert "Use single threaded scheduler for more predictability"
      
      This reverts commit ee5e13c5f13ff71e012dcda13579dffeb15f8ffc.
      
      * Revert "Revert "It is possible that the tasks are ended first""
      
      This reverts commit 1b91a8ca3eebbdc18be199c8ca188e88669ae649.
      
      * This cannot be verified either with a threaded pool
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      Co-authored-by: default avatarBenjamin Kampmann <[email protected]>
      Co-authored-by: default avatarBenjamin Kampmann <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      de318107
  8. Jul 21, 2020