Skip to content
  1. Sep 17, 2020
    • Bruno Škvorc's avatar
      Typo in error text (#7126) · 7aacd969
      Bruno Škvorc authored
      7aacd969
    • 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 <[email protected]>
      9fdd4672
  2. Sep 16, 2020
    • Kian Paimani's avatar
      Move Staking Weights to T::WeightInfo (#7007) · 83bde4c1
      Kian Paimani authored
      
      
      * Fix the benchmarks
      
      * Migrate staking to weightInfo
      
      * Fix global benchmarks
      
      * re-calculate the submit solution weight.
      
      * Fix some refund.
      
      * Get rid of all the extra parameters.
      
      * Fix staking tests.
      
      * new values from the bench machine.
      
      * Fix some grumbles
      
      * better macro
      
      * Some better doc
      
      * Move to interpreted wasm
      
      * Make it work temporarily
      
      * Final fix of default ones.
      
      * Fix payout benchmarks
      
      * Fix payout stuff
      
      * One last fix
      
      * use benchmarking machine for numbers
      
      * update weight docs
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      83bde4c1
  3. Sep 15, 2020
  4. Sep 14, 2020
  5. Sep 13, 2020
  6. Sep 12, 2020
    • Bastian Köcher's avatar
      Fix `storage::read` (#7084) · 9a69be05
      Bastian Köcher authored
      * Fix `storage::read`
      
      It should return the length of the storage item after the given offset.
      Before it returned always the length of the full storage item.
      
      * Fix tests
      9a69be05
  7. Sep 11, 2020
    • cheme's avatar
      state_machine no_std witness externalities (#6934) · 232a30fd
      cheme authored
      
      
      * checkpoint before removing CT from change trie
      
      * before trie backend without tx
      
      * undo
      
      * Started no transaction, but would need using a different root
      calculation method, out of the scope of this pr, will roll back.
      
      * Remove NoTransaction.
      
      * partially address review.
      dummy stats implementation for no_std.
      
      * Remove ChangeTrieOverlay.
      
      * modified function
      
      * Remove witness_ext
      
      * need noops changes root
      
      * update from cumulus branch
      
      * line break
      
      * remove warning
      
      * line break
      
      * From review: renamings and stats active in no std (except time).
      
      * include cache, exclude change trie cache with individual temporary bad looking
      no_std check
      
      * little test
      
      * fuse imports and filter_map prepare_extrinsics_input_inner fold.
      
      * put back ExtInner into Ext, awkward double proto for new function.
      
      * Apply suggestions from code review
      
      * Update primitives/state-machine/Cargo.toml
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      232a30fd
    • thiolliere's avatar
      Make decoding of `compact<perthing>` saturating instead of invalid (#7062) · 45d26e74
      thiolliere authored
      
      
      * make decoding of cmopact<perthing> saturating
      
      * fix stable build
      
      * Update primitives/arithmetic/src/per_things.rs
      
      Co-authored-by: default avatarKian Paimani <[email protected]>
      
      * Update primitives/arithmetic/src/per_things.rs
      
      Co-authored-by: default avatarKian Paimani <[email protected]>
      
      Co-authored-by: default avatarKian Paimani <[email protected]>
      45d26e74
  8. Sep 10, 2020
  9. Sep 08, 2020
  10. Sep 04, 2020
  11. Sep 02, 2020
    • Max Inden's avatar
      frame/authority-discovery: Have authorities() return both current and next (#6788) · 1d10db31
      Max Inden authored
      * frame/authority-discovery: Have authorities() return both current and next
      
      Authority address lookups on the DHT happen periodically (every 10
      mintues) and are rather slow (~10 seconds).
      
      In order to smooth the transition period between two sessions, have the
      runtime module return both the current as well as the next authority
      set. Thereby the client authority module will:
      
      1. Publish its addresses one session in advance.
      
      2. Prefetch the addresses of authorities of the next session in advance.
      
      * frame/authority-discovery: Deduplicate authority ids
      
      * frame/authority-discovery: Don't dedup on_genesis authorities
      
      * frame/authority-discovery: Remove mut and sort on comparison in tests
      
      * frame/authority-discovery: Use BTreeSet for deduplication
      1d10db31
  12. Sep 01, 2020
  13. Aug 31, 2020
  14. Aug 24, 2020
  15. Aug 23, 2020
  16. Aug 22, 2020
  17. Aug 21, 2020
    • Qinxuan Chen's avatar
      Remove duplicated dependencies (#6930) · 8ae16955
      Qinxuan Chen authored
      
      
      Signed-off-by: default avatarkoushiro <[email protected]>
      8ae16955
    • Max Inden's avatar
      *: Update to next libp2p version 0.24.0 (#6891) · 69e349bd
      Max Inden authored
      * *: Update to next libp2p version (likely v0.24.0)
      
      * Revert "*: Update to next libp2p version (likely v0.24.0)"
      
      This reverts commit ffe1545aba6c2557a2843579de331f3fc1c60743.
      
      * */Cargo.toml: Update to libp2p v0.24.0
      
      * client/network/src/service: Handle ConnectionClosed returning Option
      
      * Cargo.*: Test kad usize conversion
      
      * Revert "Cargo.*: Test kad usize conversion"
      
      This reverts commit ad317879782f982cb4a4c76029a72b5b97e82bec.
      
      * Cargo.lock: Update to libp2p-kad v0.22.1
      
      * client/cli/Cargo.toml: Update to libp2p 0.24.0
      69e349bd
  18. 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
    • Web3 Philosopher's avatar
      Merge Subkey into sc-cli (#4954) · 69632724
      Web3 Philosopher authored
      * draft
      
      * revert
      
      * WIP
      
      * all that remains is tests
      
      * update Cargo.lock
      
      * tests WIP
      
      * WIP refactor node-template-runtime and node-runtime
      
      * implments sc_cli::RuntimeAdapter for node_template_runtime::Runtime
      
      * final draft
      
      * fix update_config for subcommands
      
      * proper AccountId decoding
      
      * test-runtime tests
      
      * revert
      
      * move RuntimeAdapter to cli-utils
      
      * use &'static str for TryFrom::<&'a str>::Error for Ss58AddressFormat
      
      * tests
      
      * add frame-system to sc-cli dev-dependencies
      
      * add frame-system to sc-cli dev-dependencies
      
      * fix ui test
      
      * wip
      
      * fixed inspect test
      
      * bump impl version
      
      * bump impl version, fixx spaces remove todos
      
      * pallet-balances-cli, rustc for some reason cannot resolve pallet_balances_cli in node-cli 😩
      
      * wip
      
      * Subcommand::run takes &self
      
      * can't believe i missed that 🤦🏾‍♂️
      
      * bump wasm-bindgen for some reason
      
      * adds key subcommand, rename generate-node-key to generate-node-id
      
      * cargo update and crossed fingers 🤞🏽
      
      
      
      * update ui test
      
      * update more ui tests
      
      * should be all good now
      
      * revert subkey change
      
      * revert subkey change
      
      * adds frame-utilities-cli
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarBenjamin Kampmann <[email protected]>
      
      * removes frame from sc-cli, fix license
      
      * my editor and ci disagrees on line width
      
      * bump spec version
      
      * turn off default features for parity-scale-codec
      
      * enable full_crypto feature for sp-core in cli-utils
      
      * merge frame-utilities-cli with pallet-balances-cli
      
      * remove full_crypto feature from sp_core in cli-utils
      
      * bump Cargo.lock
      
      * cli-utils -> frame-utils
      
      * rename BlockNumber to GenericNumber, fix spaces
      
      * fix spaces
      
      * construct additional_signed manually
      
      * sign test
      
      * remove unused vars
      
      * implement subkey with frame-utilities-cli and sc_cli
      
      * fix moduleid test
      
      * CI and clion disagree on line widths
      
      * adds associated Params type to SignedExtensionProvider
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarBenjamin Kampmann <[email protected]>
      
      * move some code around
      
      * removes unneccesary generic params
      
      * moves module_id back to frame_utilities_cli
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarBenjamin Kampmann <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * remove print_ext
      
      * remove MaybeDisplay from pallet_balances::Trait::Balance
      
      * a lot of stuff tbh
      
      * adds ExtrasParamsBuilder
      
      * remove tests for ModuleIdCmd
      
      * address comments from PR
      
      * bump Cargo.lock
      
      * manually insert key into keystore
      
      * remove unnecessary SharedParams
      
      * add validation to vanity pattern, remove unused arg
      
      * remove SharedParams from Sign, Vanity, Verify
      
      * remove SharedParams from ModuleIdCmd, remove expect from Verify, new line to Cargo.toml
      
      * remove SharedParams from InsertCmd
      
      * 🤦🏾
      
      ‍♂️
      
      * deleted prometheus.yml
      
      * move a few things around
      
      * fix vanity test
      
      Co-authored-by: default avatarBenjamin Kampmann <[email protected]>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      Co-authored-by: default avatarBenjamin Kampmann <[email protected]>
      69632724
  19. Aug 19, 2020
  20. Aug 17, 2020
  21. Aug 14, 2020
    • Roman Borschel's avatar
      Update to libp2p-0.23. (#6870) · 327e0294
      Roman Borschel authored
      * Update to libp2p-0.23.
      
      Thereby incorporate bandwidth measurement along the
      lines previously done by libp2p itself.
      
      * Tweak dependencies for wasm32 compilation.
      
      For wasm32 we need to enable unstable features to
      make `task::Builder::local` available.
      
      * Simplify dependencies.
      
      * Simplify.
      
      Leave the calculation of bytes sent/received per second
      to the outer layers of the code, subject to their own
      individual update intervals.
      
      * Cleanup
      
      * Re-add lost dev dependency.
      
      * Avoid division by zero.
      
      * Remove redundant metric.
      
      * Enable sending of noise legacy handshakes.
      
      * Add comment about monotonic gauge.
      
      * CI
      327e0294
  22. Aug 13, 2020
  23. Aug 12, 2020
  24. Aug 11, 2020
  25. Aug 07, 2020
  26. Aug 03, 2020