Skip to content
Snippets Groups Projects
  1. Nov 11, 2021
  2. Nov 04, 2021
  3. Oct 29, 2021
  4. Oct 21, 2021
    • Koute's avatar
      Speed up logging once again (#9981) · 3d5f093d
      Koute authored
      * Update `tracing`-related dependencies
      
      * Enable `parking_lot` feature in `tracing-subscriber`
      
      * Add an asynchronous stderr logger
      
      * Make clippy happy
      
      * Add an integration test for the logger
      
      * Refactor `test_logger_filters`'s subprocess machinery into a separate function
      
      * Use a child process instead of hooking into stderr for the test
      
      * Add a doc comment for `MakeStderrWriter`
      
      * Move the initialization into the `MakeStderrWriter`'s constructor
      
      * Add an extra test case to trigger the logger's emergency flush mechanism
      
      * Use the buffer's mutex for asynchronous flushes
      
      * Remove vestigial `nix` dependency from one of the previous commits
      3d5f093d
  5. Oct 13, 2021
  6. Oct 08, 2021
  7. Oct 07, 2021
  8. Oct 05, 2021
  9. Sep 01, 2021
  10. Aug 13, 2021
    • Squirrel's avatar
      depend-o-pocalipse (#9450) · 7e9b8d27
      Squirrel authored
      Remove unneeded dependencies and dev-dependencies.
      Made self_destruct test not dependent on wasm bin size.  
      Updated code related to deprecated warning on tracing-subscriber `scope()` 
      ( See https://github.com/tokio-rs/tracing/issues/1429 )
      7e9b8d27
  11. Jul 13, 2021
  12. Jul 11, 2021
    • Benjamin Kampmann's avatar
      Attempting to fix publishing (#9140) · c78c2892
      Benjamin Kampmann authored
      
      * mark template and utils as non-publish
      
      * switch to development version for testing
      
      * activate unleash check
      
      * maybe if I disable all rules...
      
      * Fix isolated compilation of `max-encoded-len-derive` with `syn`
      
      error[E0369]: binary operation `==` cannot be applied to type `syn::Path`
        --> src/lib.rs:88:29
         |
      88 |             .filter(|attr| attr.path == parse_quote!(max_encoded_len_crate))
         |                            --------- ^^ ----------------------------------- _
         |                            |
         |                            syn::Path
      
      error: aborting due to previous error
      
      For more information about this error, try `rustc --explain E0369`.
      Error: could not compile `max-encoded-len-derive`
      
      * WIP: bump changes crates since v3 tag to next breaking
      
      cargo unleash version bump-breaking --changed-since v3.0.0
      cargo unleash version set-pre dev --changed-since v3.0.0
      
      FIXME: Don't modify crates that are not yet released, e.g.
      `max-encoded-len-derive`
      
      * Update lockfile
      
      * WIP: Bump sp-transaction-pool as well
      
      * WIP: Bump sp-offchain as well
      
      * WIP: Bump frame-system-rpc-runtime-api as well
      
      * WIP: Bump sp-authority-discovery as well
      
      * Manually deactivate dev-deps before `cargo unleash check`
      
      Otherwise we run into `Cycle detected` error.
      
      * Bump sp-consensus-slots
      
      * Add missing Cargo.lock change
      
      * Bump sp-consensus-vrf as well
      
      * Bump sp-keyring as well
      
      * Bump sp-consensus-pow as well
      
      * Try to speed up the `unleash-check` job
      
      Previously, the job took 106 minutes - let's see if explicitly
      specifying a `CARGO_TARGET_DIR` will help
      
      * fixup: Ensure the temp target dir exists for unleash check
      
      * Bump pallet-transaction-payment-rpc-runtime-api as well
      
      Needed for Polkadot
      
      * Bump pallet-transaction-payment-rpc as well
      
      Needed for Polkadot
      
      * Try updating crates after patching in the Polkadot CI job
      
      * Use another approach to update patched Substrate crates
      
      * Try to update all sp-core versions in Polkadot CI job
      
      * Simplify sp-core version checking
      
      * Apply another shellcheck lint
      
      * Just do the simplest thing I guess
      
      * Welp don't do --offline then
      
      * Clean up `unleash-check` job triggers
      
      Co-authored-by: default avatarDenis Pisarev <denis.pisarev@parity.io>
      
      * Fix a note in unleash-check cache step
      
      * Add a note about temporary optimization in cargo-unleash
      
      * Pin a newer version of cargo-unleash
      
      Co-authored-by: default avatarIgor Matuszewski <xanewok@gmail.com>
      Co-authored-by: default avatarDenis Pisarev <denis.pisarev@parity.io>
      c78c2892
  13. Jun 10, 2021
  14. May 05, 2021
    • mattrutherford's avatar
      RPC to trace execution of specified block (#7780) · 6e8957b0
      mattrutherford authored
      
      * Add filter reload handle
      
      * add RPC, move logging module from cli to tracing
      
      * remove dup fn
      
      * working example
      
      * Update client/rpc-api/src/system/mod.rs
      
      Co-authored-by: default avatarPierre Krieger <pierre.krieger1708@gmail.com>
      
      * Prefer "set" to "reload"
      
      * Re-enable the commented out features of the logger
      
      * Remove duplicate code
      
      * cleanup
      
      * unneeded lvar
      
      * Bump to latest patch release
      
      * Add new CLI option to disable log filter reloading,
      
      Move profiling CLI options to SharedParams
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      
      * Applied suggestions from reviews
      
      * Fix calls to init_logger()
      
      * Handle errors when parsing logging directives
      
      * Deny `system_setLogFilter` RPC by default
      
      * One more time
      
      * Don't ignore parse errors for log directives set via CLI or RPC
      
      * Improve docs
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      
      * Update client/cli/src/config.rs
      
      Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      
      * fix merge errors
      
      * include default directives with system_setLogFilter RPC,
      
      implement system_rawSetLogFilter RPC to exclude defaults
      
      * docs etc...
      
      * update test
      
      * refactor: rename fn
      
      * Add a test for system_set_log_filter – NOTE: the code should likely change to return an error when bad directives are passed
      
      * Update client/cli/src/lib.rs
      
      Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      
      * Address review grumbles
      
      * Add doc note on panicking behaviour
      
      * print all invalid directives before panic
      
      * change RPCs to: addLogFilter and resetLogFilter
      
      * make CLI log directives default
      
      * add comments
      
      * restore previous behaviour to panic when hard-coded directives are invalid
      
      * change/refactor directive parsing
      
      * fix line width
      
      * add test for log filter reloading
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      
      * finish up suggestions from code review
      
      * improve test
      
      * change expect message
      
      * change fn name
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      
      * add docs, remove unused fn
      
      * propagate Err on invalid log directive
      
      * Update tracing-subscriber version
      
      * Improve docs for `disable_log_reloading` CLI param
      
      * WIP implementation: RPC and trace capturing
      
      * WIP
      
      * fix incorrect number of digest items
      
      * return errors
      
      * add From impl for Values, rename structs
      
      * fixes
      
      * implement option to choose targets for traces
      
      * rename fn
      
      * fix EnvFilter and add root span
      
      * fix root span
      
      * add docs, remove unnecessary traits
      
      * fix regression on parent_id introduced in a9c73113
      
      
      
      * fix line width
      
      * remove unused
      
      * include block hash, parent hash & targets in response
      
      * move types from sp-tracing into sp-rpc
      
      move block and parent hash into root of BlockTrace
      
      * switch from log::trace to tracing::trace in state-machine
      
      * use unsigned integer type to represent Ext::id in traces
      
      * ensure id is unique by implementing Subscriber
      
      tracing_subscriber::FmtSubscriber does not guarantee
      unique ids
      
      * indentation
      
      * fix typo
      
      * update types
      
      * add sp_io::storage events
      
      * Change response format
      
      - update types
      - record distinct timestamps
      - sort spans by first entered
      
      * convert to HexDisplay, refactor
      
      * Sort out fallout from merge
      
      * Update client/rpc-api/src/state/mod.rs
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      
      * Exit early unless the node runs with --rpc-methods=Unsafe
      
      * Better error handling
      
      * Use wasm-timer
      
      * revert trace alteration in `state-machine` and remove events in `sp_io::storage`
      
      Resolve in follow-up PR
      
      * Review feedback: less collects
      
      * Without Arcs
      
      * Fix span exit
      
      * typo
      
      * cleanup
      
      * Add a few debug messages to tracing module
      
      * Structure traces state-machine/ext; Dispatchable extrinsics spans not working
      
      * Correctly encode Option storage values
      
      * Remove test field for Put and Get
      
      * Try out some changes to dispatch macro
      
      * Add various log messages in dispatch
      
      * Add span dispatch span to new proc macro
      
      * Remove debug messages in dispatch
      
      * Trivial clean up
      
      * Structure remaining state-machine traces (ChangesRoot*)
      
      * Removed unnesecary tracing targets
      
      * Remove log
      
      * New cargo.lock post merge
      
      * Add logging for wasm_overrides
      
      * remove temp logs
      
      * remove temp logs
      
      * remove unused dep
      
      * remove temp logs
      
      * add logging to wasm_overrides
      
      * add logging to state_tracing
      
      * add logging for spans to substrate (includes timings)
      
      * Skip serializing some event fields; Remove most storage traces
      
      * Bring back all ext.rs traces
      
      * Do not skip bool values in events
      
      * Skip serializing span values
      
      * Serialize span values; remove some trace events in ext
      
      * Remove more trace events
      
      * Delete commented out traces
      
      * Remove all unused traces
      
      * Add event filtering
      
      * Fix typo
      
      * wip - change response types to be more efficient
      
      missing import
      
      type
      
      * Serialize struct fields as camelCase
      
      * Add back in event filtering
      
      * Remove name field from event
      
      * Sort spans by time entered
      
      * Sort spans in ASCending order
      
      * Add storage keys target param to rpc
      
      * Limit payload size; improve hash fields; include storage keys
      
      - cleanup event_key_filter
      - better block hash representation
      - limit payload size
      - cleanup based on andrews comments
      
      * Error when serialized payload is to big
      
      * Import MAX_PAYLOAD from rpc-servers
      
      * Clean up ext.rs
      
      * Misc. cleaning and comments
      
      * Strict ordering span Id; no span sort; adjust for rpc base payload
      
      * Add RPC docs to rpc-api/src/state/mod
      
      * Make params bullet points
      
      * Update primitives/rpc/src/tracing.rs
      
      * Put all tracing logic within trace
      
      * Remove attr.record in new_span
      
      * Add back value record in new_span
      
      * restore result collection in ext
      
      * Revert "Add back value record in new_span"
      
      This reverts commit baf1a735f23e5eef1bf6264adfabb788910fa661.
      
      * :face_palm:
      
      * more :face_palm:
      
      
      
      * Update docs; Try fix line width issues
      
      * Improve docs
      
      * Improve docs
      
      * Remove default key filters + add key recs to docs
      
      * Try restore old traces
      
      * Add back doc comment
      
      * Clean up newlines in ext.rs
      
      * More new line remova;
      l
      
      * Use FxHashMap
      
      * Try use EnvFilter directives for event filtering
      
      * Remove directive, filter events by fields
      
      * Use trace metadata correctly
      
      * Try EnvFilter directive with all default targets
      
      * Revert "Try EnvFilter directive with all default targets"
      
      This reverts commit 4cc6ebc721d207c3b846444174f89d45038525ac.
      
      * Clean up clippy warning
      
      * Incorporate Niklas feedback
      
      * Update trace/log macro calls to have better syntx
      
      * Use Ordering::Relaxed
      
      * Improve patch and filter doc comment
      
      * Clean up `BlockSubscriber::new`
      
      * Try optimize `BlockSubscriber::enabled`
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarDavid <dvdplm@gmail.com>
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarDavid <dvdplm@gmail.com>
      
      * Use contains_key
      
      * use heuristic for payload size
      
      * Add error tupe for client::tracing::block
      
      * Minor tweaks
      
      * Make a note about `--features with-tracing`
      
      * Add CURL example to RPC docs
      
      * Link to substrate-archibe wasm
      
      * Trivial doc clean up based on David feedback
      
      * Explicit result type name
      
      * Respect line length
      
      * Use the error
      
      * Don't print timings when spans close
      
      * Fix failing sc-rpc-api
      
      * Update  sp-tracing inner-line doc
      
      * Update client/tracing/src/block/mod.rs
      
      Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      
      * Update client/service/src/client/call_executor.rs
      
      Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      
      * Update client/service/src/client/call_executor.rs
      
      Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      
      * Update client/tracing/src/block/mod.rs
      
      Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      
      * Update client/tracing/src/block/mod.rs
      
      Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      
      * Address some review grumbles
      
      * Update primitives/state-machine/src/ext.rs
      
      Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      
      * Use result_encoded structure fields in ext.rs
      
      * Use value key for ext put
      
      * Add notes about tracing key names matter
      
      Co-authored-by: default avatarMatt <mattrutherford@users.noreply.github.com>
      Co-authored-by: default avatarDavid <dvdplm@gmail.com>
      Co-authored-by: default avatarPierre Krieger <pierre.krieger1708@gmail.com>
      Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      Co-authored-by: default avataremostov <32168567+emostov@users.noreply.github.com>
      6e8957b0
  15. Mar 11, 2021
  16. Feb 10, 2021
  17. Jan 20, 2021
  18. Jan 11, 2021
    • Igor Matuszewski's avatar
      Merge 2.0.1 backport branch into mainline master (#7842) · 028f3d26
      Igor Matuszewski authored
      
      * Backport paritytech/substrate#7381
      
      * Bring back genesis storage build in aura/timestamp
      
      To not change spec version, see
      https://github.com/paritytech/substrate/pull/7686#discussion_r540032743
      
      * Backport paritytech/substrate#7238
      
      * Backport paritytech/substrate#7395
      
      * Bump impl_version
      
      * Fix UI tests and bump trybuild dep
      
      See https://github.com/rust-lang/rust/pull/73996
      
      Backports:
      https://github.com/paritytech/substrate/pull/7764
      https://github.com/paritytech/substrate/pull/7656
      
      * Partially backport paritytech/substrate#7838
      
      * Release frame-support with a dep compilation fix
      
      * Bump patch level for remaining crates
      
      This is done because at the time of writing cargo-unleash does not fully
      support partial workspace publishing and mixes both local and crates.io
      versions of the packages, leading to errors in the release check workflow.
      
      * Backport paritytech/substrate#7854
      
      ...to fix compilation error when using futures-* v0.3.9.
      
      * Adding Changelog  entry for patch release
      
      Co-authored-by: default avatarBastian Köcher <git@kchr.de>
      Co-authored-by: default avatarBenjamin Kampmann <ben@parity.io>
      028f3d26
  19. Jan 06, 2021
    • ordian's avatar
      upgrade a few dependencies (#7831) · 2b48e09b
      ordian authored
      * upgrade a few dependencies
      
      * make it compile at the expense of duplicate deps
      
      * fix web-wasm and a warning
      
      * introduce activate-wasm-bindgen-features crate
      
      * Revert "introduce activate-wasm-bindgen-features crate"
      
      This reverts commit 5a6e41e683f8a4844c0a735dcd08caabb2313f11.
      
      * add getrandom feature to sc-consensus-aura
      2b48e09b
  20. Dec 03, 2020
  21. Nov 24, 2020
  22. Oct 08, 2020
    • Bastian Köcher's avatar
      Fixes logging of target names with dashes (#7281) · db8a0caf
      Bastian Köcher authored
      * Fixes logging of target names with dashes
      
      There was a bug in tracing-core which resulted in not supporting dashes
      in target names. This was fixed upstream. Besides that a test was added
      to ensure that we don't break this again.
      
      * Extend test
      db8a0caf
  23. Sep 22, 2020
    • Benjamin Kampmann's avatar
      Releasing 2.0 – two dot :open_mouth: (#7182) · ecdc9442
      Benjamin Kampmann authored
      Tagging the release of substrate 2.0
      
      
      [ci: skip-checks]
      ecdc9442
    • Steve Degosserie's avatar
      Update READMEs, fix links (#7176) · 22632efc
      Steve Degosserie authored
      * Re-generate READMEs to fix doc links; set readme field in package manifests
      
      * Re-generate READMEs to fix doc links; set readme field in package manifests
      
      * Re-generate READMEs to fix doc links; set readme field in package manifests
      
      * Re-generate READMEs to fix doc links; set readme field in package manifests
      
      * Revert stuff that shouldn't have been committed
      
      * Revert stuff that shouldn't have been committed
      
      * Fix parent relative link generation
      
      * Manually remove this incorrect link for now.
      22632efc
  24. Sep 18, 2020
    • Benjamin Kampmann's avatar
      Tracing for wasm with bridging to native (#6916) · a9c73113
      Benjamin Kampmann authored
      
      * implement events handling, implement parent_id for spans & events
      
      * add events to sp_io::storage
      
      * update test
      
      * add tests
      
      * adjust limit
      
      * let tracing crate handle parent_ids
      
      * re-enable current-id tracking
      
      * add test for threads with CurrentSpan
      
      * fix log level
      
      * remove redundant check for non wasm traces
      
      * remove duplicate definition in test
      
      * Adding conditional events API
      
      * prefer explicit parent_id over current,
      
      enhance test
      
      * limit changes to client::tracing event implementation
      
      * remove From impl due to fallback required on parent_id
      
      * make tracing codecable
      
      * replace with global tracing
      
      * new tracing interface
      
      * impl TracingSubscriber in client
      
      * implement access to global TracingSubscriber from primitives
      
      * span for wasm
      
      * increment towards Wasm Tracing Subscriber implementation
      
      * increment, remove sp-tracing from runtime-interface
      
      * increment, it compiles
      
      * attained original functionality with new mechanism
      
      * implement remaining TracingSubscriber functions
      
      * remove spans from decl_module
      
      * add handling for encoded values
      
      * Revert "replace with global tracing"
      
      This reverts commit 8824a60deea54d9b437407a21c8ceaf6a1902ee5.
      
      * Wasm Side Tracing
      
      * tracing on wasm
      
      * enable tracing wasm on node-runtime
      
      * export all the macros in std
      
      * tracing subscriber on wasm-side only
      
      * pass spans and events over and record them
      
      * reactivate previous code and  cleanup
      
      * further cleaning up
      
      * extend the span macros, activate through executive
      
      * tracking the actual extrinsic, too
      
      * style
      
      * fixing tests
      
      * spaces -> tabs
      
      * attempting to reactivate params
      
      * activate our tests in CI
      
      * some passing
      
      * tests passing
      
      * with core lazy
      
      * global tracer for wasm side with pass over
      
      * fixing metadata referencing
      
      * remove const_fn feature requirement
      
      * reenable dispatch traces
      
      * reset client tracing
      
      * further cleaning up
      
      * fixing runtime-test
      
      * move tracing-build setup into runtime-test
      
      * Merge DebugWriter from tracing and frame-support, move to sp-std
      
      * remove dangling fixme
      
      * Docs for tracing primitives
      
      * cleaning up a bit more
      
      * Wasm interface docs
      
      * optimise docs.rs setup
      
      * adding tracing flags to uncomment
      
      * remove brace
      
      * fixing imports
      
      * fixing broken syntax
      
      * add required modules
      
      * nicer formatting
      
      * better target management
      
      * adding low level storage tracing events into frame
      
      * add custom Debug impl for WasmMetadata
      
      * cloning profiler
      
      * adding info about cloning profiler
      
      * using in-scope for within calls
      
      * proper time tracing, cleaning up println
      
      * allow to disable tracing on runtime_interface-macro
      
      * disable tracing for wasm-tracing-interface
      
      * simplify wasm-tracing-api
      
      * update client to new interface
      
      * fixing docs and tests for sp-tracing
      
      * update integration tests
      
      * re-activating enter_span
      
      * dropping FIXME, it's documented
      
      * fix formatting
      
      * fix formatting
      
      * fix imports
      
      * more debug info
      
      * inform wasm about it being disabled by returning 1
      
      * only one tracer, but enabled multi-all support
      
      * make trait pub again for tests
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarNiklas Adolfsson <niklasadolfsson1@gmail.com>
      
      * fixing wasm doc tests for proper usage
      
      * remove unnecessary import
      
      * fixing formatting
      
      * minor style fixes
      
      * downgrading wabt
      
      * update error message for UI
      
      * Fix interface test
      
      * next attempt to fix macros
      
      * geee
      
      * revert tracing on hashed for future PR
      
      * remove local macros, use originals
      
      * we are able to convert to static items
      
      * implement more WasmValue types
      
      * adding support to convert str, debug and encoded values
      
      * more minor fixes
      
      * revert unsafe 'static making
      
      * fix indentation
      
      * remove commented lines
      
      * bump all them tracing versions
      
      * cleaning up docs and info
      
      * document new flag
      
      * the new layered system handles span cloning better
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarDavid <dvdplm@gmail.com>
      
      Co-authored-by: default avatarMatt Rutherford <mattrutherford@users.noreply.github.com>
      Co-authored-by: default avatarNiklas Adolfsson <niklasadolfsson1@gmail.com>
      Co-authored-by: default avatarDavid <dvdplm@gmail.com>
      a9c73113
  25. Sep 17, 2020
    • Wei Tang's avatar
      Use tracing-based subscriber logging (#6825) · 9fdd4672
      Wei Tang authored
      
      * init_logger: switch from log-based to tracing-based and add compatibility layer
      
      * Move tracing profiling subscriber related config realization
      
      * sp-tracing: change profiling to be a layer instead of a subscriber
      
      * Enable profiling layer in cli
      
      * Change all test env_logger init to sp_tracing::try_init_simple
      
      * Remove all local env_logger dependency
      
      * Add missing tracing-subscriber dependency
      
      * frame-sudo: fix tests
      
      * frame-support: fix tests
      
      * Fix frame/pallet and executor tests
      
      * Fix the remaining tests
      
      * Use subscriber's try_init as recommended by @davidbarsky
      
      * Be explict that the tracing-log feature is needed
      
      * Set subscriber writer to stderr
      
      * Shorter line width
      
      * Update cargo lock tracing version
      
      * Fix sc_tracing crate compile
      
      * Fix sc_authority_discovery crate test
      
      * unremove default-features
      
      * Leave enabled to default true
      
      * Warn if global default cannot be set
      
      * Fix unused import
      
      * Remove unused PROXY_TARGET
      
      * Change all reference from rc5 to rc6
      
      * Change all reference of rc2 to rc6
      
      * Fix styling
      
      * Fix typo
      
      * make logger init error'ing
      
      * re-fixing the test issue
      
      Co-authored-by: default avatarBenjamin Kampmann <ben@parity.io>
      9fdd4672
  26. Aug 20, 2020
    • Benjamin Kampmann's avatar
      prepping for releasing rc6 (#6922) · 2416aa79
      Benjamin Kampmann authored
      * Bump version
      
      * update test-utils crates to be ready for publishing
      
      * adding changelog
      
      * Adding automaticly generated READMEs
      
      * fixing versions
      
      * another version mishap
      2416aa79
  27. Aug 12, 2020
  28. Jul 21, 2020
    • Benjamin Kampmann's avatar
      Fixup `cargo unleash` (#6689) · 629a801b
      Benjamin Kampmann authored
      * Bumping to rc5
      
      * Revert "Bumping to rc5"
      
      This reverts commit 5a63a8230e5a12db1b4ce4ac62e4967c52291da7.
      
      * Bumping for rc5, correctly this time
      629a801b
  29. Jun 25, 2020
  30. Jun 18, 2020
    • mattrutherford's avatar
      Runtime interface to add support for tracing from wasm (#6381) · 74a989f3
      mattrutherford authored
      
      * Add span recording to tracing implementation
      
      * Add tracing proxy
      
      * switch to rustc_hash::FxHashMap
      
      * Replace lazy_static and hashmap with thread_local and vec.
      
      * fix marking valid span as invalid while removing invalid spans
      
      * refactor, add wasm_tracing module in `support`
      
      * update registered spans
      
      * tidy up
      
      * typos
      
      * refactor
      
      * update flag name to signal lost trace - `is_valid_trace`
      
      * update flag name to signal lost trace - `is_valid_trace`
      
      * update docs
      
      * update docs
      
      * Use tracing Field recording to store the actual `name` and `target`
      from wasm traces.
      
      * fix debug log in subscriber + small refactor
      
      * add tests
      
      * handle misuse in case trying to exit span not held
      
      * Implement filter for wasm traces, simplify field recording for primitive types
      
      * remove superfluous warning
      
      * update docs
      
      * Update primitives/tracing/src/proxy.rs
      
      Co-authored-by: default avatarKian Paimani <5588131+kianenigma@users.noreply.github.com>
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      
      * update docs, apply suggestions
      
      * move Proxy from thread_local to `Extension`, rename macro
      
      * fix test
      
      * unify native & wasm span macro calls
      
      * implement wasm tracing control facility in primitives and frame
      
      * add cli flag `--wasm-tracing`
      
      * fix
      
      * switch to `Option<u4>` (possible performance degradation), switch
      to static mut bool
      
      * performance improvement using u64 vs Option<u64>
      
      * performance improvement moving concat to client
      
      * update docs
      
      * Update client/cli/src/params/import_params.rs
      
      Co-authored-by: default avatarCecile Tonglet <cecile@parity.io>
      
      * performance improvement
      
      * Revert "performance improvement"
      
      This reverts commit 55ff8817a86302cd93bb6197eb4ca5bc7f4fb524.
      
      * small refactor
      
      * formatting
      
      * bump impl_version
      
      * Update client/cli/src/config.rs
      
      Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      
      * update docs
      
      * small fixes, remove pub static
      
      * nit
      
      * add integration tests and refactor Subscriber
      
      * tests
      
      * revert formatting
      
      * try fix test that works locally but not in CI
      
      * try fix test that works locally but not in CI
      
      * debug test that works locally but not in CI
      
      * fix test that works locally but not in CI
      
      * remove pub visibility from bool in runtime
      
      * make TracingSpanGuard #[cfg(not(feature = "std"))], update docs, comments
      
      * make TracingProxy drop implementation conditional on !empty state
      
      * add docs for TraceHandler
      
      * remove blank line
      
      * update expect message
      
      * update tests
      
      * rename cli option to tracing_enable_wasm
      
      * rename cli option to tracing_enable_wasm
      
      * fix
      
      * ensure wasm-tracing features are wasm only
      
      * bump impl_version
      
      * bump impl_version
      
      * add `"pallet-scheduler/std"` to `[features]` `std` in node/runtime
      
      * refactor service to remove sp_tracing dependency
      
      * refactor: line width, trait bounds
      
      * improve LogTraceHandler output
      
      * fix test
      
      * improve tracing log output
      
      * Apply suggestions from code review
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      
      * swap wasm indication from trace name to a separate value
      
      * Update client/tracing/src/lib.rs
      
      * add docs
      
      * remove runtime features
      
      remove wasm_tracing option from CLI
      
      remove wasm_tracing flag from ProfilingSubscriber
      
      Co-authored-by: default avatarMatt Rutherford <mattrutherford@users.noreply.github.com>
      Co-authored-by: default avatarKian Paimani <5588131+kianenigma@users.noreply.github.com>
      Co-authored-by: default avatarBastian Köcher <bkchr@users.noreply.github.com>
      Co-authored-by: default avatarCecile Tonglet <cecile@parity.io>
      74a989f3
  31. Jun 08, 2020
  32. May 26, 2020
  33. May 25, 2020
  34. May 16, 2020
  35. May 15, 2020
  36. May 05, 2020