1. Jun 19, 2020
    • Bastian Köcher's avatar
      Track last blocks in informant display (#6429) · 97583766
      Bastian Köcher authored
      This implements tracking of the last seen blocks in informant display
      to prevent printing the import message twice. In Cumulus we first import
      blocks as part of the block building with `new_best == false` and set
      the best block after we know which one was included by the relay chain.
      This leads to printing the import messages two times. This pr solves the
      problem by track the latest seen blocks to not print the message twice.
      97583766
    • Bastian Köcher's avatar
      Print bad mandatory error (#6416) · 3ca1d91f
      Bastian Köcher authored
      
      
      * Print bad mandatory error
      
      This prints the error that leads to bad mandatory.
      
      * Update frame/system/src/lib.rs
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      
      * Adds missing trait import
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      3ca1d91f
    • s3krit's avatar
      [CI] Label PRs if polkadot companion build fails (#6410) · 31af2034
      s3krit authored
      * add polkadot-companion-labels.yml
      
      * fix polkadot companion job name
      
      * add opened event to polkadot-companion-labels.yml
      
      * Dont label on timeouts
      
      * increase timeouts
      
      * increase timeouts again... to be sure
      
      * Switch to s3krit/await-status-action
      
      Turns out Sibz/await-status-action looks at /ref/statuses, which lists ALL statuses (i.e., if you send a pending and a failure for the same context, it will see both and assume the job is still pending.). I forked and point at /ref/status, which shows a combined summary of each status (i.e., only ever shows the most recent status of a single context).
      31af2034
    • Max Inden's avatar
      .maintain/monitoring: Add alerting rule tests (#6343) · 31c3e06d
      Max Inden authored
      * .maintain/monitoring: Add alerting rule tests
      
      * .maintain/monitoring/alerting-rules/alerting-rules.yaml: Break lines
      
      * .gitlab-ci.yml: Add promtool rule testing step
      31c3e06d
    • Shawn Tabrizi's avatar
      Expose constants from Proxy Pallet (#6420) · 369f9fc2
      Shawn Tabrizi authored
      369f9fc2
    • Gavin Wood's avatar
      Scale and increase validator count (#6417) · 4f0b6016
      Gavin Wood authored
      4f0b6016
  2. Jun 18, 2020
    • Pierre Krieger's avatar
      7a4bd762
    • Toralf Wittner's avatar
      Update `libp2p-ping`. (#6412) · caf9fbe0
      Toralf Wittner authored
      Bugfix release, see [CHANGELOG].
      
      [CHANGELOG]: https://github.com/libp2p/rust-libp2p/blob/master/protocols/ping/CHANGELOG.md
      caf9fbe0
    • Rakan Alhneiti's avatar
      Babe VRF Signing in keystore (#6225) · 9b08492e
      Rakan Alhneiti authored
      * Introduce trait
      
      * Implement VRFSigner in keystore
      
      * Use vrf_sign from keystore
      
      * Convert output to VRFInOut
      
      * Simplify conversion
      
      * vrf_sign secondary slot using keystore
      
      * Fix RPC call to claim_slot
      
      * Use Public instead of Pair
      
      * Check primary threshold in signer
      
      * Fix interface to return error
      
      * Move vrf_sign to BareCryptoStore
      
      * Fix authorship_works test
      
      * Fix BABE logic leaks
      
      * Acquire a read lock once
      
      * Also fix RPC acquiring the read lock once
      
      * Implement a generic way to construct VRF Transcript
      
      * Use make_transcript_data to call sr25519_vrf_sign
      
      * Make sure VRFTranscriptData is serializable
      
      * Cleanup
      
      * Move VRF to it's own module
      
      * Implement & test VRF signing in testing module
      
      * Remove leftover
      
      * Fix feature requirements
      
      * Revert removing vec macro
      
      * Drop keystore pointer to prevent deadlock
      
      * Nitpicks
      
      * Add test to make sure make_transcript works
      
      * Fix mismatch in VRF transcript
      
      * Add a test to verify transcripts match in babe
      
      * Return VRFOutput and VRFProof from keystore
      9b08492e
    • Benjamin Kampmann's avatar
      cb833913
    • Pierre Krieger's avatar
      44978b9b
    • ddorgan's avatar
      Update s3 artifact url (#6399) · 94023340
      ddorgan authored
      94023340
    • Arkadiy Paronyan's avatar
      Revert "Block packet size limit" · 0bb3001a
      Arkadiy Paronyan authored
      This reverts commit 9a5892e1.
      0bb3001a
    • Arkadiy Paronyan's avatar
      Block packet size limit · 9a5892e1
      Arkadiy Paronyan authored
      9a5892e1
    • mattrutherford's avatar
      Runtime interface to add support for tracing from wasm (#6381) · 81ba3e28
      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 <[email protected]>
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * 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 <[email protected]>
      
      * performance improvement
      
      * Revert "performance improvement"
      
      This reverts commit cff0aa26
      
      .
      
      * small refactor
      
      * formatting
      
      * bump impl_version
      
      * Update client/cli/src/config.rs
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * 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 <[email protected]>
      
      * 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 <[email protected]>
      Co-authored-by: default avatarKian Paimani <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      Co-authored-by: default avatarCecile Tonglet <[email protected]>
      81ba3e28
    • Wei Tang's avatar
      Pallet: Atomic Swap (#6349) · bd72cb62
      Wei Tang authored
      
      
      * Init atomic swap pallet
      
      * Implement module swap operations
      
      * Add successful swap test
      
      * Bump node spec_version
      
      * Fix storage name
      
      * Add ProofLimit parameter to prevent proof size being too large
      
      * Add missing events
      
      * Basic weight support
      
      * Add basic docs
      
      * Mark swap on claim
      
      This handles the additional case if `repatriate_reserved` fails.
      
      * Add additional expire handler
      
      * Update frame/atomic-swap/src/lib.rs
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      
      * Add docs on ProofLimit
      
      * Fix test
      
      * Return Ok(()) even when the transfer fails
      
      Because we need to mark the swap as claimed no matter what.
      
      * Remove retry logic
      
      It's overkill. Swap is about something being executed, not necessarily successful.
      Although there should be logic (reserve and unreserve) to make it so that both parties *believes*
      that the execution is successful.
      
      * succeed -> succeeded
      
      * Add docs on duration -- revealer should use duration shorter than counterparty
      
      * Missing trait type
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      bd72cb62
    • Arkadiy Paronyan's avatar
      Allow empty values in the storage (#6364) · b02101e9
      Arkadiy Paronyan authored
      * Allow empty values in the storage
      
      * Bump trie-bench
      
      * Bump trie-bench
      b02101e9
    • Shaopeng Wang's avatar
      f8afa520
    • Bastian Köcher's avatar
      `decl_module!` print better error on duplicate reserved keyword (#6384) · d6d688c4
      Bastian Köcher authored
      * `decl_module!` print better error on duplicate reserved keyword
      
      This prints a better error message on duplicated reserved keywords,
      instead of complaining because of missing `origin`.
      
      * Review feedback
      d6d688c4
    • Pierre Krieger's avatar
      a2653e87
    • Gavin Wood's avatar
      Restrict remove_proxies (#6383) · 8e1f7531
      Gavin Wood authored
      8e1f7531
  3. Jun 17, 2020
  4. Jun 16, 2020
  5. Jun 15, 2020